Files
test-repo/tests/import/comments.js
T
Christopher Chedeau 516f5900d8 Stabilize import as comments (#855)
Since this is extremely rare, I just took the easy way out and if you are adding a comment inside the "as" node, I just move it outside. We could be more fancy but that works.

Fixes #620
2017-03-02 22:22:33 -05:00

23 lines
260 B
JavaScript

import { a //comment1
//comment2
//comment3
as b} from "";
import {
a as //comment1
//comment2
//comment3
b
} from "";
import {
a as //comment2 //comment1
//comment3
b
} from "";
import {
a as //comment3 //comment2 //comment1
b
} from "";