don't fall back to runtime catch all on locally declared variables
This commit is contained in:
parent
5fd5b815ab
commit
e12b377014
@ -81,6 +81,7 @@ var astVisitor = traverse.explode({
|
||||
var obj = node.object;
|
||||
|
||||
if (!has(definitions.builtins, obj.name)) return;
|
||||
if (scope.getBindingIdentifier(obj.name)) return;
|
||||
|
||||
var modulePath = definitions.builtins[obj.name];
|
||||
return t.memberExpression(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user