Split IntegerType into IntegerType and AddressType.

This commit is contained in:
Daniel Kirchner
2018-09-05 12:19:14 +02:00
parent a996ea266c
commit 87804b6419
12 changed files with 174 additions and 102 deletions
+1 -1
View File
@@ -323,7 +323,7 @@ void ViewPureChecker::endVisit(MemberAccess const& _memberAccess)
ASTString const& member = _memberAccess.memberName();
switch (_memberAccess.expression().annotation().type->category())
{
case Type::Category::Integer:
case Type::Category::Address:
if (member == "balance")
mutability = StateMutability::View;
break;