[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-smalltalk] [patch] Remove duplicate category output in RBForm
From: |
Lee Duhem |
Subject: |
Re: [Help-smalltalk] [patch] Remove duplicate category output in RBFormatter>>#acceptMethodNode: |
Date: |
Wed, 28 Oct 2009 22:55:49 +0800 |
On Wed, Oct 28, 2009 at 3:55 AM, Paolo Bonzini <address@hidden> wrote:
> On 10/27/2009 06:53 PM, Lee Duhem wrote:
>>
>> Hi,
>>
>> This patch fix the following problem:
>>
>> st> (Array lookupSelector: #print) methodFormattedSourceString
>> 'print [
>> "Print a represention of the receiver on the Transcript (stdout the
>> GUI
>> is not active)"
>>
>> <category: ''printing''>
>> <category: ''printing''>
>> Transcript show: self printString
>> ]'
>
> This unfortunately breaks gst-convert.
>
> The right fix would be more complicated and it would involve basically 1)
> creating a new parse node type, 2) extracting STCompiler>>#compileAttribute:
> to RBMethodNode and making it create the new parse node type, 3) rewriting
> RBMethodNode>>#category and #category: to use the new parse node type as
> well.
>
> Gwen is doing work on the RBParser, maybe it's best to wait for him to
> finish that.
>
> Thanks anyway! Can you file a bug report on smalltalk.gnu.org?
Sure. See http://smalltalk.gnu.org/project/issue/421
lee