mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
Fix not reporting class reference with extra parameters (#5467).
This commit is contained in:
@@ -3943,6 +3943,7 @@ class LinkDotResolveVisitor final : public VNVisitor {
|
||||
UINFO(5, indent() << "visit " << nodep << endl);
|
||||
if (AstNode* const cpackagep = nodep->classOrPackageOpp()) {
|
||||
if (AstClassOrPackageRef* const cpackagerefp = VN_CAST(cpackagep, ClassOrPackageRef)) {
|
||||
iterate(cpackagerefp);
|
||||
const AstClass* const clsp = VN_CAST(cpackagerefp->classOrPackageNodep(), Class);
|
||||
if (clsp && clsp->isParameterized()) {
|
||||
// Unable to link before the instantiation of parameter classes.
|
||||
|
||||
Reference in New Issue
Block a user