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

Draft strict mode #17924

Open
wants to merge 6 commits into
base: Pharo13
Choose a base branch
from
Open

Draft strict mode #17924

wants to merge 6 commits into from

Conversation

guillep
Copy link
Member

@guillep guillep commented Mar 3, 2025

Draft an optional strict code loading mode that does not accept:

  • undeclared variables
  • syntax errors

Instead of just loading the code with errors, this option makes loading fail with an exception.

This PR implements this through:

  • extending monticello loaders with a strict flag
  • extending metacello with
    • the ability to specify the strict loading of a baseline/package
    • the ability to change the default strictness for a whole loading in the Metacello new ... strict: true expression

@guillep guillep requested review from demarey and jecisc March 3, 2025 15:54
@Ducasse
Copy link
Member

Ducasse commented Mar 3, 2025

I would like to have a strict mode where we cannot redefine self and others too dynamic features.

@guillep guillep marked this pull request as ready for review March 13, 2025 13:44
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

2 participants