mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-18 17:27:54 -05:00
Ensure late painted statements are only transformed once, so inner substitutions are consistently read (#48558)
* Ensure late painted statements are only transformed once, so inner substitutions are consistently read * PR suggestion * Fix lint
This commit is contained in:
@@ -1163,6 +1163,9 @@ namespace ts {
|
||||
}
|
||||
|
||||
function transformTopLevelDeclaration(input: LateVisibilityPaintedStatement) {
|
||||
if (lateMarkedStatements) {
|
||||
while (orderedRemoveItem(lateMarkedStatements, input));
|
||||
}
|
||||
if (shouldStripInternal(input)) return;
|
||||
switch (input.kind) {
|
||||
case SyntaxKind.ImportEqualsDeclaration: {
|
||||
|
||||
Reference in New Issue
Block a user