help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] Warning when duplicate instance variables


From: Paolo Bonzini
Subject: Re: [Help-smalltalk] Warning when duplicate instance variables
Date: Fri, 29 Jul 2011 18:35:25 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20110707 Thunderbird/5.0

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).

> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]