mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Mark to places fall-through
This commit is contained in:
parent
5c73a80418
commit
51d6141f7e
@ -829,6 +829,7 @@ void CompilerUtils::convertType(
|
||||
break;
|
||||
}
|
||||
}
|
||||
// fall-through
|
||||
default:
|
||||
// All other types should not be convertible to non-equal types.
|
||||
solAssert(_typeOnStack == _targetType, "Invalid type conversion requested.");
|
||||
|
@ -1047,6 +1047,7 @@ bool ExpressionCompiler::visit(MemberAccess const& _memberAccess)
|
||||
if (!alsoSearchInteger)
|
||||
break;
|
||||
}
|
||||
// fall-through
|
||||
case Type::Category::Integer:
|
||||
if (member == "balance")
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user