[Bug: 1.9] Block level with binding

[email protected]$G$9!%e(B

b = binding
10.times{
eval(’’, b)
}
eval(‘1.times{raise}’, b)

e$B!!$3$s$J%W%m%0%i%`$Ge(B

…/trunk/test.rb:5:in eval': (eval):1:inblock (12 levels) in

': (RuntimeError)

e$B$3$s$J$U$&$K!$e(Bblock level e$B$,>e$,$C$F$7$^$$$^$9!Je(B12
levelse$B!K!%e(B

e$B!!860x$Oe(B Binding
e$B$N;}$AJ}$NLdBj$J$s$G$9$,!$$Q$C$H2r7h:v$,;W$$$D$+$Je(B
[email protected]$1$7$F$*$-$^$9!%e(Bissue e$B$Ne(B priority
e$B$r2<$2$kJ}K!$C$F%&%'e(B
e$B%V7PM3$G$7$?$C$1!%e(B

e$B%A%1%C%He(B #233 e$B$,99?7$5$l$^$7$?!#e(B (by Koichi Sasada)

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 r21079.

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs