solidity/test/libsolidity/syntaxTests/parsing
2020-05-13 15:52:22 +02:00
..
address_constant_payable.sol Accept `address payable` during parsing. 2018-09-11 14:52:23 +02:00
address_function_arguments_and_returns.sol Accept `address payable` during parsing. 2018-09-11 14:52:23 +02:00
address_in_struct.sol Add payable and non-payable state mutability to AddressType. 2018-09-13 15:15:49 +02:00
address_invalid_state_mutability.sol Extract typing. 2020-04-14 10:59:28 +02:00
address_nonpayable.sol Add payable and non-payable state mutability to AddressType. 2018-09-13 15:15:49 +02:00
address_payable_constant.sol Accept `address payable` during parsing. 2018-09-11 14:52:23 +02:00
address_payable_conversion.sol Accept `address payable` during parsing. 2018-09-11 14:52:23 +02:00
address_payable_function_type.sol Accept `address payable` during parsing. 2018-09-11 14:52:23 +02:00
address_payable_library.sol Accept `address payable` during parsing. 2018-09-11 14:52:23 +02:00
address_payable_local.sol Accept `address payable` during parsing. 2018-09-11 14:52:23 +02:00
address_payable_state_variable.sol Accept `address payable` during parsing. 2018-09-11 14:52:23 +02:00
address_payable_struct.sol Accept `address payable` during parsing. 2018-09-11 14:52:23 +02:00
address_payable_type_expression.sol Accept `address payable` during parsing. 2018-09-11 14:52:23 +02:00
address_payable.sol Add payable and non-payable state mutability to AddressType. 2018-09-13 15:15:49 +02:00
address_public_payable_error.sol Accept `address payable` during parsing. 2018-09-11 14:52:23 +02:00
array_range_and_ternary.sol Initial introduction of array slices with partial implementation for dynamic calldata arrays. 2019-09-13 10:57:53 +02:00
array_range_conversion.sol Initial introduction of array slices with partial implementation for dynamic calldata arrays. 2019-09-13 10:57:53 +02:00
array_range_nested_invalid.sol Disallow array slicing for arrays with dyanmically encoded base types. 2020-05-13 15:52:22 +02:00
array_range_nested.sol Disallow array slicing for arrays with dyanmically encoded base types. 2020-05-13 15:52:22 +02:00
array_range_no_start.sol Initial introduction of array slices with partial implementation for dynamic calldata arrays. 2019-09-13 10:57:53 +02:00
array_type_range.sol Initial introduction of array slices with partial implementation for dynamic calldata arrays. 2019-09-13 10:57:53 +02:00
arrays_in_events.sol Move more parser tests to syntax tests 2018-05-22 13:25:04 +02:00
arrays_in_expressions.sol Removed redundant declaration check; changed relevant test cases 2020-04-02 12:27:38 +05:30
arrays_in_storage.sol Moves length check to reference resolver. 2018-09-22 00:25:52 +02:00
assembly_evmasm_type.sol Add syntax tests for assembly block type (evmasm) 2018-07-25 11:01:41 +01:00
assembly_invalid_type.sol Add syntax tests for assembly block type (evmasm) 2018-07-25 11:01:41 +01:00
calling_function.sol Updates syntax tests to specify default visibility. 2018-06-29 16:26:18 +02:00
comment_end_with_double_star.sol Move couple of parser tests to syntax tests. 2018-05-16 03:48:37 +02:00
conditional_multiple.sol Updates syntax tests to specify default visibility. 2018-06-29 16:26:18 +02:00
conditional_true_false_literal.sol Updates syntax tests to specify default visibility. 2018-06-29 16:26:18 +02:00
conditional_with_assignment.sol C99 scoping rules by default 2018-06-20 12:53:38 +02:00
conditional_with_constants.sol Updates syntax tests to specify default visibility. 2018-06-29 16:26:18 +02:00
conditional_with_variables.sol Updates syntax tests to specify default visibility. 2018-06-29 16:26:18 +02:00
constant_is_keyword.sol Update test expectations. 2018-05-09 14:08:25 +02:00
constant_state_modifier.sol Update test suite. 2018-07-03 15:31:34 +02:00
constructor_allowed_this.sol Disallow conversion between unrelated contract types. 2018-08-01 11:04:35 +01:00
constructor_super.sol Stricter check for member access to "this" in constructor. 2018-04-13 15:57:13 +02:00
declaring_fixed_and_ufixed_variables.sol Compile succeeding syntax tests. 2019-08-16 17:14:49 +02:00
declaring_fixed_literal_variables.sol Move more parser tests to syntax tests 2018-05-22 13:25:04 +02:00
elemantary_non_address_payable_state_variable.sol Accept `address payable` during parsing. 2018-09-11 14:52:23 +02:00
elementary_non_address_payable_argument.sol Accept `address payable` during parsing. 2018-09-11 14:52:23 +02:00
elementary_non_address_payable_local.sol Accept `address payable` during parsing. 2018-09-11 14:52:23 +02:00
elementary_non_address_payable_return.sol Accept `address payable` during parsing. 2018-09-11 14:52:23 +02:00
else_if_statement.sol Updates syntax tests to specify default visibility. 2018-06-29 16:26:18 +02:00
emit_without_event.sol Update test expectations. 2018-05-09 14:08:25 +02:00
empty_comment.sol Move couple of parser tests to syntax tests. 2018-05-16 03:48:37 +02:00
empty_enum.sol Update test expectations. 2018-05-09 14:08:25 +02:00
empty_function.sol Disable state mutability warning for functions with empty body 2018-12-12 14:43:44 +01:00
enum_from_interface_in_library.sol Add more syntax tests for enums and interfaces/libraries 2018-08-07 13:39:21 +01:00
enum_from_interface.sol Add more syntax tests for enums and interfaces/libraries 2018-08-07 13:39:21 +01:00
enum_from_library.sol Add more syntax tests for enums and interfaces/libraries 2018-08-07 13:39:21 +01:00
enum_inheritance_contract.sol Add more syntax tests for enums and interfaces/libraries 2018-08-07 13:39:21 +01:00
enum_inheritance_interface.sol Add more syntax tests for enums and interfaces/libraries 2018-08-07 13:39:21 +01:00
enum_valid_declaration.sol Updates syntax tests to specify default visibility. 2018-06-29 16:26:18 +02:00
event_arguments_indexed.sol Move more parser tests to syntax tests 2018-05-22 13:25:04 +02:00
event_arguments.sol Move more parser tests to syntax tests 2018-05-22 13:25:04 +02:00
event_with_no_argument_list.sol Update test expectations. 2018-05-09 14:08:25 +02:00
event.sol Move more parser tests to syntax tests 2018-05-22 13:25:04 +02:00
exp_expression.sol Updates syntax tests to specify default visibility. 2018-06-29 16:26:18 +02:00
external_function.sol Disable state mutability warning for functions with empty body 2018-12-12 14:43:44 +01:00
external_variable.sol Update test expectations. 2018-05-09 14:08:25 +02:00
fallback_function.sol Split fallback function and introduce "fallback()" and "receive()" syntax. 2019-11-04 17:17:58 +01:00
fixed_literal_with_double_radix.sol Update test expectations. 2018-05-09 14:08:25 +02:00
for_loop_simple_initexpr.sol Warn about unreachable code. 2019-01-10 10:36:50 +01:00
for_loop_simple_noexpr.sol Warn about unreachable code. 2019-01-10 10:36:50 +01:00
for_loop_single_stmt_body.sol Updates syntax tests to specify default visibility. 2018-06-29 16:26:18 +02:00
for_loop_vardef_initexpr.sol Warn about unreachable code. 2019-01-10 10:36:50 +01:00
from_is_not_keyword.sol Move more parser tests to syntax tests 2018-05-22 13:25:04 +02:00
function_no_body.sol Require unimplemented functions to be virtual. 2019-12-02 21:59:00 +01:00
function_normal_comments.sol Disable state mutability warning for functions with empty body 2018-12-12 14:43:44 +01:00
function_type_as_parameter.sol Move more parser tests to syntax tests 2018-05-22 13:25:04 +02:00
function_type_as_storage_variable_with_assignment.sol Disable state mutability warning for functions with empty body 2018-12-12 14:43:44 +01:00
function_type_as_storage_variable_with_modifiers.sol Split fallback function and introduce "fallback()" and "receive()" syntax. 2019-11-04 17:17:58 +01:00
function_type_as_storage_variable.sol Move more parser tests to syntax tests 2018-05-22 13:25:04 +02:00
function_type_in_expression.sol Disable state mutability warning for functions with empty body 2018-12-12 14:43:44 +01:00
function_type_in_struct.sol Return parameters in function types may not be named. 2018-06-18 00:05:06 +02:00
function_type_state_variable.sol Move couple of parser tests to syntax tests. 2018-05-16 03:48:37 +02:00
if_statement.sol Updates syntax tests to specify default visibility. 2018-06-29 16:26:18 +02:00
import_complex_invalid_from.sol Add syntax tests for import statements 2018-07-25 11:01:41 +01:00
import_complex_without_from.sol Add syntax tests for import statements 2018-07-25 11:01:41 +01:00
import_complex.sol Add syntax tests for import statements 2018-07-25 11:01:41 +01:00
import_empty.sol Disallow empty import statements 2019-01-28 13:52:15 +00:00
import_invalid_token.sol Add syntax tests for import statements 2018-07-25 11:01:41 +01:00
import_simple.sol Add syntax tests for import statements 2018-07-25 11:01:41 +01:00
inline_array_declaration.sol Updates syntax tests to specify default visibility. 2018-06-29 16:26:18 +02:00
inline_array_empty_cells_check_lvalue.sol Update test expectations. 2018-05-09 14:08:25 +02:00
inline_array_empty_cells_check_without_lvalue.sol Update test expectations. 2018-05-09 14:08:25 +02:00
interface_basic.sol enforce interface-functions to be external-declared 2018-07-16 12:15:36 +02:00
invalid_fixed_conversion_leading_zeroes_check.sol Adapting tests to Scanner's lexical error diagnostics change. 2018-11-24 12:59:37 +01:00
lexer_numbers_with_underscores_decimal_fail.sol Cleanup & polish numbers-with-underscores parsing, also improving tests. 2018-08-08 13:38:46 +02:00
lexer_numbers_with_underscores_decimal.sol Cleanup & polish numbers-with-underscores parsing, also improving tests. 2018-08-08 13:38:46 +02:00
lexer_numbers_with_underscores_fixed_fail.sol Cleanup & polish numbers-with-underscores parsing, also improving tests. 2018-08-08 13:38:46 +02:00
lexer_numbers_with_underscores_fixed.sol Compile succeeding syntax tests. 2019-08-16 17:14:49 +02:00
lexer_numbers_with_underscores_hex_fail.sol Cleanup & polish numbers-with-underscores parsing, also improving tests. 2018-08-08 13:38:46 +02:00
lexer_numbers_with_underscores_hex.sol Cleanup & polish numbers-with-underscores parsing, also improving tests. 2018-08-08 13:38:46 +02:00
library_simple.sol Disable state mutability warning for functions with empty body 2018-12-12 14:43:44 +01:00
literal_constants_with_ether_subdenominations_in_expressions.sol Updates syntax tests to specify default visibility. 2018-06-29 16:26:18 +02:00
literal_constants_with_ether_subdenominations.sol Updates syntax tests to specify default visibility. 2018-06-29 16:26:18 +02:00
local_const_variable.sol Update test expectations. 2018-05-09 14:08:25 +02:00
location_specifiers_for_locals_multi.sol Add syntax test for location specifier redeclarations 2018-07-25 11:01:41 +01:00
location_specifiers_for_locals.sol Update tests. 2018-07-10 11:38:32 +02:00
location_specifiers_for_params_multi.sol Add syntax test for location specifier redeclarations 2018-07-25 11:01:41 +01:00
location_specifiers_for_params.sol Remove a dedicated error flag from DeclarationTypeChecker 2020-05-12 18:13:17 +02:00
location_specifiers_for_state_variables_multi.sol Add syntax test for location specifier redeclarations 2018-07-25 11:01:41 +01:00
location_specifiers_for_state_variables.sol Update test expectations. 2018-05-09 14:08:25 +02:00
location_specifiers_with_var.sol Update test expectations. 2018-05-09 14:08:25 +02:00
malformed_enum_declaration.sol Update test expectations. 2018-05-09 14:08:25 +02:00
mapping_and_array_of_functions.sol Move more parser tests to syntax tests 2018-05-22 13:25:04 +02:00
mapping_from_address_payable.sol Accept `address payable` during parsing. 2018-09-11 14:52:23 +02:00
mapping_in_struct.sol Move more parser tests to syntax tests 2018-05-22 13:25:04 +02:00
mapping_nonelementary_key_1.sol Dynamic type as mapping key returns error instead of assertion fail 2018-08-16 11:59:41 +02:00
mapping_nonelementary_key_2.sol Allow user-defined types as mapping keys in parser and restrict to contracts during type checking. 2020-02-04 17:22:03 +01:00
mapping_nonelementary_key_3.sol Allow user-defined types as mapping keys in parser and restrict to contracts during type checking. 2020-02-04 17:22:03 +01:00
mapping_nonelementary_key_4.sol Dynamic type as mapping key returns error instead of assertion fail 2018-08-16 11:59:41 +02:00
mapping_to_mapping_in_struct.sol Move more parser tests to syntax tests 2018-05-22 13:25:04 +02:00
mapping.sol Move more parser tests to syntax tests 2018-05-22 13:25:04 +02:00
missing_argument_in_named_args.sol Update test expectations. 2018-05-09 14:08:25 +02:00
missing_parameter_name_in_named_args.sol Update test expectations. 2018-05-09 14:08:25 +02:00
missing_variable_name_in_declaration.sol Update test expectations. 2018-05-09 14:08:25 +02:00
modifier_arguments.sol Move more parser tests to syntax tests 2018-05-22 13:25:04 +02:00
modifier_invocation.sol Disable state mutability warning for functions with empty body 2018-12-12 14:43:44 +01:00
modifier_without_semicolon.sol Update test expectations. 2018-05-09 14:08:25 +02:00
modifier.sol Update tests for strict address literals 2018-06-25 16:17:50 +02:00
multi_arrays.sol Move more parser tests to syntax tests 2018-05-22 13:25:04 +02:00
multi_variable_declarations.sol Update tests. 2018-07-12 20:33:52 +02:00
multiple_event_arg_trailing_comma.sol Move more parser tests to syntax tests 2018-05-22 13:25:04 +02:00
multiple_function_param_trailing_comma.sol Move couple of parser tests to syntax tests. 2018-05-16 03:48:37 +02:00
multiple_functions_natspec_documentation.sol Disable state mutability warning for functions with empty body 2018-12-12 14:43:44 +01:00
multiple_modifier_arg_trailing_comma.sol Move more parser tests to syntax tests 2018-05-22 13:25:04 +02:00
multiple_return_param_trailing_comma.sol Move more parser tests to syntax tests 2018-05-22 13:25:04 +02:00
multiple_statemutability_specifiers.sol Replace constant with view in the tests. 2018-05-09 15:07:47 +02:00
new_address_payable.sol Accept `address payable` during parsing. 2018-09-11 14:52:23 +02:00
new_invalid_type_name.sol Update test expectations. 2018-05-09 14:08:25 +02:00
no_function_params.sol Disable state mutability warning for functions with empty body 2018-12-12 14:43:44 +01:00
overloaded_functions.sol Updates syntax tests to specify default visibility. 2018-06-29 16:26:18 +02:00
payable_accessor.sol Accept `address payable` during parsing. 2018-09-11 14:52:23 +02:00
payable_without_arguments.sol Allow explicit conversion from address to address payable 2019-09-09 23:46:00 +02:00
placeholder_in_function_context.sol Updates syntax tests to specify default visibility. 2018-06-29 16:26:18 +02:00
pragma_illegal.sol Add syntax test for illegal pragma key 2018-07-25 11:01:41 +01:00
return_var.sol Update test expectations. 2018-05-09 14:08:25 +02:00
scientific_notation.sol Move some parser tests to syntax tests 2018-05-02 21:21:11 +01:00
single_event_arg_trailing_comma.sol Move couple of parser tests to syntax tests. 2018-05-16 03:48:37 +02:00
single_function_param_trailing_comma.sol Update test expectations. 2018-05-09 14:08:25 +02:00
single_function_param.sol Disable state mutability warning for functions with empty body 2018-12-12 14:43:44 +01:00
single_modifier_arg_trailing_comma.sol Move couple of parser tests to syntax tests. 2018-05-16 03:48:37 +02:00
single_return_param_trailing_comma.sol Update test expectations. 2018-05-09 14:08:25 +02:00
smoke_test.sol Adds parsing sub-directory in syntaxTests and moves two example tests from SolidityParser.cpp to test contracts. 2018-04-03 19:54:46 +02:00
struct_definition.sol Move more parser tests to syntax tests 2018-05-22 13:25:04 +02:00
trailing_comma_in_named_args.sol Update test expectations. 2018-05-09 14:08:25 +02:00
trailing_dot1.sol Add missing period in the end of error messages 2018-07-16 16:11:39 +01:00
trailing_dot2.sol Disallow trailing dots that are not followed by a number 2018-05-30 15:14:53 +01:00
trailing_dot3.sol Disallow trailing dots that are not followed by a number 2018-05-30 15:14:53 +01:00
tuples_decl_without_rhs.sol Ensures an empty use of var keyword is caught with the proper error message. 2018-08-01 09:59:06 +02:00
tuples_without_commas.sol Update test expectations. 2018-05-09 14:08:25 +02:00
tuples.sol Update tests. 2018-07-12 20:33:52 +02:00
two_exact_functions.sol Adds default visibility specifier to syntax tests. 2018-07-04 10:45:59 +02:00
unary_plus_expression.sol Fix #5470 2018-12-06 01:54:04 +01:00
var_array.sol Update test expectations. 2018-05-09 14:08:25 +02:00
var_in_function_arguments.sol Update test expectations. 2018-05-09 14:08:25 +02:00
var_storage_var.sol Update test expectations. 2018-05-09 14:08:25 +02:00
variable_definition_in_mapping.sol Allow user-defined types as mapping keys in parser and restrict to contracts during type checking. 2020-02-04 17:22:03 +01:00
visibility_specifiers.sol Disable state mutability warning for functions with empty body 2018-12-12 14:43:44 +01:00
while_loop.sol Warn about unreachable code. 2019-01-10 10:36:50 +01:00