Hello all,
I'm observing a chance in the way constants are looked up between
1.9.2-head and 1.9.3-head. Please see below (and comment if it's
expected or a regression?):
module M
X = 100
def m1
puts X
end
end
class C
extend M
def self.m2
puts X
end
end
def C.m3
puts X
end
C.m1 # works in 1.9.2 and 1.9.3
C.m3 # works in 1.9.2, generates missing constant exception in 1.9.3
C.m2 # generates missing constant exception in 1.9.2 and 1.9.3
···
--
Posted via http://www.ruby-forum.com/.