fixed some closure related bugs

This commit is contained in:
Araq 2013-01-22 00:29:54 +01:00
commit 0d978c4a9a
9 changed files with 226 additions and 24 deletions

View file

@ -1,6 +1,7 @@
discard """
file: "tdomulttest.nim"
output: "555\ntest\nmulti lines\n99999999\nend"
disabled: true
"""
proc foo(bar, baz: proc (x: int): int) =
echo bar(555)