* Fix not emitted statement in then clauses producing syntactically invalid output * Refactor to common code, apply to all embedded statements
16 lines
183 B
TypeScript
16 lines
183 B
TypeScript
//// [constEnum4.ts]
|
|
if (1)
|
|
const enum A { }
|
|
else if (2)
|
|
const enum B { }
|
|
else
|
|
const enum C { }
|
|
|
|
|
|
//// [constEnum4.js]
|
|
if (1)
|
|
;
|
|
else if (2)
|
|
;
|
|
else
|
|
;
|