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

Operator overriding in annotations #2818

Open
konnov opened this issue Jan 23, 2024 · 0 comments
Open

Operator overriding in annotations #2818

konnov opened this issue Jan 23, 2024 · 0 comments
Labels
feature A new feature or functionality

Comments

@konnov
Copy link
Contributor

konnov commented Jan 23, 2024

This feature request was brought in the discussion.

Currently, Apalache allows the user to specify operator overrides as explained here. For example:

OVERRIDE_BIRTH_YEAR == 80
OVERRIDE_LICENSE_AGE == 18

As Markus suggested, this could look much better if annotations were used, e.g.:

\* @overrides("BIRTH_YEAR")
MY_BIRTH_YEAR == 80
\* @overrides("LICENSE_AGE")
MY_LICENSE_AGE == 18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new feature or functionality
Projects
None yet
Development

No branches or pull requests

1 participant