Skip to content
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

Fixed stacktrace error #4115

Merged
merged 1 commit into from
Apr 26, 2016
Merged

Fixed stacktrace error #4115

merged 1 commit into from
Apr 26, 2016

Conversation

yglukhov
Copy link
Member

Fixes dom96/jester#65
Simpler steps to reproduce:

import locks

{.push stacktrace:on.}

proc someProc*() =
    raise newException(Exception, "")

{.pop.}

proc serve() =
    try:
        echo 1
        someProc()
    except:
        echo 2

    try:
        echo 3
        someProc()
        echo 4
    except:
        echo 5

serve()

This code hangs.

@Araq Araq merged commit e31ec74 into nim-lang:devel Apr 26, 2016
@yglukhov yglukhov deleted the fix-staktrace-error branch April 26, 2016 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants