Closed
Description
TypeScript Version: 2.5.2 (works in 2.3.4) - try it in the Playground.
Code
The below is a repro as minimal as I could make it. Changing almost anything will fix the parse errors.
declare const A: any;
declare const B: any;
declare const C: any;
const x = (A / 2);
B(
C(),
() => { },
() => { }
);
Expected behavior:
No parser errors.
Actual behavior:
Several errors starting with "= expected" and "Unterminated regular expression literal".