Skip to content

Commit

Permalink
[Query] Signal NoAnswer (not unstructured Error) from Symbol-indexed …
Browse files Browse the repository at this point in the history
…Reader
  • Loading branch information
shingarov committed Nov 12, 2024
1 parent 1ee135a commit 6561a73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PreSmalltalks/Context.extension.st
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ Context class >> readState: marker [
ctx isBlockContext not and: [
ctx methodSelector = #runReader:initialState: and: [
(ctx tempNamed: #marker) = marker ] ] ].
launchContext isNil ifTrue: [ ^self error: 'No state context: ', marker ].
launchContext isNil ifTrue: [ ^NoAnswer signalFor: marker ].
^launchContext tempNamed: #s
]

0 comments on commit 6561a73

Please sign in to comment.