solidity/test/libsolidity/syntaxTests/constructor/nonabiv2_type.sol
2020-07-07 12:16:18 +02:00

6 lines
300 B
Solidity

contract C {
constructor(uint[][][] memory t) {}
}
// ----
// TypeError 4957: (26-45): This type is only supported in ABIEncoderV2. Use "pragma experimental ABIEncoderV2;" to enable the feature. Alternatively, make the contract abstract and supply the constructor arguments from a derived contract.