mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Throw unimplemented exception for complex calldata arrays.
This commit is contained in:
parent
12045d2e11
commit
383b88793c
@ -1188,7 +1188,8 @@ string ABIFunctions::abiDecodingFunctionCalldataArray(ArrayType const& _type)
|
||||
solAssert(_type.dataStoredIn(DataLocation::CallData), "");
|
||||
if (!_type.isDynamicallySized())
|
||||
solAssert(_type.length() < u256("0xffffffffffffffff"), "");
|
||||
solAssert(!_type.baseType()->isDynamicallyEncoded(), "");
|
||||
if (_type.baseType()->isDynamicallyEncoded())
|
||||
solUnimplemented("Calldata arrays with non-value base types are not yet supported by Solidity.");
|
||||
solAssert(_type.baseType()->calldataEncodedSize() < u256("0xffffffffffffffff"), "");
|
||||
|
||||
string functionName =
|
||||
|
Loading…
Reference in New Issue
Block a user