On 29/07/2011 18:35, Paolo Bonzini wrote:
On 07/29/2011 06:13 PM, Gwenael Casaccio wrote:
It's possible by mistake to create a class with duplicate instance
variable, the following patch checks and warms the user.

Is it done also when the first name is in the superclass? I'm not sure I'd like that (ANSI says it must not be an error BTW).


It's done for super and sub classes. I understand but this is just a warning here, and I've made it because the developer - here me :) - can loose a "lot" of time because of such kind of simple bug.

> I plan to
do the same but for duplicate methods defined on a class.

Nice, you can do that in the parser too.  Much more useful, actually!

Paolo



_______________________________________________
help-smalltalk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to