Files
test-repo/tests/comments/dangling_for.js
T
Davy Duperron c32e0339d0 Fix missing dangling comments in for loop (#742)
* Add dangling comments printing in for loops.

* Add new tests.

* Simplify implementation by moving dangling comments upfront.

* Update tests accordingly.
2017-02-20 09:17:10 -05:00

5 lines
45 B
JavaScript

for // comment
(;;);
for /* comment */(;;);