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

@@ -0,0 +1,5 @@
// expect: accept
// phase: 6
// spec: docs/spec/10-diagnostics-and-agent-protocol.md §2
module diagnostic.known_capability
fn main(c: cap<mem.alloc>) -> void effects [] {}
@@ -0,0 +1,5 @@
// expect: reject E7002
// phase: 6
// spec: docs/spec/10-diagnostics-and-agent-protocol.md §2
module diagnostic.unknown_capability
fn main(c: cap<unknown>) -> void effects [] {}