fix #26
This commit is contained in:
parent
e8afc493e2
commit
2022fa163b
|
@ -839,7 +839,7 @@ resolve_reference_node(resolver_state *state, pic_value obj)
|
||||||
if (depth == scope->depth) {
|
if (depth == scope->depth) {
|
||||||
return resolve_gref(state, sym);
|
return resolve_gref(state, sym);
|
||||||
}
|
}
|
||||||
else if (depth == 0 && is_closed(state, sym)) {
|
else if (depth == 0 && ! is_closed(state, sym)) {
|
||||||
return resolve_lref(state, sym);
|
return resolve_lref(state, sym);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in New Issue