bugfix for reference @0
This commit is contained in:
parent
fe0bcd8622
commit
81f240e270
1 changed files with 1 additions and 1 deletions
|
|
@ -144,7 +144,7 @@ const handle_enter = function () {
|
||||||
if (value.is_binding) { // if it's declaration work with the initializer
|
if (value.is_binding) { // if it's declaration work with the initializer
|
||||||
binding = value.name; // but we also need the name of the bound variable
|
binding = value.name; // but we also need the name of the bound variable
|
||||||
value = state[binding]; // lookup the value for the binding
|
value = state[binding]; // lookup the value for the binding
|
||||||
} else if (value.id) {
|
} else if (Object.prototype.hasOwnProperty.call(value, ['id'])) {
|
||||||
references['@' + value.id] = value;
|
references['@' + value.id] = value;
|
||||||
}
|
}
|
||||||
while (value.lazy_expression) {
|
while (value.lazy_expression) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue