bugfix: overloading resolution for typeof

This commit is contained in:
Araq 2011-09-27 00:27:51 +02:00
commit da6046dcba
7 changed files with 98 additions and 81 deletions

View file

@ -10,3 +10,10 @@ template toSeq*(iter: expr): expr =
for x in items(toSeq(countup(2, 6))):
stdout.write(x)
import strutils
var y: type("a b c".split)
y = "xzy"