mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix ICE when printing an error message related to mappings
This commit is contained in:
@@ -2559,6 +2559,11 @@ string UserDefinedValueType::toString(bool /* _short */) const
|
||||
return *definition().annotation().canonicalName;
|
||||
}
|
||||
|
||||
string UserDefinedValueType::canonicalName() const
|
||||
{
|
||||
return *definition().annotation().canonicalName;
|
||||
}
|
||||
|
||||
vector<tuple<string, Type const*>> UserDefinedValueType::makeStackItems() const
|
||||
{
|
||||
return underlyingType().stackItems();
|
||||
|
||||
@@ -1141,7 +1141,7 @@ public:
|
||||
}
|
||||
|
||||
std::string toString(bool _short) const override;
|
||||
std::string canonicalName() const override { solAssert(false, ""); }
|
||||
std::string canonicalName() const override;
|
||||
std::string signatureInExternalFunction(bool) const override { solAssert(false, ""); }
|
||||
|
||||
protected:
|
||||
|
||||
Reference in New Issue
Block a user