On Fri, Jan 15, 2010 at 9:06 AM, Damien Cassou <damien.cassou@gmail.com>wrote:
2010/1/15 Mariano Martinez Peck <marianopeck@gmail.com>:
Now, I guess there should be a way to automatically detect the overrides...do you know how ?
MCMethodDefinition>>checkMethodAlreadyExists
(self actualClass includesSelector: self selector) ifTrue: [Warning signal: 'a package is overriding ', self actualClass printString, '>>', self selector]
MCMethodDefinition>>load
self checkMethodAlreadyExists.
self actualClass compile: source classified: category
withStamp: timeStamp
notifying: (SyntaxError new category: category)
Thanks Damien. I did that, run the load of both projects but none of them warn me. Are you sure they have overrides? Thanks Mariano
-- Damien Cassou http://damiencassou.seasidehosting.st
"Lambdas are relegated to relative obscurity until Java makes them popular by not having them." James Iry
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project