From 6b2a0b8a34b0465e3af56d67a870b014bc9d0c17 Mon Sep 17 00:00:00 2001 From: tdurieux Date: Tue, 7 Mar 2017 13:24:02 +0100 Subject: [PATCH] fixed files form Closure #86 --- projects/Closure/86/com/google/javascript/jscomp/NodeUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/Closure/86/com/google/javascript/jscomp/NodeUtil.java b/projects/Closure/86/com/google/javascript/jscomp/NodeUtil.java index dd78f90..9049aae 100644 --- a/projects/Closure/86/com/google/javascript/jscomp/NodeUtil.java +++ b/projects/Closure/86/com/google/javascript/jscomp/NodeUtil.java @@ -2462,7 +2462,7 @@ static boolean evaluatesToLocalValue(Node value, Predicate locals) { // TODO(nicksantos): This needs to be changed so that it // returns true iff we're sure the value was never aliased from inside // the constructor (similar to callHasLocalResult) - return true; + return false; case Token.FUNCTION: case Token.REGEXP: case Token.ARRAYLIT: