mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Fixes missing check in isParenthesizedArrowFunctionExpressionWorker
This commit is contained in:
@@ -2691,6 +2691,9 @@ module ts {
|
||||
if (scanner.hasPrecedingLineBreak()) {
|
||||
return Tristate.False;
|
||||
}
|
||||
if (token !== SyntaxKind.OpenParenToken && token !== SyntaxKind.LessThanToken) {
|
||||
return Tristate.False;
|
||||
}
|
||||
}
|
||||
|
||||
let first = token;
|
||||
|
||||
Reference in New Issue
Block a user