[Pharo-project] Weird problem...having several "implementors" for the same method and class
Mariano Martinez Peck
marianopeck at gmail.com
Sat Nov 27 13:34:09 CET 2010
On Sat, Nov 27, 2010 at 3:26 AM, Igor Stasenko <siguctua at gmail.com> wrote:
> I had some image which for some classes also shown implementors twice.
> And i think the reason was same: due to some hacking,
hehhehehe in my case I did several hacking but the suspect one was to
remove the bytecode shortcut for #class in the Compiler:
(ParseNode classVarNamed: 'StdSelectors') removeKey: #class ifAbsent:
And then I override #class in CompiledMethodProxy....and while trying to
make it work, I probably generated these duplicates.
> classes is hang in image,
> with same name.
Yes, but what it is weird is that the duplicates (in my case) are not in
Smalltalk globals, or obsolete...they are in that array that I don't know
which is it heheh
> On 26 November 2010 18:53, Eliot Miranda <eliot.miranda at gmail.com> wrote:
> > My guess is that you have multiple copies of the CompiledMethodProxy
> > which can happen by various snafus. Use SystemNavigation default
> > obsoleteClasses inspect to track them down. You can select the real one
> > insisting that theRealOne == (Smalltalk at: #CompiledMethodProxy) and
> > the other ones.
> > HTH
> > Eiot
> > On Fri, Nov 26, 2010 at 2:01 AM, Mariano Martinez Peck
> > <marianopeck at gmail.com> wrote:
> >> Sorry, I know the subject of the mail is confusing, I am confused
> >> Ok, I am doing hacky stuff and playing with CompiledMethod proxies, but
> >> have a problem searching for implementors.
> >> So, I have for example CompiledMethodProxy >> mareaUninstall.
> >> But when I search for implementors of "mareaUninstall" in the popup of
> >> implementors it shows FOUR times, "CompiledMethodProxy >>
> >> why ??? it should appear only once..
> >> I attach an screenshot. Does anyone know what can be happening?
> >> thanks in advance,
> >> Mariano
> Best regards,
> Igor Stasenko AKA sig.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pharo-project