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

Prevent undeclared to be associations #15306

Open
wants to merge 1 commit into
base: Pharo12
Choose a base branch
from

Conversation

jecisc
Copy link
Member

@jecisc jecisc commented Nov 10, 2023

Undeclared should only contain UndeclaredVariables but currently it seems that some places (the bootstrap?) are still using association. Here I am trying to force the usage of the variable to find the missbehaving places

Undeclared should only contain UndeclaredVariables but currently it seems that some places (the bootstrap?) are still using association. Here I am trying to force the usage of the variable to find the missbehaving places
@jecisc
Copy link
Member Author

jecisc commented Nov 10, 2023

@MarcusDenker With this PR I found out that we had a case were we do not put an undeclared in the undeclareds and this is in Espell:

https://github.com/guillep/espell/blob/master/src/Espell.package/EPGlobalBinding.class/instance/asLiteralInObjectSpace..st

And

https://github.com/guillep/espell/blob/master/src/Espell.package/EPUndeclaredBinding.class/instance/asLiteralInObjectSpace..st

We put a nil there. Since we cannot patch Espell for now maybe we could do a nil management in UndeclaredRegistry?

@jecisc jecisc added Status: Need more work The issue is nearly ready. Waiting some last bits. Status: Discussion labels Nov 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Discussion Status: Need more work The issue is nearly ready. Waiting some last bits.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant