make tests green again

This commit is contained in:
Araq 2019-05-27 15:57:20 +02:00 • committed by Andreas Rumpf
commit 795044ed2b
10 changed files with 18 additions and 36 deletions

View file

@ -15,12 +15,10 @@ type
of nkString: strVal: string
var s: TAny
s.kind = nkString
s.strVal = "test"
s = TAny(kind: nkString, strVal: "test")
var nr: TAny
nr.kind = nkint
nr.intVal = 78
s = TAny(kind: nkInt, intVal: 78)
# s = nr # works