diag: preserve envelope fields and reject JSON key collisions in tests

This commit is contained in:
dev committed 2026-10-07 19:28:36 +03:00
1 parent 8ee0f4c2bf
commit 364eb57bbc
16 files changed
+166 -12

No files matched your search

+2 -2
View File
@@ -47,7 +47,7 @@ Draft registry. Codes are stable once released in a tagged compiler version.
| E3002 | resource.leak | Linear resource has no terminal consumption path |
| E3101 | effect.undeclared | Callee effect absent from caller contract |
| E3201 | capability.missing | Required authority unavailable |
| E3202 | capability.widen | Attempt to widen delegated authority |
| E3202 | capability.widen | Attempt to widen delegated authority; unsupported narrowing forms identify `capability_kind` |
## E4xxx — Concurrency
@@ -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 |
| E7002 | source.unknown_name | Undefined variable, function, type, field or variant; an unknown capability kind is `capability_kind` |
| 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 |