Prevent crash when compile fails in JIT#60
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::compilefails 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