From 8c0ded23b7852c3e5b2b2922b4ea5e430fd3fd94 Mon Sep 17 00:00:00 2001 From: Stan Lee Date: Tue, 26 May 2026 23:14:11 -0700 Subject: [PATCH] fix --- kernel/fstdata.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/fstdata.cc b/kernel/fstdata.cc index 92f12e480..f1d85f1eb 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 (in_fork && h->u.scope.typ == FST_ST_VCD_STRUCT) { + } else if (detect_union && 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",