help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] Sending a method 'nil'.. generates an error


From: Paolo Bonzini
Subject: Re: [Help-smalltalk] Sending a method 'nil'.. generates an error
Date: Fri, 18 Jun 2010 18:24:58 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-3.fc13 Lightning/1.0b2pre Thunderbird/3.0.4

On 06/18/2010 05:33 PM, Rick Flower wrote:
I actually renamed the method for now and got past
that issue.. The next issue is with a missing
definition for #sourceString -- not sure what that
might be.. Any ideas?  Below is a snippet of test
code using this :

table := RTFTableModel
   sending: #(#yourself #sourceString) , (Array with: nil)
   to: (testClass selectors asArray
       collect: [:sel | testClass compiledMethodAt: sel])
   labels: #('Selector' 'Source code') , (Array with: [Time now
printString]).

I'm guessing it's some way to get the source for
a method perhaps?  I'll probably disable it for now
or change the test code to not use that.. This is
probably a Squeakism that may not directly port over
to GST.. ?

That would be #methodSourceString (for some strange historical reason) in GST.

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]