From 9f43a38cdefd3b8e4355c45f7d862220021bf1c8 Mon Sep 17 00:00:00 2001 From: tdurieux Date: Tue, 7 Mar 2017 13:24:37 +0100 Subject: [PATCH] fixed files form Closure #102 --- .../Closure/102/com/google/javascript/jscomp/Normalize.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/Closure/102/com/google/javascript/jscomp/Normalize.java b/projects/Closure/102/com/google/javascript/jscomp/Normalize.java index 4aa4555..1db94e2 100644 --- a/projects/Closure/102/com/google/javascript/jscomp/Normalize.java +++ b/projects/Closure/102/com/google/javascript/jscomp/Normalize.java @@ -86,12 +86,12 @@ private void reportCodeChange(String changeDescription) { @Override public void process(Node externs, Node root) { NodeTraversal.traverse(compiler, root, this); + removeDuplicateDeclarations(root); if (MAKE_LOCAL_NAMES_UNIQUE) { MakeDeclaredNamesUnique renamer = new MakeDeclaredNamesUnique(); NodeTraversal t = new NodeTraversal(compiler, renamer); t.traverseRoots(externs, root); } - removeDuplicateDeclarations(root); new PropogateConstantAnnotations(compiler, assertOnChange) .process(externs, root); }