Fix segfault after unsupported member call (#5359).
This commit is contained in:
parent
6cb0a41857
commit
4573e04488
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue