• KOBAYASHI Shuji's avatar
    Fix modifiable class name · 55cb6258
    KOBAYASHI Shuji authored
    Fix the following example:
    
        Object.const_set :A, Module.new{const_set :B, Class.new}
        ab = A::B.to_s
        p ab         #=> "A::B" # Good
        ab[0] = "x"
        p A::B.to_s  #=> "x::B" # Bad
    55cb6258
variable.c 23 KB