Support array slices

This commit is contained in:
Leonardo Alt
2020-10-01 11:52:02 +02:00
parent 3af21c92d2
commit c8cc73c80c
14 changed files with 237 additions and 13 deletions
+1 -5
View File
@@ -1095,11 +1095,7 @@ void SMTEncoder::endVisit(IndexAccess const& _indexAccess)
void SMTEncoder::endVisit(IndexRangeAccess const& _indexRangeAccess)
{
createExpr(_indexRangeAccess);
m_errorReporter.warning(
2923_error,
_indexRangeAccess.location(),
"Assertion checker does not yet implement this expression."
);
/// The actual slice is created by CHC which also assigns the length.
}
void SMTEncoder::arrayAssignment()