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.