From: Joao Pedrosa Date: 2007-01-09T14:29:09+09:00 Subject: Re: [ ruby-Bugs-7680 ] a block argument within a block which argument has the same name leaks Hi, > |It's an interesting case, and I can definitely see that it wouldn't be > |easy to implement. What about just not having the warning? Mostly > |people wanted block-locals so that they could stop worrying about the > |names. So maybe it isn't necessary for the compiler to warn. > > Using in-block variable outside is the biggest source of my mistakes > in Ruby. I'd like to address this issue in the future. Until then, > it will warn to reduce my headache. I agree that it's a little troubling. :-) Even though I don't know the whole dimension of it like you do. :-) Cheers, Joao