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
23 lines
260 B
JavaScript
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 "";
|