mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
1a4cc4e64d
- Without this fix, nested arrays are not detected as unsupported and compiler fails on an UnimplementedError. - Now it's consistent with how structs are handled in ABIEncoderV1.
12 lines
192 B
Solidity
12 lines
192 B
Solidity
struct S {
|
|
uint x;
|
|
}
|
|
|
|
contract C {
|
|
function f() public pure {
|
|
abi.decode("1234", (S));
|
|
}
|
|
}
|
|
// ----
|
|
// TypeError 9611: (98-99): Decoding type struct S memory not supported.
|