mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-06-11 20:37:46 -05:00
Fix up incorrect system emit
This commit is contained in:
@@ -510,7 +510,7 @@ namespace ts {
|
||||
case ModuleKind.UMD:
|
||||
return transformImportCallExpressionUMD(node);
|
||||
}
|
||||
Debug.assert(false, "All supported module kind in this transformation step should have been handled");
|
||||
Debug.fail("All supported module kind in this transformation step should have been handled");
|
||||
}
|
||||
|
||||
function transformImportCallExpressionUMD(node: ImportCallExpression): Expression {
|
||||
|
||||
@@ -677,7 +677,7 @@ namespace ts {
|
||||
visitNode(node.body, visitor, isBlock)));
|
||||
}
|
||||
else {
|
||||
hoistedStatements = append(hoistedStatements, node);
|
||||
hoistedStatements = append(hoistedStatements, visitEachChild(node, visitor, context));
|
||||
}
|
||||
|
||||
if (hasAssociatedEndOfDeclarationMarker(node)) {
|
||||
|
||||
Reference in New Issue
Block a user