Fixes missing check in isParenthesizedArrowFunctionExpressionWorker

This commit is contained in:
Ron Buckton committed 2015-05-13 17:26:28 -07:00
1 parent 890a5d81d1
commit a565a023eb
1 file changed
+3
+3
View File
@@ -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;