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

New errors and warnings #252

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Conversation

noeensarguet
Copy link
Collaborator

@noeensarguet noeensarguet commented Jan 27, 2025

  • Raise a warning if a variable is defined twice within the same rule
  • Raise an error if a variable is defined in two different rules (within the same chaining). This brings back the same behaviour as the legacy compiler.
  • Improve the error message for an auto-cycle (the warning typically happens if instructions within a rule are in the wrong order, so that a variable is used before being defined)

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