You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
classFoo{publicconstructor(// Parameter is parsed correctlypublica: number,// Parameter is actually parsed as two, with two different parse errorspublicb: number){}}
It fails to parse the parameter, with two irrelevant errors.
馃檪 Expected behavior
It should be parsed correctly.
The text was updated successfully, but these errors were encountered:
DanielRosenwasser
changed the title
Parameters parsing fail when split into two lines
Parameters properties do not parse when split into two lines
Dec 9, 2021
Technically there's no reason I can think of for a line terminator restriction, but we've generally tried no to fiddle too much with parameter properties in case we further conflict with future ECMAScript syntax.
Bug Report
馃攷 Search Terms
public
parameter
constructor
class
馃晽 Version & Regression Information
馃捇 Code
Workbench Repro
馃檨 Actual behavior
It fails to parse the parameter, with two irrelevant errors.
馃檪 Expected behavior
It should be parsed correctly.
The text was updated successfully, but these errors were encountered: