mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Allow calldata arrays with dynamically encoded base type.
This commit is contained in:
@@ -4,4 +4,3 @@ contract Test {
|
||||
}
|
||||
// ----
|
||||
// Warning: (0-33): Experimental features are turned on. Do not use experimental features on live deployments.
|
||||
// TypeError: (65-82): Calldata arrays with dynamically encoded base types are not yet supported.
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
contract Test {
|
||||
function f(uint[][] calldata) external { }
|
||||
function g(uint[][1] calldata) external { }
|
||||
}
|
||||
// ----
|
||||
// TypeError: (31-48): This type is only supported in the new experimental ABI encoder. Use "pragma experimental ABIEncoderV2;" to enable the feature.
|
||||
// TypeError: (78-96): This type is only supported in the new experimental ABI encoder. Use "pragma experimental ABIEncoderV2;" to enable the feature.
|
||||
@@ -6,4 +6,3 @@ contract Test {
|
||||
}
|
||||
// ----
|
||||
// Warning: (0-33): Experimental features are turned on. Do not use experimental features on live deployments.
|
||||
// TypeError: (131-145): Calldata arrays with dynamically encoded base types are not yet supported.
|
||||
|
||||
Reference in New Issue
Block a user