summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--eval.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/eval.c b/eval.c
index ee34bdac6..37923ecde 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);