Magic variables.

This commit is contained in:
Christian
2014-11-23 21:28:45 +01:00
parent c50cd646ce
commit 583a315d3d
14 changed files with 150 additions and 74 deletions
+2
View File
@@ -189,6 +189,8 @@ u256 IntegerType::literalValue(Literal const& _literal) const
return u256(value);
}
const MemberList IntegerType::AddressMemberList = MemberList({{"balance", std::make_shared<IntegerType const>(256)}});
bool BoolType::isExplicitlyConvertibleTo(Type const& _convertTo) const
{
// conversion to integer is fine, but not to address