Em 04/11/2009 17:53, Nicolas Cellier <nicolas.cellier.aka.nice@gmail.com> escreveu: Right. However, shouldn't the message about shadowing be issued when we accept the method in the browser?
??? Just looking the first ArrayTest>>#testCopyReplaceAllWith1Occurence, it has a temp named result and an inst var named result
2009/11/4 Lukas Renggli :
First I thought this is because temps in trait methods shadow the inst-vars of the classes that use these traits (ouch!), but it doesn't seem to be the case. I don't understand either why we get these messages. Lukas 2009/11/4 Stéphane Ducasse :
Strange this is related to traits? Stef On Nov 4, 2009, at 5:17 PM, Lukas Renggli wrote:
When I recompile a Pharo image Compiler recompileAll I get 819 messages complaining about shadowed variables, mostly but not only in the new collection tests. Does anybody knows why this happens? Lukas [819 messages snipped]