Restrict mobileType of TypeType

This commit is contained in:
Matheus Aguiar
2023-07-18 12:58:11 +02:00
committed by Kamil Śliwak
parent 2c82873a2c
commit 4fd5bbf50b
23 changed files with 204 additions and 1 deletions
+1
View File
@@ -1598,6 +1598,7 @@ public:
bool hasSimpleZeroValueInMemory() const override { solAssert(false, ""); }
std::string toString(bool _withoutDataLocation) const override { return "type(" + m_actualType->toString(_withoutDataLocation) + ")"; }
MemberList::MemberMap nativeMembers(ASTNode const* _currentScope) const override;
Type const* mobileType() const override { return nullptr; }
BoolResult isExplicitlyConvertibleTo(Type const& _convertTo) const override;
protected: