[Top][All Lists]

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

[Help-smalltalk] [bug] Parsing of selectors with underscore is broken

From: Holger Hans Peter Freyther
Subject: [Help-smalltalk] [bug] Parsing of selectors with underscore is broken
Date: Sat, 23 Mar 2013 14:31:10 -0700

Issue status update for Post a follow up:

Project:      GNU Smalltalk
Version:      <none>
Component:    STInST
Category:     bug reports
Priority:     normal
Assigned to:  Unassigned
Reported by:  zecke
Updated by:   zecke
Status:       active

When parsing the GemStone MontiCello definition I stumbled about two

st> STInST.RBParser parseExpression: 'self _foo'
RBAssignmentNode(self := foo)

st> STInST.RBParser parseExpression: '[:x:y | x+y]'
Object: RBParser new "<0x55913658>" error: (a #String):1: Variable name
Error(Exception)>>signal (

According to ANSI Smalltalk the '_' is reserved by the implementation.
Either we parse it or we reject it but it is certainly not an

The other one appears to be valid according to ANSI Smalltalk.

reply via email to

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