CoffeeScriptRedux icon indicating copy to clipboard operation
CoffeeScriptRedux copied to clipboard

Multiline blocks unsupported

Open ScatteredRay opened this issue 13 years ago • 6 comments

For example, in this code:

x(1,
   2,
   3)

I get the error: Unclosed '(' at EOF Is it possible I'm doing something wrong, or is this just currently unimplemented?

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

ScatteredRay avatar Dec 15 '12 21:12 ScatteredRay

Still discussed.

vendethiel avatar Dec 15 '12 21:12 vendethiel

I'm sorry? Not sure I follow.

ScatteredRay avatar Dec 15 '12 21:12 ScatteredRay

I was just searching the issue. I'm not as fast to find duplicates as on jashkenas coffee-script See #63

vendethiel avatar Dec 15 '12 21:12 vendethiel

As best as I can tell, this is an error preprocessor.coffee not actually managing @context properly with multi-line []'s and the like, wheras issue #63 seems to be releated to later steps in the compiler.

ScatteredRay avatar Dec 15 '12 21:12 ScatteredRay

I find @michaelficarra 's answer still applies, no ?

vendethiel avatar Dec 15 '12 21:12 vendethiel

Yeah, I think it may.

ScatteredRay avatar Dec 15 '12 23:12 ScatteredRay