This commit is contained in:
Zahary Karadjov 2014-02-20 23:33:58 +02:00
commit 1a6d05515f
2 changed files with 8 additions and 6 deletions

View file

@ -31,9 +31,10 @@ proc intval(x: int) = discard
# check real and virtual fields
type
TFoo = generic T
intval T.x
T.x
y(T)
intval T.y
proc y(x: TObj): int = 10
proc testFoo(x: TFoo) = discard