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

Faulty code: make undeclared write resumable with the right value #13297

Merged

Conversation

privat
Copy link
Contributor

@privat privat commented Apr 5, 2023

Kernel runtime error UndeclaredVariableWrite is now resumable, and keep the right value (pun on correct and rvalue). The value is stored in the exception, so easy to access if someone cares.

This is a different (and better) implementation than the one in (not yet merged) PR #13238.
And also contains a test.

Copy link
Member

@jecisc jecisc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like this approach

@MarcusDenker MarcusDenker merged commit 4e3b0c8 into pharo-project:Pharo12 Apr 5, 2023
1 of 2 checks passed
@MarcusDenker
Copy link
Member

ups, too early merge

@MarcusDenker
Copy link
Member

but the test is green of the CI on the mac and linux, so it looks good

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.

None yet

3 participants