From e5adb60461c656bef6ae3e7e60290e2a75293c54 Mon Sep 17 00:00:00 2001 From: Geza Lore Date: Thu, 26 Mar 2026 17:44:11 +0000 Subject: [PATCH] Internals: Only add VAR_PORT_DTYPE prior to V3Width (#7331) --- src/V3LinkDot.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/V3LinkDot.cpp b/src/V3LinkDot.cpp index 7fee470a9..0c088ffee 100644 --- a/src/V3LinkDot.cpp +++ b/src/V3LinkDot.cpp @@ -1912,7 +1912,7 @@ class LinkDotFindVisitor final : public VNVisitor { // dtype comes from the other side. VL_DO_DANGLING(varDtp->unlinkFrBack()->deleteTree(), varDtp); findvarp->childDTypep(otherDtp->unlinkFrBack()); - } else if (otherDtp && varDtp + } else if (m_statep->forPrearray() && otherDtp && varDtp && !(VN_IS(otherDtp, BasicDType) && VN_AS(otherDtp, BasicDType)->implicit())) { // otherDtp and varDtp both non-nullptr and neither are implicit