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

`continue` in an `except Exception as e` block crashes the compiler. #11683

kayabaNerve opened this issue Jul 8, 2019 · 0 comments


Copy link

commented Jul 8, 2019


for i in [0]:
      raise newException(ValueError, "testy test")
  except ValueError as e:

Current Output

Error: internal error: expr(nkContinueStmt); unknown node kind
No stack traceback available
To create a stacktrace, rerun compilation with ./koch temp cpp <file>

Expected Output

Additional Information

This occurs on the latest devel and the Nim Playground.

@mratsim mratsim added the Crash label Jul 8, 2019

@Araq Araq closed this in b03421d Jul 10, 2019

narimiran added a commit that referenced this issue Jul 15, 2019

fixes #11683
(cherry picked from commit b03421d)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.