Skip to content

Commit 0da185d

Browse files
committed
PR Feedback
1 parent 60d4d0a commit 0da185d

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/compiler/printer.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2174,10 +2174,6 @@ const _super = (function (geti, seti) {
21742174
}
21752175

21762176
function tryEmitSubstitute(node: Node, emitNode: (node: Node) => void, isExpression: boolean) {
2177-
if ((<any>node).text === "localizedDiagnosticMessages" && isExpression) {
2178-
debugger;
2179-
}
2180-
21812177
if (isSubstitutionEnabled(node) && (getNodeEmitFlags(node) & NodeEmitFlags.NoSubstitution) === 0) {
21822178
const substitute = onSubstituteNode(node, isExpression);
21832179
if (substitute !== node) {

src/compiler/transformers/destructuring.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -405,6 +405,7 @@ namespace ts {
405405
location: TextRange,
406406
emitTempVariableAssignment: (value: Expression, location: TextRange) => Identifier,
407407
visitor?: (node: Node) => VisitResult<Node>) {
408+
408409
if (isIdentifier(value) && reuseIdentifierExpressions) {
409410
return value;
410411
}

0 commit comments

Comments
 (0)