Fix typedef :: class reference error (#6862).

This commit is contained in:
Wilson Snyder
2025-12-24 10:01:46 -05:00
parent a0f0edd594
commit 397e64903c
4 changed files with 54 additions and 1 deletions
+1 -1
View File
@@ -3281,7 +3281,7 @@ class LinkDotResolveVisitor final : public VNVisitor {
// Cell: Recurse inside or cleanup not founds
LINKDOT_VISIT_START();
UINFO(5, indent() << "visit " << nodep);
checkNoDot(nodep);
// Can be under dot if called as package::class and that class resolves, so no checkNoDot
VL_RESTORER(m_usedPins);
m_usedPins.clear();
UASSERT_OBJ(nodep->classp(), nodep, "ClassRef has unlinked class");