hoist uids to their parent function
This commit is contained in:
parent
547ecc2f73
commit
056b7fc634
@ -133,7 +133,7 @@ export default class Scope {
|
||||
uid = this._generateUid(name, i);
|
||||
i++;
|
||||
} while (this.hasBinding(uid) || this.hasGlobal(uid) || this.hasUid(uid));
|
||||
this.uids[uid] = true;
|
||||
this.getFunctionParent().uids[uid] = true;
|
||||
return uid;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user