[Bug #756] lambda{} != lambda {}


#1

Bug #756: lambda{} != lambda {}
http://redmine.ruby-lang.org/issues/show/756

e$B5/I<<Te(B: Shyouhei U.
e$B%9%F!<%?%9e(B: Open, e$BM%@hEYe(B: Normal
e$BC4Ev<Te(B: Koichi Sasada, e$B%+%F%4%je(B: core, Target version: 1.9.x

e$B$$$D$N$^$K$+e(Blambda {} == lambda {}e$B$G$J$/$J$C$?$h$&$G$9!#e(B

% ruby -ve ‘p lambda{} == lambda {}’
ruby 1.9.1 (2008-11-14 revision 20234) [x86_64-linux]
false

1.8e$B$G$O@.$jN)$C$F$$$?$N$G$9$,!#e(B

% ruby -ve ‘p lambda{} == lambda {}’
ruby 1.8.7 (2008-11-15 revision 20236) [x86_64-linux]
true


#2

e$B%A%1%C%He(B #756 e$B$,99?7$5$l$^$7$?!#e(B (by Yukihiro M.)

e$B%9%F!<%?%9e(B Opene$B$+$ie(BClosede$B$KJQ99e(B
e$B?JD=e(B % 0e$B$+$ie(B100e$B$KJQ99e(B

Applied in changeset r20250.

http://redmine.ruby-lang.org/issues/show/756