From: Evan Phoenix Date: 2007-01-13T10:39:00+09:00 Subject: Re: [ ruby-Bugs-7680 ] a block argument within a block which argument has the same name leaks On Jan 12, 2007, at 4:38 PM, Yukihiro Matsumoto wrote: > Hi, > > In message "Re: [ ruby-Bugs-7680 ] a block argument within a block > which argument has the same name leaks" > on Tue, 9 Jan 2007 15:19:10 +0900, Evan Phoenix > writes: > > |I agree they need work. Why not go back to the rubyconf 2005 > |proposal? I believe it was to allow new vars created in a block to be > |normal local variables (not dvars). I've discussed the expected > |behavior of local variables in ruby to new users and this is what > |they expect. > > Evan, I have considered your words for these days, and you gave me an > inspiration. I think I get an idea. Thank you. Stay tuned. I eagerly await to here to hear what idea you have. The behavior I've described is the behavior that rubinius currently has, btw. - Evan > > matz. >