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

Warn when triggers are specified that can not matched against #4958

Closed
keyboardDrummer opened this issue Jan 9, 2024 · 1 comment
Closed
Labels
area: error-reporting Clarity of the error reporting kind: enhancement Enhancements, feature requests, etc. These are NOT bugs, but ways we can improve Dafny

Comments

@keyboardDrummer
Copy link
Member

keyboardDrummer commented Jan 9, 2024

Triggers that contain interpreted symbols, such as the + in xs[idx..idx + n] can not be matched against. Dafny should provide a warning when such triggers are specified.

More context is in this discussion:
#4920 (comment)

@keyboardDrummer keyboardDrummer added kind: enhancement Enhancements, feature requests, etc. These are NOT bugs, but ways we can improve Dafny area: error-reporting Clarity of the error reporting labels Jan 9, 2024
@keyboardDrummer
Copy link
Member Author

It seems like Dafny already gives a warning, closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: error-reporting Clarity of the error reporting kind: enhancement Enhancements, feature requests, etc. These are NOT bugs, but ways we can improve Dafny
Projects
None yet
Development

No branches or pull requests

1 participant