Fix segfault after unsupported member call (#5359).

This commit is contained in:
Wilson Snyder 2024-08-13 14:39:37 -04:00
parent 6cb0a41857
commit 4573e04488

View File

@ -3174,6 +3174,7 @@ class WidthVisitor final : public VNVisitor {
<< nodep->fromp()->prettyTypeName()
<< "' which is a '"
<< nodep->fromp()->dtypep()->prettyTypeName() << "'");
nodep->dtypep(m_vup->dtypeNullp());
}
}
AstWith* methodWithArgument(AstNodeFTaskRef* nodep, bool required, bool arbReturn,