ByteSymbol (#primitivePushFalse) does not understand#coerceTo:sim:

Rob Withers reefedjib at yahoo.com
Sat Oct 27 19:11:37 UTC 2007


Thanks, Matthew.  I used your changeset to fix these problems, then I ran 
into a new problem.  I get an error trying to access the sources file, where 
the file is nil.  I documented it here: 
http://bugs.squeak.org/bug_view_page.php?bug_id=6740

Rob

----- Original Message ----- 
From: "Matthew Fulmer" <tapplek at gmail.com>
To: <squeak-dev at lists.squeakfoundation.org>
Sent: Saturday, October 27, 2007 11:06 AM
Subject: Re: ByteSymbol (#primitivePushFalse) does not 
understand#coerceTo:sim:


> On Wed, Oct 24, 2007 at 04:03:16PM -0700, Rob Withers wrote:
>>    I am trying to run the InterpreterSimulatorLSB and I am getting an 
>> error.
>>
>>    In #addNewMethodToCache, this line of code is called:
>>        self cCoerce: primitiveFunctionPointer to: 'long'
>>
>>    where self is the IntepreterSimulatorLSB instance and
>>    primitiveFunctionPointer is #primitivePushFalse.  This results in
>>    ByteSymbol (#primitivePushFalse) does not understand #coerceTo:sim:. 
>> It
>>    looks as if it is expecting an Integer or an Array as the value of
>>    primitiveFunctionPointer.  Can anyone shed some light here?
>
> I fixed a few problems I found with #coerceTo:sim: in
> http://bugs.squeak.org/view.php?id=6555 . I don't know if it is
> the right solution, but it got me far enough that part of the
> image was displayed before freezing. I never got events working
> in the simulator, though.
>
> -- 
> Matthew Fulmer -- http://mtfulmer.wordpress.com/
> Help improve Squeak Documentation: http://wiki.squeak.org/squeak/808
>
> 




More information about the Squeak-dev mailing list