make tests green again
This commit is contained in:
parent
383147f5cb
commit
795044ed2b
10 changed files with 18 additions and 36 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue