From b4286acc22f30636c502a5fe6430c25761e3984b Mon Sep 17 00:00:00 2001 From: Akash Levy Date: Wed, 27 May 2026 03:55:23 -0700 Subject: [PATCH] Revert "fix" This reverts commit 8c0ded23b7852c3e5b2b2922b4ea5e430fd3fd94. --- kernel/fstdata.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/fstdata.cc b/kernel/fstdata.cc index f1d85f1eb..92f12e480 100644 --- a/kernel/fstdata.cc +++ b/kernel/fstdata.cc @@ -182,7 +182,7 @@ void FstData::extractVarNames() fork_parent_scope = fst_scope_name; fork_name = h->u.scope.name; fork_vars.clear(); - } else if (detect_union && h->u.scope.typ == FST_ST_VCD_STRUCT) { + } else if (in_fork && h->u.scope.typ == FST_ST_VCD_STRUCT) { // Signal that a nested $fork can not be a candidate for union struct detection. log_warning("Nested $fork '%s' inside $fork '%s'; " "abandoning union detection for this scope...\n",