diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | parse.y | 1 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,9 @@ +Fri May 2 21:04:02 2014 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * parse.y (next_id): no reason to set ID_STATIC_SYM here, as ID + returned by rb_intern3 can be a dynamic symbol and the static + symbol flag is set otherwise. [Bug #9787] + Fri May 2 11:32:51 2014 Nobuyoshi Nakada <nobu@ruby-lang.org> * test/ruby/test_io.rb (test_seek, test_seek_symwhence): defer @@ -10609,7 +10609,6 @@ next_id(VALUE str) if (last > 1 && name[last-1] == '=') goto junk; id = rb_intern3(name, last, enc); - id |= ID_STATIC_SYM; if (id > tLAST_OP_ID && !is_attrset_id(id)) { enc = rb_enc_get(rb_id2str(id)); id = rb_id_attrset(id); |