Closed steida closed 11 years ago
Yep -- it doesn't. Because we need to be able to parse and pass through block comments to the corresponding JS, you generally aren't allowed to use them in places where an expression wouldn't be allowed. See previous tickets.
We'd be glad to take a fix that passes them through universally, but we don't know of an implementation.
Parsing for in-line block comments is fixed in redux, I just need to add the (gross, side-effecting) logic to append comments to the following node.
Excellent.
off-topic: @jashkenas: I've made a fixed in redux
tag and tagged the open issues that are fixed by my compiler.
foo = ###* @type {number} ### (@getFoo())
compiles now via #4572. Sorry it took awhile.
Javacript supports inline block comments.
CoffeeScript seems to not support such syntax.