mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
Fix type assignments for arrays of parameter types (#6955)
This commit is contained in:
+6
-2
@@ -4049,8 +4049,12 @@ class LinkDotResolveVisitor final : public VNVisitor {
|
||||
[this](AstVar* v, AstRefDType* r) { return promoteVarToParamType(v, r); },
|
||||
[this]() { return indent(); });
|
||||
|
||||
replaceWithCheckBreak(nodep, refp);
|
||||
VL_DO_DANGLING(pushDeletep(nodep), nodep);
|
||||
if (VN_IS(nodep->backp(), SelExtract)) {
|
||||
m_packedArrayDtp = refp;
|
||||
} else {
|
||||
replaceWithCheckBreak(nodep, refp);
|
||||
VL_DO_DANGLING(pushDeletep(nodep), nodep);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!ok) {
|
||||
|
||||
Reference in New Issue
Block a user