Skip to content

Commit

Permalink
Add missing code change report.
Browse files Browse the repository at this point in the history
Gets rid of some --dev_mode=EVERY_PASS errors

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=155156185
  • Loading branch information
tbreisacher authored and brad4d committed May 5, 2017
1 parent 4892f62 commit f41f38b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/com/google/javascript/jscomp/Normalize.java
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,7 @@ public void visit(NodeTraversal t, Node n, Node parent) {
break;

case CAST:
compiler.reportChangeToEnclosingScope(n);
parent.replaceChild(n, n.removeFirstChild());
break;
default:
Expand Down

0 comments on commit f41f38b

Please sign in to comment.