Fix ICE on push for member access

This commit is contained in:
Leonardo Alt
2020-05-29 19:13:27 +02:00
parent b01a1a36b1
commit 2128ff9f13
3 changed files with 66 additions and 0 deletions
+6
View File
@@ -1150,6 +1150,12 @@ void SMTEncoder::arrayPushPopAssign(Expression const& _expr, smtutil::Expression
}
else if (auto const* indexAccess = dynamic_cast<IndexAccess const*>(&_expr))
arrayIndexAssignment(*indexAccess, _array);
else if (dynamic_cast<MemberAccess const*>(&_expr))
m_errorReporter.warning(
9599_error,
_expr.location(),
"Assertion checker does not yet implement this expression."
);
else
solAssert(false, "");
}