diag: preserve envelope fields and reject JSON key collisions in tests
This commit is contained in:
1 parent
8ee0f4c2bf
commit
364eb57bbc
16 files changed
+166
-12
No files matched your search
@@ -716,7 +716,7 @@ const Lowerer = struct {
|
||||
};
|
||||
},
|
||||
.cap => |k| {
|
||||
if (authority.kindIndex(k) == null) return l.fail("E7002", t.span, "unknown capability kind", &.{.{ .name = "kind", .value = k }});
|
||||
if (authority.kindIndex(k) == null) return l.fail("E7002", t.span, "unknown capability kind", &.{.{ .name = "capability_kind", .value = k }});
|
||||
return .{ .cap = k };
|
||||
},
|
||||
.file => |m| {
|
||||
|
||||
Reference in new issue
Block a user