TypeScript/tests/cases/compiler/commentOnBinaryOperator2.ts
Yui d7fff8ebe9 [Master] fix 12985 emit leading and trailing comment around binary operator (#16584)
* Emit leading and trailing on binary operator

* Add tests and baselines

* Update baselines
2017-08-04 19:12:13 -07:00

13 lines
181 B
TypeScript

// @removeComments: true
var a = 'some'
// comment
+ 'text';
var b = 'some'
/* comment */
+ 'text';
var c = 'some'
/* comment */
+ /*comment1*/
'text';