fix: CI test failures from collapsed=true default

- compose.cpp: show static fields for root structs even when collapsed
- test_compose: set collapsed=false on nodes needing expanded rendering
- test_disasm: set collapsed=false on vtable pointer nodes
- test_static_fields: rewrite collapsed test to use non-root child struct
This commit is contained in:
IChooseYou
2026-03-07 11:58:08 -07:00
committed by IChooseYou
parent 70c7404556
commit f0fc85f60f
4 changed files with 66 additions and 9 deletions

View File

@@ -587,7 +587,7 @@ void composeParent(ComposeState& state, const NodeTree& tree,
}
// ── Static fields: render after regular children, before footer ──
if (!staticIdxs.isEmpty() && !node.collapsed) {
if (!staticIdxs.isEmpty() && (!node.collapsed || isRootHeader)) {
// Build identifier resolver for static field expressions
auto makeResolver = [&](uint64_t parentAbsAddr) {
AddressParserCallbacks cbs;