Status: Accepted
Owner: [email protected]
New issue 3502 by [email protected]: DNU while parsing
http://code.google.com/p/pharo/issues/detail?id=3502
($A to: $Z) do: [:each |
Transcript show: '|*';
show: each asString;
show: '>Index: ';
show: each asString;
show: '*';
]
gives a cascade error in squeak and a DNU in recent Pharo:
TextMorphForEditView(Object)>>doesNotUnderstand: #notify:at:in:
Receiver: a TextMorphForEditView(284950528)
Arguments and temporary variables:
aMessage: notify: 'Cascade expected ->' at: 131 in: a
ReadWriteStream '($A to: ...etc...
exception: MessageNotUnderstood:
TextMorphForEditView>>notify:at:in:
resumeValue: nil
Receiver's instance variables:
bounds: 0...@0 corner: 4...@114
owner: a TransformMorph(182190080)
submorphs: #()
fullBounds: 0...@0 corner: 4...@114
color: Color black
extension: a MorphExtension (680787968) [other: (blinkStart ->
14517886) (myDe...etc...
borderWidth: 0
borderColor: Color black
textStyle: a TextStyle Bitmap DejaVu Sans 9
text: a Text for '($A to: $Z) do: [:each |
Transcript show: ''|*'';
show: ea...etc...
wrapFlag: true
paragraph: a MultiNewParagraph
editor: a SmalltalkEditor
container: nil
predecessor: nil
successor: nil
backgroundColor: nil
margins: nil
editView: a PluggableTextMorph(123469824)
acceptOnCR: false
Parser>>notify:at:
Receiver: a Parser
Arguments and temporary variables:
string: 'Cascade expected'
location: 131
Receiver's instance variables:
source: a ReadWriteStream '($A to: $Z) do: [:each |
Transcript show: ''|*'';
...etc...
mark: 130
hereChar: Character arrowUp
aheadChar: Character arrowUp
token: #''
tokenType: #doIt
currentComment: nil
buffer: a WriteStream '*'
typeTable: #(#xBinary #xBinary #xBinary #xBinary #xBinary #xBinary
#xBinary #xB...etc...
here: #']'
hereType: #rightBracket
hereMark: 131
hereEnd: 130
prevMark: 127
prevEnd: 127
encoder: {an EncoderForV3PlusClosures}
requestor: a TextMorphForEditView(284950528)
parseNode: {Transcript}
failBlock: [^ failBlock value]
requestorOffset: 0
tempsMark: 1
doitFlag: true
properties: an AdditionalMethodState
category: nil
Parser>>expected:
Receiver: a Parser
Arguments and temporary variables:
aString: 'Cascade'
Receiver's instance variables:
source: a ReadWriteStream '($A to: $Z) do: [:each |
Transcript show: ''|*'';
...etc...
mark: 130
hereChar: Character arrowUp
aheadChar: Character arrowUp
token: #''
tokenType: #doIt
currentComment: nil
buffer: a WriteStream '*'
typeTable: #(#xBinary #xBinary #xBinary #xBinary #xBinary #xBinary
#xBinary #xB...etc...
here: #']'
hereType: #rightBracket
hereMark: 131
hereEnd: 130
prevMark: 127
prevEnd: 127
encoder: {an EncoderForV3PlusClosures}
requestor: a TextMorphForEditView(284950528)
parseNode: {Transcript}
failBlock: [^ failBlock value]
requestorOffset: 0
tempsMark: 1
doitFlag: true
properties: an AdditionalMethodState
category: nil