frontend: validate unknown effect names before body lowering
This commit is contained in:
1 parent
4c9c5626c9
commit
762c5abe7b
40 files changed
+335
-9
No files matched your search
@@ -87,7 +87,7 @@ Only problems that exist because of the frontend. Everything the verifier decide
|
||||
| Code | Kind | Meaning |
|
||||
|---|---|---|
|
||||
| E7001 | source.syntax | Malformed `.aji` source |
|
||||
| E7002 | source.unknown_name | Undefined variable, function, type, field or variant; an unknown capability kind is `capability_kind` |
|
||||
| E7002 | source.unknown_name | Undefined variable, function, type, field, variant or effect; an unknown capability kind is `capability_kind`, an unknown effect is `name` and `effect` |
|
||||
| E7003 | source.missing_move | Named linear value consumed without `move` |
|
||||
| E7004 | source.not_exhaustive | `match` misses an outcome, variant or default |
|
||||
| E7005 | source.type_mismatch | Expression has the wrong type in a source position |
|
||||
|
||||
Reference in new issue
Block a user