Support generic interfaces (#6272)

This commit is contained in:
Igor Zaworski
2025-08-22 06:44:35 -04:00
committed by GitHub
parent b19215770b
commit b95a974ff1
94 changed files with 1813 additions and 68 deletions
+1
View File
@@ -73,6 +73,7 @@ bool VFwdType::isNodeCompatible(const AstNode* nodep) const {
case VFwdType::UNION: return VN_IS(defp, UnionDType); break;
case VFwdType::INTERFACE_CLASS: // FALLTHRU // TODO: Over permissive for now
case VFwdType::CLASS: return VN_IS(defp, ClassRefDType) || VN_IS(defp, Class); break;
case VFwdType::GENERIC_INTERFACE: return VN_IS(defp, IfaceRefDType); break;
default: v3fatalSrc("Bad case");
}
VL_UNREACHABLE;