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

js backend failed to compile try...except new syntax #5986

Closed
jangko opened this issue Jun 15, 2017 · 1 comment
Closed

js backend failed to compile try...except new syntax #5986

jangko opened this issue Jun 15, 2017 · 1 comment

Comments

@jangko
Copy link
Contributor

jangko commented Jun 15, 2017

# ecp.nim
try:
  echo "hello"
except Exception as e:
  echo e.msg

compile with: nim js ecp

error message:

Hint: used config file 'F:\projects\Nim\config\nim.cfg' [Conf]
Hint: system [Processing]
Hint: ecp [Processing]
???(???, 0) Error: system module needs 'getCurrentException'
@dom96
Copy link
Contributor

dom96 commented Jun 17, 2017

huh, does the JS backend not support getCurrentException?

jangko added a commit to jangko/Nim that referenced this issue Jul 17, 2017
@Araq Araq closed this as completed in c245cfc Jul 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants