mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
More checks
This commit is contained in:
parent
01ed412714
commit
3f22118bbe
@ -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]));
|
||||
|
Loading…
Reference in New Issue
Block a user