mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Tests: Add t_param_type_bad3
This commit is contained in:
+2
-2
@@ -3341,8 +3341,8 @@ class LinkDotResolveVisitor final : public VNVisitor {
|
||||
nodep->replaceWith(newp);
|
||||
VL_DO_DANGLING(pushDeletep(nodep), nodep);
|
||||
}
|
||||
} else if (AstConstraint* const consp = VN_CAST(foundp->nodep(), Constraint)) {
|
||||
AstNode* const newp = new AstConstraintRef{nodep->fileline(), nullptr, consp};
|
||||
} else if (AstConstraint* const defp = VN_CAST(foundp->nodep(), Constraint)) {
|
||||
AstNode* const newp = new AstConstraintRef{nodep->fileline(), nullptr, defp};
|
||||
nodep->replaceWith(newp);
|
||||
VL_DO_DANGLING(pushDeletep(nodep), nodep);
|
||||
ok = true;
|
||||
|
||||
Reference in New Issue
Block a user