ncsa / qdl

the QDL programming language
Other
1 stars 0 forks source link

try - catch block needs to handle return better #13

Closed jjg-123 closed 1 year ago

jjg-123 commented 1 year ago

If a return is issued in a try catch block, it just needs to be rethrown in the Java code. No special handling is required.

jjg-123 commented 1 year ago

E.g. this should just spit out 2

    try[return(2);]catch[say(3);]
2