load: 'bootstrap/stream.slate'. bug
Lendvai Attila
Attila.Lendvai at netvisor.hu
Tue Jul 20 03:36:09 PDT 2004
hi!
so here is what i could find out up till now:
it stops at this line in streams.slate:
FilterStream addSlot: #block valued: [| :_ | True].
but not in a consistent way. always bombs the debugger for the first time evaluating the entire file, but later it works sometimes. somehow it depends on the evaluation of stuff before the line in question.
here is an intresting stackframe with 8 parameters?! that comes from the code block below:
parser parseAtom: _@(Syntax BeginBlockToken traits)
[
parser parseBlock: (Syntax Block newEmpty readFrom: parser)
].
Debug [0..2]: 0
Select a stack frame [0..]: 6
[parseBlock:]
0: ("Parser" Condition: ("Condition" handlers: {"ExtensibleArray"}. exitContinuation: []. s
traits: ("Condition" ...)). Exhaustion: ("Exhaustion" handlers: {"Extensibl
returnContinuation: []. traits: ("Exhaustion" ...)). lookAheadBuffer: {"Ext
Any . Union . Type . Clone .
Intersection . Singleton . Array . traits .
None . Not . Member . Range .
Block ). lexer: ("Lexer" Condition: ("Condition" ...). Exhaustion: ("Exhaus
lineNumber: 597. stream: ("ReadStream" ...). Error: ("Error" ...). traits:
currentScope: ("Block" localVariables: {...}. parentScope: ("Namespace" ...). optio
optionalVariables: {}. type: ("Any" ...). restVariable: Nil. lineNumber: 59
inputVariables: {...}. traits: ("Block" ...)). Error: ("Error" handlers: {"
lineNumber: 0. returnContinuation: []. description: 'Undescribed condition'
traits: ("Parser" traits: ("Traits" ...). printName: 'Parser'. parent0: ("ReadStrea
1: ("Block" localVariables: {("Variable" ...)}. parentScope: ("Namespace" type: ("Any" ...)
traits: ("Namespace" ...)). optionalKeywords: {}. statements: {}. optionalV
type: ("Any" rules: <"Unprintable">. traits: ("Any" ...)). restVariable: Nil. lineN
inputVariables: {("Variable" ...)}. traits: ("Block" traits: ("Traits" ...). printN
2: ("BeginVariablesToken" traits: ("BeginVariablesToken" traits: ("Traits" ...). printName:
3: Nil
4: 597
5: ("WriteStream" Condition: ("Condition" handlers: {"ExtensibleArray"}. exitContinuation:
traits: ("Condition" ...)). Exhaustion: ("Exhaustion" handlers: {"Extensibl
returnContinuation: []. traits: ("Exhaustion" ...)). collection: {("Variabl
Nil. Nil. Nil. Nil.
Nil. Nil. Nil. Nil.
Nil. Nil. Nil. Nil.
Nil. Nil. ...}.. position: 1.
writeLimit: 20. readLimit: 1. traits: ("WriteStream" parent0: ("Stream" ...). paren
printName: 'WriteStream'. traits: ("Traits" ...)))
6: ("WriteStream" Condition: ("Condition" handlers: {"ExtensibleArray"}. exitContinuation:
traits: ("Condition" ...)). Exhaustion: ("Exhaustion" handlers: {"Extensibl
returnContinuation: []. traits: ("Exhaustion" ...)). collection: {}. positi
writeLimit: 0. readLimit: 0. traits: ("WriteStream" parent0: ("Stream" ...). parent
printName: 'WriteStream'. traits: ("Traits" ...)))
7: ("WriteStream" Condition: ("Condition" handlers: {"ExtensibleArray"}. exitContinuation:
traits: ("Condition" ...)). Exhaustion: ("Exhaustion" handlers: {"Extensibl
returnContinuation: []. traits: ("Exhaustion" ...)). collection: {}. positi
writeLimit: 0. readLimit: 0. traits: ("WriteStream" parent0: ("Stream" ...). parent
printName: 'WriteStream'. traits: ("Traits" ...)))
The following condition was signaled:
The method #block: was not found for the following arguments:
{("FilterStream" Condition: ("Condition" ...). Exhaustion: ("Exhaustion" ...). source: ("Re
[]}
first two is ok, but the rest?
that's all i can gather now.
hope it helps,
- 101
More information about the Slate
mailing list