Actions
Bug #10266
closedString#to_sym generates too big object_id?
Bug #10266:
String#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:
Updated by nobu (Nobuyoshi Nakada) almost 12 years ago
- Description updated (diff)
- Backport changed from 2.0.0: UNKNOWN, 2.1: UNKNOWN to 2.0.0: DONTNEED, 2.1: DONTNEED
Updated by nobu (Nobuyoshi Nakada) almost 12 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
Applied in changeset r47648.
compile.c: store IDs as Symbols
- compile.c (iseq_set_arguments): store local variable IDs in
temporary list as Symbols. previously these are stored as
Fixnums to prevent from GC, but IDs of dynamic symbols can
exceed Fixnum range and cause RangeError at inverting from
Fixnum. ruby-dev:48564 [Bug #10266]
Updated by nobu (Nobuyoshi Nakada) almost 12 years ago
- Related to Bug #10283: Calling define_method with a dynamic symbol ending in = results in a NoMethodError when calling the method via assignment, until called via send added
Updated by nobu (Nobuyoshi Nakada) almost 12 years ago
- Related to deleted (Bug #10283: Calling define_method with a dynamic symbol ending in = results in a NoMethodError when calling the method via assignment, until called via send)
Actions