frontend: collect independent source diagnostics without cascades

This commit is contained in:
dev committed 2026-10-09 16:01:18 +03:00
1 parent 2c6c7a3dcd
commit 4cda44823d
47 files changed
+697 -44

No files matched your search

+3
View File
@@ -163,6 +163,9 @@ pub const RepairCandidate = struct {
alternatives: []const []const u8 = &.{},
};
/// Fixed source collection bound (spec 15 §10), never a semantic flag.
pub const source_diagnostic_limit = 32;
/// Shared serialization for the envelope and conformance advice goldens.
pub fn writeRepairCandidates(candidates: []const RepairCandidate, s: *std.json.Stringify) std.Io.Writer.Error!void {
try s.beginArray();