make some tests green

This commit is contained in:
Zahary Karadjov 2014-03-16 18:34:37 +02:00
commit 49b0440c47
13 changed files with 45 additions and 30 deletions

View file

@ -26,7 +26,7 @@ foo 10
foo "test"
foo(@[TObj(x: 10), TObj(x: 20)])
proc intval(x: int) = discard
proc intval(x: int): int = 10
# check real and virtual fields
type
@ -34,8 +34,8 @@ type
T.x
y(T)
intval T.y
let y = intval(T.y)
let z = intval(T.y)
proc y(x: TObj): int = 10
proc testFoo(x: TFoo) = discard