-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Prevent crash when compile
fails in JIT
#60
base: master
Are you sure you want to change the base?
Conversation
…ent `abort()` for that line.
Doesn't |
Yes, thats why the new commit :P |
Isn't it |
It does continue parsing and does not error recovery from that. E.g., (constructed case) will produce a wall of errors:
|
I think that is an issue for another day, however :D |
Yes, you can pass an option to Anyways, shouldn't the program abort when |
It definitely should not call In some cases (Jupyter Notebooks) On my opinion |
Simple fix to prevent
thorin.opt()
being called when::compile
fails due to simple syntax errors and other issues.This is mandatory for proper safe guards, error recovery and the simple fact that syntax errors are simple to make :D