Fixes wrong code generation when using comments in return, throw and arrow function expressions.
add tests
the trailing comments are still the same (incorrect placement), but they do not affect the syntax (can be addressed in a future PR)
blank line preservation: seems no new problems with this
Fixes issue #365 (maybe more).
Changes:
Fixes wrong code generation when using comments in
return
,throw
and arrow function expressions. add tests the trailing comments are still the same (incorrect placement), but they do not affect the syntax (can be addressed in a future PR) blank line preservation: seems no new problems with thisThis PR is a continuation of PR #425