Skip to content
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

Fixing overlay experiments with instance variables #23

Draft
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

adri09070
Copy link
Contributor

Tests were red in DebuggableASTInterpreterOverlays because overlays weren't created.

This was because, to register an overlay for a given pc when an instance variable was assigned, the DASTOverlayInterpreter>>#write:toInstVarNamed: (that overrides DASTContext>>#write:toInstVarNamed: should have been called. However, it wasn't called as it was letting the DASTContext directly write into the instance variable.

I fixed it so that the DASTOverlayInterpreter>>#write:toInstVarNamed: is really called to create the overlays and all tests are green now (except those related to proxies as something is broken with Ghost).
It shouldn't have any impact when we use the DASTIntepreter>>#write:toInstVarNamed: lets the context directly write into the instance variable, just like before.

This shouldn't be merged yet because I have to solve some conflicts and we should create a new branch for the overlay experiment, as we said

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant