Fix wrong assert in overflow check

This commit is contained in:
Mathias Baumann
2019-10-23 14:59:34 +02:00
parent e56d1aa5aa
commit c3e8023ad5
3 changed files with 12 additions and 1 deletions
@@ -0,0 +1,10 @@
// Used to cause ICE because of a too strict assert
pragma experimental ABIEncoderV2;
contract C {
struct S { uint a; T[222222222222222222222222222] sub; }
struct T { uint[] x; }
function f() public returns (uint, S memory) {
}
}
// ----
// Warning: (52-85): Experimental features are turned on. Do not use experimental features on live deployments.