From 0078edcfa6acb52bc660578caba4e74b976bf5b9 Mon Sep 17 00:00:00 2001 From: tdurieux Date: Tue, 7 Mar 2017 13:24:16 +0100 Subject: [PATCH] fixed files form Closure #93 --- .../com/google/javascript/jscomp/ProcessClosurePrimitives.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/Closure/93/com/google/javascript/jscomp/ProcessClosurePrimitives.java b/projects/Closure/93/com/google/javascript/jscomp/ProcessClosurePrimitives.java index c929a36..1d738b5 100644 --- a/projects/Closure/93/com/google/javascript/jscomp/ProcessClosurePrimitives.java +++ b/projects/Closure/93/com/google/javascript/jscomp/ProcessClosurePrimitives.java @@ -786,7 +786,7 @@ void replace() { } else { // In this case, the name was implicitly provided by two independent // modules. We need to move this code up to a common module. - int indexOfDot = namespace.indexOf('.'); + int indexOfDot = namespace.lastIndexOf('.'); if (indexOfDot == -1) { // Any old place is fine. compiler.getNodeForCodeInsertion(minimumModule)