IMHO, it is a bug.   




-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Igor Stasenko
Sent: Wednesday, July 29, 2009 8:52 PM
To: Pharo Development
Subject: [Pharo-project] Shadowing the ivar by temps in Pharo

This is not first time, i discovering that Pharo silently accepts the methods 
which having argument/temp names same as intance variable names.

Squeak 3.10, however warns about it, upon installation and prevents edited 
method to be accepted until this is fixed.

-- Transcript --
(doubleBuffered is shadowed in "GLDisplayScreen") (depth is shadowed in 
"GLDisplayScreen>>#glEnableMainWindowContext:")

Is this a bug or feature?

--
Best regards,
Igor Stasenko AKA sig.

_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to