Closed
Description
Bug Report
π Search Terms
conditional
4.7 beta
syntax error
π Version & Regression Information
This is a crash- This changed between versions 4.6.3 and 4.7.0-beta
β― Playground Link
Playground link with relevant code
π» Code
(false ? (param): string => param : null);
π Actual behavior
Parsing failure for arrow function expr that has type annotations for return type, but doesn't have type annotations for parameters, in conditional expression.
π Expected behavior
Parsing successfull.