Skip to content

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