Merge pull request #7850 from ethereum/smt_fix_typetype

[SMTChecker] Fix visit to IndexAccess that has type Type
This commit is contained in:
Leonardo
2019-11-29 18:18:26 +01:00
committed by GitHub
2 changed files with 9 additions and 9 deletions
+1 -4
View File
@@ -899,11 +899,8 @@ void SMTEncoder::endVisit(IndexAccess const& _indexAccess)
return;
}
if (!_indexAccess.indexExpression())
{
solAssert(_indexAccess.annotation().type->category() == Type::Category::TypeType, "");
if (_indexAccess.annotation().type->category() == Type::Category::TypeType)
return;
}
solAssert(array, "");
defineExpr(_indexAccess, smt::Expression::select(