fixed some closure related bugs
This commit is contained in:
parent
d0bd5d5cc3
commit
0d978c4a9a
9 changed files with 226 additions and 24 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
discard """
|
||||
output: "collide: unit, thing | collide: unit, thing | collide: thing, unit"
|
||||
output: "collide: unit, thing | collide: unit, thing | collide: thing, unit |"
|
||||
"""
|
||||
# Test multi methods
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue