[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-smalltalk] Sending a method 'nil'.. generates an error
From: |
Rick Flower |
Subject: |
Re: [Help-smalltalk] Sending a method 'nil'.. generates an error |
Date: |
Fri, 18 Jun 2010 08:33:35 -0700 |
User-agent: |
RoundCube Webmail/0.2.1 |
On Fri, 18 Jun 2010 09:34:00 +0200, Paolo Bonzini <address@hidden> wrote:
> On 06/18/2010 02:36 AM, Rick Flower wrote:
>> I'm porting some code to generate RTF's from a set of
>> code I found for Squeak.. It converted OK but when I
>> run it I get this from gst :
>>
>> Aside from renaming the 'nil' method to something
>> else (e.g. nile), is there a way to keep gst happy
>> with this code?
>
> It's a warning, you don't really care.
Thanks Paolo..
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.. ?
Thx!