Actions
Bug #10266
closedString#to_sym generates too big object_id?
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.2.0dev (2014-09-19 trunk 47643) [x86_64-darwin13]
Backport:
Description
Script¶
puts "hoge".to_sym.object_id
eval("def a(hoge:); end")
Result on ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-darwin13.0]¶
$ ruby test_case.rb
420328
Result on ruby 2.2.0dev (2014-09-19 trunk 47643) [x86_64-darwin13]¶
$ ruby test_case.rb
70279604013940
test_case.rb:2:in `eval': integer 140559208027880 too big to convert to `int' (RangeError)
from test_case.rb:2:in `<main>'
Actions
Like0
Like0Like0Like0Like0