-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
defer doesnt work with block, break and await #15243
Labels
Comments
Other example program: import asyncdispatch
proc f() {.async.} =
while true:
try:
await sleepAsync(400)
break
finally:
echo "finally handler"
inc j
when isMainModule:
waitFor f() |
Closed
yglukhov
added a commit
to yglukhov/Nim
that referenced
this issue
Sep 29, 2020
mildred
pushed a commit
to mildred/Nim
that referenced
this issue
Jan 11, 2021
* fixes nim-lang#15243 [backport:1.2]
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Example
Current Output
Expected Output
The text was updated successfully, but these errors were encountered: