Commit Graph
3 Commits
Author SHA1 Message Date
Sosuke Suzuki d1771e8652 JavaScript: Fix moving semi for return to end of line-comment (#7140)
* Modify to fix semi for return with comment

* Add complex test case

* Add null check

* Add changelog
2019-12-16 20:11:39 +03:00
Lucas Duailibe aac38fca49 Force break if comment in return argument (#3665)
* Force break if comment in return argument

* add test case
2018-01-31 12:00:29 -05:00
Christopher Chedeau 3eda5fb885 Print return dangling comment (#1178)
Fixes #1157
2017-04-10 10:46:25 -07:00