WIP §32 header recovery — DO NOT MERGE: half-finished; a fuzz test loops without advancing and exhausts memory (crashed the machine 2026-09-03)

Checkpoint of the interrupted dev work (rate limit) so master stays
clean. Known state: a_half_typed_instantiation_is_one_error_node
(expected to invert) and tolerant_parse_equals_strict_parse_on_valid_
sources FAIL; the error_recovery test binary exceeds 6 GB under
tools/guard.sh (a non-advancing recovery loop under the delete-any-
character / truncate fuzzers). Resume in a worktree of this branch,
under tools/guard.sh, fixing the advance guarantee first.

Co-Authored-By: Claude Fable 5 <[email protected]>
This commit is contained in:
lucioandClaude Fable 5 committed 2026-09-03 17:48:28 -07:00
1 parent 4d70de1976
commit 6a15594ae8
50 files changed
+1135 -430

No files matched your search

+2 -2
View File
@@ -382,7 +382,7 @@ fn an_ifdef_inside_an_instantiations_parameter_value_captures_only_that_value()
};
assert_eq!(inst.module, "padring");
assert_eq!(inst.instances[0].name, "u_padring");
let params = inst.params.as_ref().expect("a parameter override list");
let params = oks(inst.params.as_ref().expect("a parameter override list"));
let Some(Expr { kind: ExprKind::Verbatim(raw), .. }) = &params[0].expr else {
panic!("expected a verbatim override value")
};
@@ -392,7 +392,7 @@ fn an_ifdef_inside_an_instantiations_parameter_value_captures_only_that_value()
let Connections::Named(conns) = &inst.instances[0].conns else {
panic!("expected named connections")
};
assert_eq!(conns[0].name, "clk");
assert_eq!(oks(conns)[0].name, "clk");
assert!(matches!(m.items[1].kind, ItemKind::DataDecl(_)), "the next item survived");
}