From 227addfcefd017bc22bb473ddbd8ca6eb4ed5e76 Mon Sep 17 00:00:00 2001 From: chriseth Date: Thu, 24 Jan 2019 15:44:42 +0100 Subject: [PATCH] Syntax tests. --- test/libsolidity/syntaxTests/events/event_array_indexed_v2.sol | 1 - .../syntaxTests/events/event_nested_array_indexed_v2.sol | 1 - test/libsolidity/syntaxTests/events/event_struct_indexed_v2.sol | 1 - ...coding_structs_abiv2.sol => abi_encodePacked_structs_v2.sol} | 2 -- .../syntaxTests/specialFunctions/abi_encode_structs_abiv2.sol | 2 -- 5 files changed, 7 deletions(-) rename test/libsolidity/syntaxTests/specialFunctions/{types_with_unspecified_encoding_structs_abiv2.sol => abi_encodePacked_structs_v2.sol} (75%) diff --git a/test/libsolidity/syntaxTests/events/event_array_indexed_v2.sol b/test/libsolidity/syntaxTests/events/event_array_indexed_v2.sol index 3f729a6a5..773706e36 100644 --- a/test/libsolidity/syntaxTests/events/event_array_indexed_v2.sol +++ b/test/libsolidity/syntaxTests/events/event_array_indexed_v2.sol @@ -4,4 +4,3 @@ contract c { } // ---- // Warning: (0-33): Experimental features are turned on. Do not use experimental features on live deployments. -// TypeError: (59-73): Indexed reference types cannot yet be used with ABIEncoderV2. diff --git a/test/libsolidity/syntaxTests/events/event_nested_array_indexed_v2.sol b/test/libsolidity/syntaxTests/events/event_nested_array_indexed_v2.sol index f05b884e9..5ed4b496a 100644 --- a/test/libsolidity/syntaxTests/events/event_nested_array_indexed_v2.sol +++ b/test/libsolidity/syntaxTests/events/event_nested_array_indexed_v2.sol @@ -4,4 +4,3 @@ contract c { } // ---- // Warning: (0-33): Experimental features are turned on. Do not use experimental features on live deployments. -// TypeError: (59-75): Indexed reference types cannot yet be used with ABIEncoderV2. diff --git a/test/libsolidity/syntaxTests/events/event_struct_indexed_v2.sol b/test/libsolidity/syntaxTests/events/event_struct_indexed_v2.sol index a1d8cf04e..334fa539b 100644 --- a/test/libsolidity/syntaxTests/events/event_struct_indexed_v2.sol +++ b/test/libsolidity/syntaxTests/events/event_struct_indexed_v2.sol @@ -5,4 +5,3 @@ contract c { } // ---- // Warning: (0-33): Experimental features are turned on. Do not use experimental features on live deployments. -// TypeError: (85-94): Indexed reference types cannot yet be used with ABIEncoderV2. diff --git a/test/libsolidity/syntaxTests/specialFunctions/types_with_unspecified_encoding_structs_abiv2.sol b/test/libsolidity/syntaxTests/specialFunctions/abi_encodePacked_structs_v2.sol similarity index 75% rename from test/libsolidity/syntaxTests/specialFunctions/types_with_unspecified_encoding_structs_abiv2.sol rename to test/libsolidity/syntaxTests/specialFunctions/abi_encodePacked_structs_v2.sol index 387028259..0ae504665 100644 --- a/test/libsolidity/syntaxTests/specialFunctions/types_with_unspecified_encoding_structs_abiv2.sol +++ b/test/libsolidity/syntaxTests/specialFunctions/abi_encodePacked_structs_v2.sol @@ -12,5 +12,3 @@ contract C { } // ---- // Warning: (0-33): Experimental features are turned on. Do not use experimental features on live deployments. -// TypeError: (191-192): This type cannot be encoded. -// TypeError: (194-195): This type cannot be encoded. diff --git a/test/libsolidity/syntaxTests/specialFunctions/abi_encode_structs_abiv2.sol b/test/libsolidity/syntaxTests/specialFunctions/abi_encode_structs_abiv2.sol index d6cf60e47..1b491b7fd 100644 --- a/test/libsolidity/syntaxTests/specialFunctions/abi_encode_structs_abiv2.sol +++ b/test/libsolidity/syntaxTests/specialFunctions/abi_encode_structs_abiv2.sol @@ -14,5 +14,3 @@ contract C { } // ---- // Warning: (0-33): Experimental features are turned on. Do not use experimental features on live deployments. -// TypeError: (235-236): This type cannot be encoded. -// TypeError: (238-239): This type cannot be encoded.