make tests green

This commit is contained in:
Andreas Rumpf 2018-05-05 11:55:53 +02:00
commit d8fde9daba
6 changed files with 17 additions and 17 deletions

View file

@ -18,7 +18,7 @@ proc works() =
sort(f, system.cmp[int])
outp(f)
proc weird(json_params: TTable) =
proc weird(json_params: Table) =
var f = @[3, 2, 1]
# The following line doesn't compile: type mismatch. Why?
sort(f, system.cmp[int])
@ -29,4 +29,4 @@ when isMainModule:
sort(t, system.cmp[int])
outp(t)
works()
weird(initTable[string, TJsonNode]())
weird(initTable[string, JsonNode]())