b9org / b9

An educational JS virtual machine based on Eclipse OMR
http://www.base9.xyz
Apache License 2.0
45 stars 24 forks source link

Don't crash when a function doesn't compile #101

Closed rwy7 closed 7 years ago

rwy7 commented 7 years ago

Just print an error. Sometimes we throw an exception, sometimes we just return false/null. This will catch the compile exceptions and print an error.

Signed-off-by: Robert Young rwy0717@gmail.com