Fix internal error - virtual interface not found (#7010)

This commit is contained in:
Igor Zaworski
2026-02-06 22:20:10 +00:00
committed by GitHub
parent 9a8538fafa
commit dc26dd601d
9 changed files with 132 additions and 112 deletions
+1 -1
View File
@@ -171,7 +171,7 @@ public:
entr.init(false);
} else {
if (AstConst* const constp = entr.constNodep()) {
if (!varrefp->varp()->isSigPublic() && !varrefp->varp()->sensIfacep()) {
if (!varrefp->varp()->isSigPublic() && !varrefp->varp()->isVirtIface()) {
// Aha, variable is constant; substitute in.
// We'll later constant propagate
UINFO(4, " replaceconst: " << varrefp);