Mark to places fall-through

This commit is contained in:
Alex Beregszaszi 2017-08-25 16:00:36 +01:00
parent 5c73a80418
commit 51d6141f7e
2 changed files with 2 additions and 0 deletions

View File

@ -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.");

View File

@ -1047,6 +1047,7 @@ bool ExpressionCompiler::visit(MemberAccess const& _memberAccess)
if (!alsoSearchInteger)
break;
}
// fall-through
case Type::Category::Integer:
if (member == "balance")
{