Closed basarat closed 9 years ago
/cc @Cu3PO42 perhaps rule ordering is significant?
I'll definitely look into this later today. Seems very weird to me, though.
@basarat I actually can't reproduce this.
Try the "exact" code I posted. The code you posted is very different.
I thought you were referring to the ){
at the end of the function definition for write and just added more tokens to confirm that wasn't broken. Sorry for that misunderstanding.
I can reproduce this now, however this is also broken in the transpired JavaScript as you can see above. I suspect this is a bug in the string definition method calling definition from the JS grammar. I'll investigate a bit and open an issue there if appropriate.
, however this is also broken in the transpired JavaScript as you can see above.
I half expected that :rose: :)
Right, the issue on the JavaScript grammar is still there, but I "manually" fixed it for TS files.
I just fixed this in language-javascript
so it should be out in the next Atom release.
E.g.
Look like: