Skip to content

Commit 61f3ba6

Browse files
committed
Merge branch 'transforms-transformer' into transforms-printer
2 parents e5cd8fe + b3adade commit 61f3ba6

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/compiler/transformer.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,7 @@ namespace ts {
7575
}
7676

7777
currentSourceFile = sourceFile;
78-
const visited = transformation(sourceFile);
79-
currentSourceFile = undefined;
80-
return visited;
78+
return transformation(sourceFile);
8179
}
8280

8381
function enableExpressionSubstitution(kind: SyntaxKind) {

0 commit comments

Comments
 (0)