Merge pull request #7326 from ethereum/develop

Merge develop into 0.6.0 branch.
This commit is contained in:
chriseth
2019-09-02 16:11:20 +02:00
committed by GitHub
33 changed files with 1470 additions and 208 deletions
+6
View File
@@ -748,6 +748,12 @@ void SMTEncoder::endVisit(IndexAccess const& _indexAccess)
return;
}
if (!_indexAccess.indexExpression())
{
solAssert(_indexAccess.annotation().type->category() == Type::Category::TypeType, "");
return;
}
solAssert(array, "");
defineExpr(_indexAccess, smt::Expression::select(
array->currentValue(),