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
### if there is a block comment before imports ###log'including if there are lines in between'# last comment before import statement is moved into importimport { a } from'foo'
Last 2 lines will compile to invalid Javascript:
import{// last comment before import statement is moved into importa}from'foo';
Here are some permutations:
Ok:
# lineimport { a } from'foo'### block ###
### block ###import { a } from'foo'
Fail:
import { a } from'foo'### block pushed inside #### line pushed insideimport { b } from'foo'
### block NOT pushed inside #### line pushed insideimport { a } from'foo'
CoffeeScript version: 2.6.1
Node.js version: 6.13.0
The text was updated successfully, but these errors were encountered:
Last 2 lines will compile to invalid Javascript:
Here are some permutations:
Ok:
Fail:
The text was updated successfully, but these errors were encountered: