Revert "fix"

This reverts commit 8c0ded23b7.
This commit is contained in:
Akash Levy 2026-05-27 03:55:23 -07:00
parent 7dcbdcbb34
commit b4286acc22
1 changed files with 1 additions and 1 deletions

View File

@ -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",