From: matz@... (Yukihiro Matsumoto) Date: 2002-06-13T00:02:29+09:00 Subject: Re: a new block parameter/variable notation (Re: ruby-dev summary 17252-17356) Hi, In message "Re: a new block parameter/variable notation (Re: ruby-dev summary 17252-17356)" on 02/06/12, Dave Thomas writes: |How hard would it be to issue a warning when a block parameter shadows |a local variable. Then we could simple say that in 1.10 it won't be |supported; all block parameters are local. That would give folks a |year or so to change their code. Not much, if I decide so. But I'm still not sure whether making block parameters block-local is a good thing to do, when they are used as iteration variables. Plus, I feel like it's a good chance to fix another Ruby's design flaw (i.e. lambda{|a|p a}.call(1,2,3) trap) at once. matz.