This commit is contained in:
Yuichi Nishiwaki 2014-02-04 10:18:31 +09:00
parent e8afc493e2
commit 2022fa163b
1 changed files with 1 additions and 1 deletions

View File

@ -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 {