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
I've been working with a lot of functional constructs today, and I've now run into the same indentation issue twice. The below example shows the simplest case I've run into. I am not sure where the problem is being caused, and being unfamiliar with the Coffeescript internals, I am unable to reduce the testcase further.
Note the different placement in the JS of profile.images = vs profile.tags =, despite them being in conceptually the same place in the CS source. The former interpretation is as intended (and as it is normally interpreted).
Interpreting the profile.tags = statement one tab further 'solves' the issue in that it results in the correct interpretation, but obviously this is not a good idea :)
I've been working with a lot of functional constructs today, and I've now run into the same indentation issue twice. The below example shows the simplest case I've run into. I am not sure where the problem is being caused, and being unfamiliar with the Coffeescript internals, I am unable to reduce the testcase further.
Note the different placement in the JS of
profile.images =
vsprofile.tags =
, despite them being in conceptually the same place in the CS source. The former interpretation is as intended (and as it is normally interpreted).Interpreting the
profile.tags =
statement one tab further 'solves' the issue in that it results in the correct interpretation, but obviously this is not a good idea :)Source:
Compiled JS:
The text was updated successfully, but these errors were encountered: