Allow dynamically encoded calldata structs with ABIEncoderV2.

This commit is contained in:
Daniel Kirchner
2019-03-11 16:40:13 +01:00
parent f805939429
commit 66fc7ffab2
9 changed files with 104 additions and 65 deletions
@@ -0,0 +1,7 @@
pragma experimental ABIEncoderV2;
contract Test {
struct S { int[] a; }
function f(S calldata) external { }
}
// ----
// Warning: (0-33): Experimental features are turned on. Do not use experimental features on live deployments.