-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement GRPlatform >> #thisContext on GemStone #40
Comments
Hi @dalehenrich, |
Are you waiting for me to do the implementation? |
Oh, I thought @marschall told me you had an idea on how to do that. I just assumed this was discussed at ESUG. If this was not the case, I'm curious to hear your thoughts on how to approach this in GemStone. |
I think there was only one spot where ‘thisContext’ was being used so a method wasn’t needed ... If there is more than one spot then the method can be added ... with regards to continuations ‘thisContext’ isn’t the only reason we don’t have a common implementation |
Ok, I took some time to read up on the issue and figure out why this idea exists and what your response to my previous question actually means :) Just to give it a try, I tried implementing the thisContext
^ (GsContext fromLevel: 1) sender sender So... @marschall... do we need object identity comparison? @dalehenrich: does that sound correct to you? |
@jbrichau I don't think we need the object identity, I just needed to write a minimal test and I wanted to express the contract of |
TODO: Need to move |
For Grease 1.4.0, I only moved |
We now have a
#thisContext
method for dialects that do not have athisContext
variable.In order to get the tests running and the
#stackDepth
method working we need the following API:In order to get
WAPharoWalkback
to work we need the following API:We used to send
#tempScopedNames
but that seems to be gone.We used to send more messages but this seems to be the only part of the Pharo context API that is guaranteed to work.
There are references to
thisContext
in methods namedevaluate
that read something likeI left out what we need for continuations since they're going to be different for GemStone anyway.
Since they are GemStone specific anyway I don't know how much replacing these makes sense.
The text was updated successfully, but these errors were encountered: