wcjohnson / lightscript

A futuristic fork of the LightScript language.
http://wcjohnson.github.io/lightscript
7 stars 0 forks source link

can't compile nested try catch block in variable assignment #80

Closed plexigras closed 5 years ago

plexigras commented 6 years ago
// works
f(try: a catch: try: b catch: c)

// can't be transpiled
x = try: a catch: try: b catch: c

demo

wcjohnson commented 6 years ago

Going to split this into two issues. These are both bugs; I think I understand what is causing the first one but the second one is a mystery at the moment.