CppParser bug: declaration/field_declaration nodes created Variable AST nodes
but never extracted the "type" field from the tree-sitter parse tree. This
caused CppGeneratorTypes::inferFieldType to always fall back to
"auto /* TODO: specify type */" for struct fields whose names didn't match
name-based heuristics. Fix: read childByFieldName(member, "type"), create a
PrimitiveType child, and attach via var->setChild("type", ...) — same pattern
already used for function return types and parameters. Also unwrap
init_declarator nodes so field names are clean identifiers, not "x = 0".
queue_ready bug: strictExecutionContract mode blocked on missing testFiles
even when the project was starting new work and test files don't exist yet.
Demoted to a warning so new sprint work is not blocked on pre-declared tests.
5/5 tests passing (step1990_test).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
4.5 KiB
4.5 KiB