TypeScript/tests/cases/compiler/commentOnBinaryOperator1.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

12 lines
156 B
TypeScript

var a = 'some'
// comment
+ 'text';
var b = 'some'
/* comment */
+ 'text';
var c = 'some'
/* comment */
+ /*comment1*/
'text';