From: Gregory Brown Date: 2007-07-05T00:06:11+09:00 Subject: Re: block params scoping (was ruby-talk 257917: RE: Using a block to surround a string?) On 7/4/07, dblack@wobblini.net wrote: > > I'm in favor of the new behaviour, but am not sure about the warning. > > My feeling is that any time I've used something like > > > > a = 1 > > > > foo { |a| } > > > > It was a typo and I'd like to know about it. > > It still sort of goes in a circle, though. If the main goal is not to > use the same-named variable in both scopes, then what difference does > it make which behavior happens when you do it? Well by saying that (and I think you're right), aren't you arguing in favor of a warning? :)