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

Improve faulty compiling: test shadowed reserved variables #12960

Conversation

privat
Copy link
Contributor

@privat privat commented Mar 9, 2023

This adds tests when trying to shadow a reserved variable. eg |self| self := 1. ^ self + 1

All works as expected, and you can compile and execute in faulty mode, minus a limiting assertion that is removed.

@privat privat changed the title Improve faulty compiling shadowed reserved Improve faulty compiling: test shadowed reserved variables Mar 9, 2023
@MarcusDenker MarcusDenker merged commit 4b6cd19 into pharo-project:Pharo11 Mar 9, 2023
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.

2 participants