Disallow structs in events without ABIEncoderV2

This commit is contained in:
Leonardo Alt
2018-09-06 17:11:53 +02:00
committed by chriseth
parent 507cdf6de2
commit c577e043a4
10 changed files with 47 additions and 0 deletions
+1
View File
@@ -1036,6 +1036,7 @@ BOOST_AUTO_TEST_CASE(return_structs_with_contracts)
BOOST_AUTO_TEST_CASE(event_structs)
{
char const* text = R"(
pragma experimental ABIEncoderV2;
contract C {
struct S { uint a; T[] sub; bytes b; }
struct T { uint[2] x; }