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

Igor Stasenko siguctua at gmail.com
Fri Dec 3 18:07:03 UTC 2010


On 3 December 2010 19:02, Andreas Raab <andreas.raab at gmx.de> wrote:
>
>> maybe supporting SmallInteger as methods was not a good idea :(
>
> FWIW, Objects as methods weren't intended for SmallInts; they were intended
> for stuff like method wrappers. Using SmallIntegers for methods is a hack
> and I'm not surprised it doesn't work. But it is easy to fix - just wrap
> your ints into something else and you're good to go.

clearly, VM should not crash if it finds smallint in method dictionary.
Of course, it may 'not work', but in less destructive way.

>
> Cheers,
>  - Andreas
>



-- 
Best regards,
Igor Stasenko AKA sig.


More information about the Vm-dev mailing list