makes koch.nim sem'check with --newruntime

This commit is contained in:
Araq 2019-04-06 19:13:10 +02:00
commit 9f5d9d1993
3 changed files with 12 additions and 6 deletions

View file

@ -276,7 +276,7 @@ proc newStringTable*(keyValuePairs: varargs[string],
inc(i, 2)
proc newStringTable*(keyValuePairs: varargs[tuple[key, val: string]],
mode: StringTableMode = modeCaseSensitive): StringTableRef {.
mode: StringTableMode = modeCaseSensitive): owned(StringTableRef) {.
rtlFunc, extern: "nst$1WithTableConstr".} =
## Creates a new string table with given `(key, value)` tuple pairs.
##