Hello Bill, I don't exactly understand what you are asking. However, if you
want to know if there is methods to compile a source without adding the
resulting CompiledMethod to the any class dictionary, the answer is yes, you
can. You can do that, for example, by sending the message
#compile:classified:notifying:trailer:ifFail:on:do: to any class.
You can also send messages to compile and add to the methodDictionary, you
can browse the class Behavior to find what you want.



2009/10/10 Schwab,Wilhelm K <[email protected]>

>  Hello all,
>
> I am starting to port some code generating code of mine, and ran into
> something that (on Dolphin) uses Compiler class>>compile:in:, and the
> comment suggests that it creates a compiled method object without adding it
> to the class' method dictionary.  Similar methods in Behavior do the same
> thing and then add the method to the dictionary.
>
> Are similar things happening in Pharo?  It looks that way to me, but an
> expert confirmation or warning would be appreciated.
>
> Bill
>
>
>
> _______________________________________________
> 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