More checks

This commit is contained in:
Martin Blicha 2023-08-07 15:34:09 +02:00
parent 01ed412714
commit 3f22118bbe

View File

@ -539,7 +539,8 @@ namespace
else
{
auto& subexprs = asSubExpressions(expr);
auto const& first = subexprs[0];
assert(!subexprs.empty());
auto const& first = subexprs.at(0);
if (isAtom(first) && asAtom(first) == "let")
{
solAssert(!isAtom(subexprs[1]));