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

Statically forbid usage of revert in predicates #5986

Open
IGI-111 opened this issue May 10, 2024 · 0 comments
Open

Statically forbid usage of revert in predicates #5986

IGI-111 opened this issue May 10, 2024 · 0 comments
Labels
compiler: frontend Everything to do with type checking, control flow analysis, and everything between parsing and IRgen compiler: ui Mostly compiler messages good first issue Good for newcomers

Comments

@IGI-111
Copy link
Contributor

IGI-111 commented May 10, 2024

Using reverts in predicates produces a panic as they are illegal. Using them in that context should produce an error at compile time.

@IGI-111 IGI-111 added good first issue Good for newcomers compiler: frontend Everything to do with type checking, control flow analysis, and everything between parsing and IRgen compiler: ui Mostly compiler messages labels May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler: frontend Everything to do with type checking, control flow analysis, and everything between parsing and IRgen compiler: ui Mostly compiler messages good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant