We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03ac7cc commit f6a570cCopy full SHA for f6a570c
src/compiler/transformers/es2015.ts
@@ -1014,7 +1014,7 @@ namespace ts {
1014
const returnStatement = createReturn(superCallExpression);
1015
1016
if (superCallExpression.kind !== SyntaxKind.BinaryExpression
1017
- && (superCallExpression as BinaryExpression).left.kind !== SyntaxKind.CallExpression) {
+ || (superCallExpression as BinaryExpression).left.kind !== SyntaxKind.CallExpression) {
1018
Debug.fail("Assumed generated super call would have form 'super.call(...) || this'.");
1019
}
1020
0 commit comments