Internals: Defer interface typedefs, and add more tests (#3441 tests)

This commit is contained in:
Wilson Snyder
2025-11-21 19:42:22 -05:00
parent 7e3cab8e5d
commit 6bba9f6c40
16 changed files with 272 additions and 44 deletions
+3
View File
@@ -4961,6 +4961,9 @@ class LinkDotResolveVisitor final : public VNVisitor {
const VSymEnt* foundp;
if (nodep->classOrPackagep()) {
foundp = m_statep->getNodeSym(nodep->classOrPackagep())->findIdFlat(nodep->name());
} else if (!nodep->ifacePortName().empty()) { // Interface typedef
nodep->v3error("Unsupported: SystemVerilog 2005 interface typedef");
return;
} else if (m_ds.m_dotPos == DP_FIRST || m_ds.m_dotPos == DP_NONE) {
foundp = m_curSymp->findIdFallback(nodep->name());
} else {