Closed ssatguru closed 8 years ago
Thank you for this one (good one). There is a lack of support for statements with optional blocks.
Temporary workaround: use blocks.
if (i==1) { console.log("is true"); }
else { console.log("is false"); }
I should be committing a fix very soon though.
It should be fixed with some variations (see https://github.com/cincheo/jsweet/blob/master/src/test/java/source/syntax/StatementsWithNoBlocks.java)
Great, Thanks
following
gives following error during TS compile