-
Notifications
You must be signed in to change notification settings - Fork 14
Closed
Description
Sindarin is the only user of #outerMostContext, a method that does not really seem to make sense... especially if one looks at the code that uses is:
SindarinDebugger>>#canStillExecute:
rightContext == rightContext outerMostContext or: [
rightContext method ast allChildren identityIncludes: aProgramNode ] ]
whileFalse: [ rightContext := rightContext sender ].
So this check if the right context is the outerMostContext (defined by walking up the outerContext chain), but what it then does it to walk up the sender chain.
outerMostContext
^ self outerContext
ifNil: [ self ]
ifNotNil: [ self outerContext ]
Metadata
Metadata
Assignees
Labels
No labels