diff --git a/eval.c b/eval.c index ee34bdac66..37923ecdea 100644 --- a/eval.c +++ b/eval.c @@ -1924,6 +1924,7 @@ is_defined(self, node, buf) goto check_bound; case NODE_ATTRASGN: + val = self; if (node->nd_recv == (NODE *)1) goto check_bound; case NODE_CALL: PUSH_TAG(PROT_NONE);