mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* eval.c (is_defined): NODE_ATTRASGN should be assignment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1b6b119e2c
commit
dd8a919a00
1 changed files with 1 additions and 1 deletions
2
eval.c
2
eval.c
|
@ -1881,7 +1881,6 @@ is_defined(self, node, buf)
|
|||
goto check_bound;
|
||||
|
||||
case NODE_CALL:
|
||||
case NODE_ATTRASGN:
|
||||
PUSH_TAG(PROT_NONE);
|
||||
if ((state = EXEC_TAG()) == 0) {
|
||||
val = rb_eval(self, node->nd_recv);
|
||||
|
@ -1937,6 +1936,7 @@ is_defined(self, node, buf)
|
|||
return "false";
|
||||
|
||||
case NODE_ATTRSET:
|
||||
case NODE_ATTRASGN:
|
||||
case NODE_OP_ASGN1:
|
||||
case NODE_OP_ASGN2:
|
||||
case NODE_MASGN:
|
||||
|
|
Loading…
Add table
Reference in a new issue