Statically forbid usage of revert in predicates #5986
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
Using reverts in predicates produces a panic as they are illegal. Using them in that context should produce an error at compile time.
The text was updated successfully, but these errors were encountered: