Skip to content

Commit 784eac5

Browse files
Indented and-ed expressions.
1 parent a01c195 commit 784eac5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/compiler/transformers/es2015.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1027,8 +1027,8 @@ namespace ts {
10271027
// Return the result if we have an immediate super() call on the last statement,
10281028
// but only if the constructor itself doesn't use 'this' elsewhere.
10291029
if (superCallExpression
1030-
&& statementOffset === ctorStatements.length - 1
1031-
&& !(ctor.transformFlags & (TransformFlags.ContainsLexicalThis | TransformFlags.ContainsCapturedLexicalThis))) {
1030+
&& statementOffset === ctorStatements.length - 1
1031+
&& !(ctor.transformFlags & (TransformFlags.ContainsLexicalThis | TransformFlags.ContainsCapturedLexicalThis))) {
10321032
const returnStatement = createReturn(superCallExpression);
10331033

10341034
if (superCallExpression.kind !== SyntaxKind.BinaryExpression

0 commit comments

Comments
 (0)