mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Allow dynamically encoded calldata structs with ABIEncoderV2.
This commit is contained in:
@@ -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.
|
||||
Reference in New Issue
Block a user