Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Compiling or() in DSL 'when' clause emits bad JS #50
I have a rule expressed in the DSL as follows:
Compiling (w. v0.1.8) the above yields the following JS (relevant excerpt):
...which causes a runtime error.
I'd expect the DSL rule to compile down to something more like:
...which works fine at runtime.
Is my expectation correct?