Syntax Highlighting error (RBParseErrorNode(Object)>>doesNotUnderstand: #isInstance)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Syntax Highlighting error (RBParseErrorNode(Object)>>doesNotUnderstand: #isInstance)

Sven Van Caekenberghe-2
I am seeing the following very annoying error in 50511 spur.

Open a Playground,
type [ (both open en close are inserted, with the cursor in-between),
type : (to start a block arg),
boom:

RBParseErrorNode(Object)>>doesNotUnderstand: #isInstance
OCASTClosureAnalyzer>>changeVariableClass:
OCASTClosureAnalyzer>>visitArgumentNode:
[ :each | self visitArgumentNode: each ] in OCASTClosureAnalyzer(RBProgramNodeVisitor)>>visitArgumentNodes:
OrderedCollection>>do:
OCASTClosureAnalyzer(RBProgramNodeVisitor)>>visitArgumentNodes:
OCASTClosureAnalyzer>>visitBlockNode:
RBBlockNode>>acceptVisitor:
OCASTClosureAnalyzer(RBProgramNodeVisitor)>>visitNode:
[ :each | self visitNode: each ] in OCASTClosureAnalyzer(RBProgramNodeVisitor)>>visitSequenceNode:
OrderedCollection>>do:
OCASTClosureAnalyzer(RBProgramNodeVisitor)>>visitSequenceNode:
RBSequenceNode>>acceptVisitor:
OCASTClosureAnalyzer(RBProgramNodeVisitor)>>visitNode:
OCASTClosureAnalyzer>>visitMethodNode:
RBMethodNode>>acceptVisitor:
OCASTClosureAnalyzer(RBProgramNodeVisitor)>>visitNode:
OCASTSemanticAnalyzer>>analyze:
RBMethodNode>>doSemanticAnalysis
RBBlockNode(RBProgramNode)>>doSemanticAnalysis
RubSHTextStylerST80(SHRBTextStyler)>>privateStyle:
[ self privateStyle: text.
view ifNotNil: [ view stylerStyledInBackground: text ] ] in [ backgroundProcess := [ self privateStyle: text.
view ifNotNil: [ view stylerStyledInBackground: text ] ]
        forkAt: Processor userBackgroundPriority ] in RubSHTextStylerST80(SHTextStyler)>>styleInBackgroundProcess:
[ self value.
Processor terminateActive ] in BlockClosure>>newProcess

Has this already been reported ?

It makes the image almost unusable...

Sven


Reply | Threaded
Open this post in threaded view
|

Re: Syntax Highlighting error (RBParseErrorNode(Object)>>doesNotUnderstand: #isInstance)

Marcus Denker-4
yes,

this is fixed by

https://pharo.fogbugz.com/f/cases/17276/Semantic-Analysis-needs-refactoring

I am now back from holidays and will review/intergrate this soon.


> On 05 Jan 2016, at 16:15, Sven Van Caekenberghe <[hidden email]> wrote:
>
> I am seeing the following very annoying error in 50511 spur.
>
> Open a Playground,
> type [ (both open en close are inserted, with the cursor in-between),
> type : (to start a block arg),
> boom:
>
> RBParseErrorNode(Object)>>doesNotUnderstand: #isInstance
> OCASTClosureAnalyzer>>changeVariableClass:
> OCASTClosureAnalyzer>>visitArgumentNode:
> [ :each | self visitArgumentNode: each ] in OCASTClosureAnalyzer(RBProgramNodeVisitor)>>visitArgumentNodes:
> OrderedCollection>>do:
> OCASTClosureAnalyzer(RBProgramNodeVisitor)>>visitArgumentNodes:
> OCASTClosureAnalyzer>>visitBlockNode:
> RBBlockNode>>acceptVisitor:
> OCASTClosureAnalyzer(RBProgramNodeVisitor)>>visitNode:
> [ :each | self visitNode: each ] in OCASTClosureAnalyzer(RBProgramNodeVisitor)>>visitSequenceNode:
> OrderedCollection>>do:
> OCASTClosureAnalyzer(RBProgramNodeVisitor)>>visitSequenceNode:
> RBSequenceNode>>acceptVisitor:
> OCASTClosureAnalyzer(RBProgramNodeVisitor)>>visitNode:
> OCASTClosureAnalyzer>>visitMethodNode:
> RBMethodNode>>acceptVisitor:
> OCASTClosureAnalyzer(RBProgramNodeVisitor)>>visitNode:
> OCASTSemanticAnalyzer>>analyze:
> RBMethodNode>>doSemanticAnalysis
> RBBlockNode(RBProgramNode)>>doSemanticAnalysis
> RubSHTextStylerST80(SHRBTextStyler)>>privateStyle:
> [ self privateStyle: text.
> view ifNotNil: [ view stylerStyledInBackground: text ] ] in [ backgroundProcess := [ self privateStyle: text.
> view ifNotNil: [ view stylerStyledInBackground: text ] ]
> forkAt: Processor userBackgroundPriority ] in RubSHTextStylerST80(SHTextStyler)>>styleInBackgroundProcess:
> [ self value.
> Processor terminateActive ] in BlockClosure>>newProcess
>
> Has this already been reported ?
>
> It makes the image almost unusable...
>
> Sven
>
>


Reply | Threaded
Open this post in threaded view
|

Re: Syntax Highlighting error (RBParseErrorNode(Object)>>doesNotUnderstand: #isInstance)

Sven Van Caekenberghe-2
Cool.

I just merged it and I can confirm that it solves my issue.

> On 05 Jan 2016, at 16:19, Marcus Denker <[hidden email]> wrote:
>
> yes,
>
> this is fixed by
>
> https://pharo.fogbugz.com/f/cases/17276/Semantic-Analysis-needs-refactoring
>
> I am now back from holidays and will review/intergrate this soon.
>
>
>> On 05 Jan 2016, at 16:15, Sven Van Caekenberghe <[hidden email]> wrote:
>>
>> I am seeing the following very annoying error in 50511 spur.
>>
>> Open a Playground,
>> type [ (both open en close are inserted, with the cursor in-between),
>> type : (to start a block arg),
>> boom:
>>
>> RBParseErrorNode(Object)>>doesNotUnderstand: #isInstance
>> OCASTClosureAnalyzer>>changeVariableClass:
>> OCASTClosureAnalyzer>>visitArgumentNode:
>> [ :each | self visitArgumentNode: each ] in OCASTClosureAnalyzer(RBProgramNodeVisitor)>>visitArgumentNodes:
>> OrderedCollection>>do:
>> OCASTClosureAnalyzer(RBProgramNodeVisitor)>>visitArgumentNodes:
>> OCASTClosureAnalyzer>>visitBlockNode:
>> RBBlockNode>>acceptVisitor:
>> OCASTClosureAnalyzer(RBProgramNodeVisitor)>>visitNode:
>> [ :each | self visitNode: each ] in OCASTClosureAnalyzer(RBProgramNodeVisitor)>>visitSequenceNode:
>> OrderedCollection>>do:
>> OCASTClosureAnalyzer(RBProgramNodeVisitor)>>visitSequenceNode:
>> RBSequenceNode>>acceptVisitor:
>> OCASTClosureAnalyzer(RBProgramNodeVisitor)>>visitNode:
>> OCASTClosureAnalyzer>>visitMethodNode:
>> RBMethodNode>>acceptVisitor:
>> OCASTClosureAnalyzer(RBProgramNodeVisitor)>>visitNode:
>> OCASTSemanticAnalyzer>>analyze:
>> RBMethodNode>>doSemanticAnalysis
>> RBBlockNode(RBProgramNode)>>doSemanticAnalysis
>> RubSHTextStylerST80(SHRBTextStyler)>>privateStyle:
>> [ self privateStyle: text.
>> view ifNotNil: [ view stylerStyledInBackground: text ] ] in [ backgroundProcess := [ self privateStyle: text.
>> view ifNotNil: [ view stylerStyledInBackground: text ] ]
>> forkAt: Processor userBackgroundPriority ] in RubSHTextStylerST80(SHTextStyler)>>styleInBackgroundProcess:
>> [ self value.
>> Processor terminateActive ] in BlockClosure>>newProcess
>>
>> Has this already been reported ?
>>
>> It makes the image almost unusable...
>>
>> Sven
>>
>>
>
>


Reply | Threaded
Open this post in threaded view
|

Re: Syntax Highlighting error (RBParseErrorNode(Object)>>doesNotUnderstand: #isInstance)

Marcus Denker-4
In reply to this post by Marcus Denker-4
Hello,

This is now integrated.

> On 05 Jan 2016, at 16:19, Marcus Denker <[hidden email]> wrote:
>
> yes,
>
> this is fixed by
>
> https://pharo.fogbugz.com/f/cases/17276/Semantic-Analysis-needs-refactoring
>
> I am now back from holidays and will review/intergrate this soon.
>
>
>> On 05 Jan 2016, at 16:15, Sven Van Caekenberghe <[hidden email]> wrote:
>>
>> I am seeing the following very annoying error in 50511 spur.
>>
>> Open a Playground,
>> type [ (both open en close are inserted, with the cursor in-between),
>> type : (to start a block arg),
>> boom:
>>
>> RBParseErrorNode(Object)>>doesNotUnderstand: #isInstance
>> OCASTClosureAnalyzer>>changeVariableClass:
>> OCASTClosureAnalyzer>>visitArgumentNode:
>> [ :each | self visitArgumentNode: each ] in OCASTClosureAnalyzer(RBProgramNodeVisitor)>>visitArgumentNodes:
>> OrderedCollection>>do:
>> OCASTClosureAnalyzer(RBProgramNodeVisitor)>>visitArgumentNodes:
>> OCASTClosureAnalyzer>>visitBlockNode:
>> RBBlockNode>>acceptVisitor:
>> OCASTClosureAnalyzer(RBProgramNodeVisitor)>>visitNode:
>> [ :each | self visitNode: each ] in OCASTClosureAnalyzer(RBProgramNodeVisitor)>>visitSequenceNode:
>> OrderedCollection>>do:
>> OCASTClosureAnalyzer(RBProgramNodeVisitor)>>visitSequenceNode:
>> RBSequenceNode>>acceptVisitor:
>> OCASTClosureAnalyzer(RBProgramNodeVisitor)>>visitNode:
>> OCASTClosureAnalyzer>>visitMethodNode:
>> RBMethodNode>>acceptVisitor:
>> OCASTClosureAnalyzer(RBProgramNodeVisitor)>>visitNode:
>> OCASTSemanticAnalyzer>>analyze:
>> RBMethodNode>>doSemanticAnalysis
>> RBBlockNode(RBProgramNode)>>doSemanticAnalysis
>> RubSHTextStylerST80(SHRBTextStyler)>>privateStyle:
>> [ self privateStyle: text.
>> view ifNotNil: [ view stylerStyledInBackground: text ] ] in [ backgroundProcess := [ self privateStyle: text.
>> view ifNotNil: [ view stylerStyledInBackground: text ] ]
>> forkAt: Processor userBackgroundPriority ] in RubSHTextStylerST80(SHTextStyler)>>styleInBackgroundProcess:
>> [ self value.
>> Processor terminateActive ] in BlockClosure>>newProcess
>>
>> Has this already been reported ?
>>
>> It makes the image almost unusable...
>>
>> Sven
>>
>>
>


Reply | Threaded
Open this post in threaded view
|

Re: Syntax Highlighting error (RBParseErrorNode(Object)>>doesNotUnderstand: #isInstance)

stepharo
thanks :)


Le 8/1/16 14:56, Marcus Denker a écrit :

> Hello,
>
> This is now integrated.
>
>> On 05 Jan 2016, at 16:19, Marcus Denker <[hidden email]> wrote:
>>
>> yes,
>>
>> this is fixed by
>>
>> https://pharo.fogbugz.com/f/cases/17276/Semantic-Analysis-needs-refactoring
>>
>> I am now back from holidays and will review/intergrate this soon.
>>
>>
>>> On 05 Jan 2016, at 16:15, Sven Van Caekenberghe <[hidden email]> wrote:
>>>
>>> I am seeing the following very annoying error in 50511 spur.
>>>
>>> Open a Playground,
>>> type [ (both open en close are inserted, with the cursor in-between),
>>> type : (to start a block arg),
>>> boom:
>>>
>>> RBParseErrorNode(Object)>>doesNotUnderstand: #isInstance
>>> OCASTClosureAnalyzer>>changeVariableClass:
>>> OCASTClosureAnalyzer>>visitArgumentNode:
>>> [ :each | self visitArgumentNode: each ] in OCASTClosureAnalyzer(RBProgramNodeVisitor)>>visitArgumentNodes:
>>> OrderedCollection>>do:
>>> OCASTClosureAnalyzer(RBProgramNodeVisitor)>>visitArgumentNodes:
>>> OCASTClosureAnalyzer>>visitBlockNode:
>>> RBBlockNode>>acceptVisitor:
>>> OCASTClosureAnalyzer(RBProgramNodeVisitor)>>visitNode:
>>> [ :each | self visitNode: each ] in OCASTClosureAnalyzer(RBProgramNodeVisitor)>>visitSequenceNode:
>>> OrderedCollection>>do:
>>> OCASTClosureAnalyzer(RBProgramNodeVisitor)>>visitSequenceNode:
>>> RBSequenceNode>>acceptVisitor:
>>> OCASTClosureAnalyzer(RBProgramNodeVisitor)>>visitNode:
>>> OCASTClosureAnalyzer>>visitMethodNode:
>>> RBMethodNode>>acceptVisitor:
>>> OCASTClosureAnalyzer(RBProgramNodeVisitor)>>visitNode:
>>> OCASTSemanticAnalyzer>>analyze:
>>> RBMethodNode>>doSemanticAnalysis
>>> RBBlockNode(RBProgramNode)>>doSemanticAnalysis
>>> RubSHTextStylerST80(SHRBTextStyler)>>privateStyle:
>>> [ self privateStyle: text.
>>> view ifNotNil: [ view stylerStyledInBackground: text ] ] in [ backgroundProcess := [ self privateStyle: text.
>>> view ifNotNil: [ view stylerStyledInBackground: text ] ]
>>> forkAt: Processor userBackgroundPriority ] in RubSHTextStylerST80(SHTextStyler)>>styleInBackgroundProcess:
>>> [ self value.
>>> Processor terminateActive ] in BlockClosure>>newProcess
>>>
>>> Has this already been reported ?
>>>
>>> It makes the image almost unusable...
>>>
>>> Sven
>>>
>>>
>
>