• cubicdaiya's avatar
    fix bug for get_valid_iv_sym · d3161157
    cubicdaiya authored
    When sub-string is used in the following way, it does not work well.
    
    o = Object.new
    o.instance_variable_set(:@a, 1)
    o.instance_variable_defined?("@abc"[0,2]) #=> false (this should be true)
    d3161157
kernel.c 34.7 KB