diff options
author | Leonardo Alt <leo@ethereum.org> | 2018-08-02 01:01:50 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2018-09-06 23:11:53 +0800 |
commit | c577e043a4d54ac740aab770a6af38d74a7a427d (patch) | |
tree | 8f404988ab85b5a9c451d82f153e38609c38a343 /test/libsolidity/syntaxTests/events/event_nested_array.sol | |
parent | 507cdf6de20b5c9bc9a0a8de311e9018af552865 (diff) | |
download | dexon-solidity-c577e043a4d54ac740aab770a6af38d74a7a427d.tar dexon-solidity-c577e043a4d54ac740aab770a6af38d74a7a427d.tar.gz dexon-solidity-c577e043a4d54ac740aab770a6af38d74a7a427d.tar.bz2 dexon-solidity-c577e043a4d54ac740aab770a6af38d74a7a427d.tar.lz dexon-solidity-c577e043a4d54ac740aab770a6af38d74a7a427d.tar.xz dexon-solidity-c577e043a4d54ac740aab770a6af38d74a7a427d.tar.zst dexon-solidity-c577e043a4d54ac740aab770a6af38d74a7a427d.zip |
Disallow structs in events without ABIEncoderV2
Diffstat (limited to 'test/libsolidity/syntaxTests/events/event_nested_array.sol')
-rw-r--r-- | test/libsolidity/syntaxTests/events/event_nested_array.sol | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/libsolidity/syntaxTests/events/event_nested_array.sol b/test/libsolidity/syntaxTests/events/event_nested_array.sol new file mode 100644 index 00000000..70af63b6 --- /dev/null +++ b/test/libsolidity/syntaxTests/events/event_nested_array.sol @@ -0,0 +1,5 @@ +contract c { + event E(uint[][]); +} +// ---- +// TypeError: (25-33): This type is only supported in the new experimental ABI encoder. Use "pragma experimental ABIEncoderV2;" to enable the feature. |