mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Move LiteralString::toString from the header
This commit is contained in:
@@ -852,6 +852,11 @@ bool StringLiteralType::operator==(const Type& _other) const
|
||||
return m_value == dynamic_cast<StringLiteralType const&>(_other).m_value;
|
||||
}
|
||||
|
||||
std::string StringLiteralType::toString(bool) const
|
||||
{
|
||||
return "literal_string \"" + m_value + "\"";
|
||||
}
|
||||
|
||||
TypePointer StringLiteralType::mobileType() const
|
||||
{
|
||||
return make_shared<ArrayType>(DataLocation::Memory, true);
|
||||
|
||||
Reference in New Issue
Block a user