diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-02 03:20:21 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-02 03:20:21 +0000 |
commit | ff99fd4de1037737241600499ddf0c04678ce2a6 (patch) | |
tree | bf8e52efc04db3b1905e6d6cc53e6ab9a7bd65b1 /parse.y | |
parent | d1c0375526e765a3f86450173ee287cb1a233441 (diff) | |
download | ruby-ff99fd4de1037737241600499ddf0c04678ce2a6.tar.gz |
parse.y: hide anonymous id
* parse.y (rb_id_attrset): should not reveal anonymous ID as an
instance variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -8846,8 +8846,8 @@ rb_id_attrset(ID id) scope, (VALUE)data); } else { - rb_name_error(id, "cannot make unknown type ID %d:%"PRIxVALUE" attrset", - scope, (VALUE)id); + rb_name_error_str(Qnil, "cannot make unknown type anonymous ID %d:%"PRIxVALUE" attrset", + scope, (VALUE)id); } } } |