This commit is contained in:
Arne Döring 2018-11-20 13:12:47 +01:00 • committed by GitHub
commit 39ad3a0da6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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()