You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This code gives the error "unexpected outdent". If I add whitespace to the beginning of line 2 it says "unexpected indent". If I remove the : the error goes away! This happens in 1.0 and in the website "try coffeescript".
if y then '' +
"': '"
I've also seen the problem with the = sign.
The text was updated successfully, but these errors were encountered:
Looks like a bug to me. I am able to reproduce it here on 1.0.1 (currently the latest master). It's extra odd that it works without the colon. That indicates to me that it's yet another problem with the rewriting of implicit objects. It also looks like you came up with a pretty minimal test case (and the "':'" can optionally be replaced with '":"'). Nice find.
This code gives the error "unexpected outdent". If I add whitespace to the beginning of line 2 it says "unexpected indent". If I remove the : the error goes away! This happens in 1.0 and in the website "try coffeescript".
I've also seen the problem with the = sign.
The text was updated successfully, but these errors were encountered: