diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-08-03 01:56:16 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-08-03 01:56:16 +0000 |
commit | 27c4fb3361d0e731d2deff6093ebd33b69231323 (patch) | |
tree | 367d35fbab506ca4838d9157560d2090828271f5 /ext/-test- | |
parent | 1d670ab0f090c0232e2a7a619b70ebb559453331 (diff) | |
download | ruby-27c4fb3361d0e731d2deff6093ebd33b69231323.tar.gz |
ext: get rid of inadvertent ID creation
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/-test-')
-rw-r--r-- | ext/-test-/symbol/type.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/-test-/symbol/type.c b/ext/-test-/symbol/type.c index 296c74c105..e51e09eb26 100644 --- a/ext/-test-/symbol/type.c +++ b/ext/-test-/symbol/type.c @@ -38,7 +38,7 @@ bug_sym_attrset(VALUE self, VALUE name) static VALUE bug_id2str(VALUE self, VALUE sym) { - return rb_id2str(SYM2ID(sym)); + return rb_sym2str(sym); } static VALUE |