Skip to content

Commit f6a570c

Browse files
&& -> ||
1 parent 03ac7cc commit f6a570c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/transformers/es2015.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1014,7 +1014,7 @@ namespace ts {
10141014
const returnStatement = createReturn(superCallExpression);
10151015

10161016
if (superCallExpression.kind !== SyntaxKind.BinaryExpression
1017-
&& (superCallExpression as BinaryExpression).left.kind !== SyntaxKind.CallExpression) {
1017+
|| (superCallExpression as BinaryExpression).left.kind !== SyntaxKind.CallExpression) {
10181018
Debug.fail("Assumed generated super call would have form 'super.call(...) || this'.");
10191019
}
10201020

0 commit comments

Comments
 (0)