[Vm-dev] Re: SmallInetger as methods was not ready yet....now maybe?

Andreas Raab andreas.raab at gmx.de
Fri Dec 3 18:49:48 UTC 2010

On 12/3/2010 10:33 AM, Igor Stasenko wrote:
> the problem is, that when you want it, you can always end up with
> method dictionary which contains 'non-executable' objects.
> methodDict at: #foo put: foo.
> foo becomeForward: somethingNonExecutable.

So don't do that! When was the last time you've had the need to #become: 
CompiledMethods anyway? ;-) Oh, and for the terminally curious, try 
evaluating the following just for fun:

	Object new becomeForward: 3.

See? ;-)

   - Andreas

More information about the Vm-dev mailing list