This commit is contained in:
Arne Döring
2018-11-20 13:12:47 +01:00
committed by GitHub
parent d146516008
commit 39ad3a0da6
2 changed files with 11 additions and 2 deletions

View File

@@ -27,3 +27,11 @@ proc bar(b: int):int =
echo foo(0)
echo bar(0)
# bug #9726
proc foo: (proc: int) =
proc bar: int = 1
return bar
discard foo()