mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Allow arrays of contract types as type expressions e.g. for abi.decode.
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
contract C {
|
||||
function f(bytes calldata x) public pure returns (C[] memory c) {
|
||||
c = abi.decode(x, (C[]));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user