ruby/test/prism/errors
2025-08-05 13:58:09 -04:00
..
1_2_3.txt
aliasing_global_variable_with_global_number_variable.txt
aliasing_global_variable_with_non_global_variable.txt
aliasing_non_global_variable_with_global_variable.txt
alnum_delimiters.txt
alnum_delimiters_2.txt
alnum_delimiters_3.txt
alnum_delimiters_4.txt
alnum_delimiters_5.txt
alnum_delimiters_6.txt
alnum_delimiters_7.txt
alnum_delimiters_8.txt
alnum_delimiters_9.txt
amperand_dot_after_endless_range.txt [ruby/prism] Disallow &. after endless range 2024-10-01 12:57:00 +00:00
argument_after_ellipsis.txt
argument_forwarding_only_effects_its_own_internals.txt
argument_forwarding_when_parent_is_not_forwarding.txt
arguments_after_block.txt [ruby/prism] Fix 3112 - disallow commas after block arg 2024-12-16 10:51:22 -05:00
arguments_binding_power_for_and.txt
arguments_invalid_comma.txt [ruby/prism] Handle invalid commas in arguments, parameters, and arrays 2024-10-07 16:38:16 +00:00
arguments_splat_after_star_star.txt [ruby/prism] Fix splat after kwsplat 2024-11-08 15:50:54 +00:00
array_invalid_comma.txt [ruby/prism] Handle invalid commas in arguments, parameters, and arrays 2024-10-07 16:38:16 +00:00
array_with_double_commas.txt [ruby/prism] Reject extra comma in array after keyword argument 2024-12-02 18:39:49 +00:00
assign_to_numbered_parameter.txt
bad_arguments.txt
begin_at_toplevel.txt
binary_range_with_left_unary_range.txt [ruby/prism] Properly handle non-assoc operators 2024-10-07 17:57:36 +00:00
block_arg_and_block.txt
block_args_in_array_assignment.txt [PRISM] Blocks are also a syntax error in array assignment 2024-12-13 22:02:06 +00:00
block_beginning_with_brace_and_ending_with_end.txt [ruby/prism] Fix infinite loop in error recovery 2025-02-13 19:12:10 +00:00
break_1.txt [ruby/prism] Fix up more error messages to more closely match parse.y 2024-09-25 19:19:18 +00:00
break_1_2_3.txt
call_with_block_and_write.txt
call_with_block_operator_write.txt
call_with_block_or_write.txt
cannot_assign_to_a_reserved_numbered_parameter.txt
case_without_clauses.txt
case_without_when_clauses_errors_on_else_clause.txt
check_value_expression.txt
class_definition_in_method_body.txt
class_definition_in_method_defs.txt
class_name.txt
command_call_in.txt Resync to latest Prism 2024-10-01 11:03:25 -04:00
command_calls.txt
command_calls_2.txt
command_calls_3.txt
command_calls_4.txt
command_calls_5.txt
command_calls_6.txt
command_calls_7.txt
command_calls_8.txt
command_calls_9.txt
command_calls_10.txt
command_calls_11.txt
command_calls_12.txt
command_calls_13.txt
command_calls_14.txt
command_calls_15.txt
command_calls_16.txt
command_calls_17.txt
command_calls_18.txt
command_calls_19.txt
command_calls_20.txt
command_calls_21.txt
command_calls_22.txt
command_calls_23.txt
command_calls_24.txt
command_calls_25.txt
command_calls_26.txt
command_calls_27.txt
command_calls_28.txt
command_calls_29.txt
command_calls_30.txt
command_calls_31.txt [ruby/prism] Improve error handling for missing parentheses after 'not' in command calls 2025-08-05 13:58:09 -04:00
conditional_predicate_closed.txt
constant_assignment_in_method.txt
constant_path_with_invalid_token_after.txt
content_after_unterminated_heredoc.txt
cr_without_lf_in_percent_expression.txt
def_ivar.txt [ruby/prism] Error for def ivar 2024-11-03 18:43:18 +00:00
def_with_empty_expression_receiver.txt
def_with_expression_receiver_and_no_identifier.txt
def_with_multiple_statements_receiver.txt
defined_empty.txt [ruby/prism] Accept a newline after the defined? keyword 2025-03-30 13:22:41 -04:00
defining_numbered_parameter.txt
defining_numbered_parameter_2.txt
defs_endless_method.txt [ruby/prism] [Bug #21010] Reject endless method definition of []= 2025-01-11 19:09:05 -05:00
do_not_allow_characters_other_than_0_9_a_f_and_A_F_in_u_Unicode_character_notation.txt
do_not_allow_forward_arguments_in_blocks.txt
do_not_allow_forward_arguments_in_lambda_literals.txt
do_not_allow_more_than_6_hexadecimal_digits_in_u_Unicode_character_notation.txt
do_not_allow_multiple_codepoints_in_a_single_character_literal.txt
do_not_allow_trailing_commas_in_lambda_parameters.txt
do_not_allow_trailing_commas_in_method_parameters.txt
dont_allow_return_inside_class_body.txt
dont_allow_return_inside_module_body.txt
dont_allow_return_inside_sclass_body.txt [Bug #20647] Disallow return directly within a singleton class 2024-07-24 14:44:32 +09:00
dont_allow_setting_to_back_and_nth_reference.txt
double_arguments_forwarding.txt
double_scope_numbered_parameters.txt
double_scope_repeated_numbered_parameters.txt [ruby/prism] Same numbered param cannot be used in child blocks 2024-12-12 00:42:27 +00:00
double_splat_followed_by_splat_argument.txt
double_splat_with_double_commas.txt [ruby/prism] Reject extra comma in array after keyword argument 2024-12-02 18:39:49 +00:00
duplicate_pattern_capture.txt
duplicate_pattern_hash_key.txt
duplicate_pattern_hash_key_2.txt
duplicated_parameter_names.txt
duplicated_parameter_names_2.txt
duplicated_parameter_names_3.txt
duplicated_parameter_names_4.txt
duplicated_parameter_names_5.txt
dynamic_label_pattern.txt [ruby/prism] Disallow dynamic patterns in labels at top level followed by pipes 2024-10-01 15:42:44 -04:00
ellipsis_in_no_paren_call.txt
escape_unicode_curly_whitespace.txt [ruby/prism] Fix escape unicode curly inline whitespace 2025-02-17 18:12:03 +00:00
for_loop_delimiter.txt Sync Prism with latest main branch 2024-09-30 11:36:29 -04:00
for_loops_index_missing.txt
for_loops_only_end.txt Sync Prism with latest main branch 2024-09-30 11:36:29 -04:00
forwarding_arg_after_keyword_rest.txt
forwarding_arg_and_block.txt
heredoc_unterminated.txt [ruby/prism] Pop lex mode for heredocs in the lexer, not the parser 2024-10-03 17:30:20 +00:00
incomplete_instance_var_string.txt
index_call_with_block_and_write.txt
index_call_with_block_operator_write.txt
index_call_with_block_or_write.txt
infix_after_label.txt Resync to latest Prism 2024-10-01 11:03:25 -04:00
interpolated_regular_expression_with_unknown_regexp_options.txt
invalid_global_variable_write.txt
invalid_hex_escape.txt
invalid_multi_target.txt
invalid_multi_target_2.txt
invalid_multi_target_3.txt
invalid_multi_target_4.txt
invalid_multi_target_5.txt
invalid_multi_target_6.txt
invalid_multi_target_7.txt
invalid_multi_target_8.txt
invalid_multi_target_9.txt
invalid_multi_target_10.txt
invalid_multi_target_11.txt
invalid_multi_target_12.txt
invalid_multi_target_13.txt
invalid_multi_target_14.txt
invalid_multi_target_15.txt
invalid_multi_target_16.txt
invalid_multi_target_17.txt
invalid_multi_target_18.txt
invalid_multi_target_19.txt
invalid_multi_target_20.txt
invalid_number_underscores.txt
invalid_number_underscores_2.txt
invalid_number_underscores_3.txt
invalid_number_underscores_4.txt
invalid_number_underscores_5.txt
invalid_number_underscores_6.txt
invalid_number_underscores_7.txt
invalid_number_underscores_8.txt
invalid_number_underscores_9.txt
invalid_number_underscores_10.txt
invalid_number_underscores_11.txt
invalid_number_underscores_12.txt
invalid_operator_write_dot.txt
invalid_operator_write_fcall.txt
invalid_splat.txt [ruby/prism] Reject invalid splat as last statement of parentheses 2024-10-10 14:45:59 +00:00
it_with_ordinary_parameter.txt Use a single quote instead of a backtick for error messages 2025-01-05 20:50:53 -05:00
keyword_args_in_array_assignment.txt [PRISM] using []= to set kwargs is a syntax error 2024-12-13 21:22:35 +00:00
keywords_parameters_before_required_parameters.txt
label_in_parentheses.txt [ruby/prism] Disallow label in parentheses 2024-09-25 17:33:51 +00:00
loop_conditional_is_closed.txt
match_plus.txt
match_predicate_after_and_with_dot_method_call.txt [ruby/prism] Reject invalid dot method call after match predicate or after match required 2024-12-02 18:41:38 +00:00
match_predicate_after_and_with_opreator.txt [ruby/prism] Reject invalid operator after match predicate or after match required 2024-12-02 18:42:16 +00:00
match_predicate_after_or_with_dot_method_call.txt [ruby/prism] Reject invalid dot method call after match predicate or after match required 2024-12-02 18:41:38 +00:00
match_predicate_after_or_with_opreator.txt [ruby/prism] Reject invalid operator after match predicate or after match required 2024-12-02 18:42:16 +00:00
match_predicate_after_rescue_with_dot_method_call.txt [ruby/prism] Reject invalid dot method call after match predicate or after match required 2024-12-02 18:41:38 +00:00
match_predicate_after_rescue_with_opreator.txt [ruby/prism] Reject invalid operator after match predicate or after match required 2024-12-02 18:42:16 +00:00
match_required_after_and_with_dot_method_call.txt [ruby/prism] Reject invalid dot method call after match predicate or after match required 2024-12-02 18:41:38 +00:00
match_required_after_and_with_opreator.txt [ruby/prism] Reject invalid operator after match predicate or after match required 2024-12-02 18:42:16 +00:00
match_required_after_or_with_dot_method_call.txt [ruby/prism] Reject invalid dot method call after match predicate or after match required 2024-12-02 18:41:38 +00:00
match_required_after_or_with_opreator.txt [ruby/prism] Reject invalid operator after match predicate or after match required 2024-12-02 18:42:16 +00:00
match_required_after_rescue_with_dot_method_call.txt [ruby/prism] Reject invalid dot method call after match predicate or after match required 2024-12-02 18:41:38 +00:00
match_required_after_rescue_with_opreator.txt [ruby/prism] Reject invalid operator after match predicate or after match required 2024-12-02 18:42:16 +00:00
method_parameters_after_arguments_forwarding.txt
method_parameters_after_block.txt
method_with_arguments_after_anonymous_block.txt
missing_terminator_in_parentheses.txt
module_definition_in_method_body.txt
module_definition_in_method_body_within_block.txt
module_definition_in_method_defs.txt
module_name_recoverable.txt
multi_target_parens.txt [ruby/prism] Fix up multi target parsing 2024-10-04 16:22:21 +00:00
multi_target_star.txt [ruby/prism] Fix up multi target parsing 2024-10-04 16:22:21 +00:00
multiple_error_in_parameters_order.txt
next_1.txt [ruby/prism] Fix up more error messages to more closely match parse.y 2024-09-25 19:19:18 +00:00
next_1_2_3.txt
non_assoc_equality.txt [ruby/prism] Properly handle non-assoc operators 2024-10-07 17:57:36 +00:00
non_assoc_range.txt [ruby/prism] Reject non-assoc ranges with subsequent operators 2024-09-26 14:57:02 +00:00
numbered_and_write.txt [ruby/prism] No writing to numbered parameters 2025-02-13 20:04:02 +00:00
numbered_operator_write.txt [ruby/prism] No writing to numbered parameters 2025-02-13 20:04:02 +00:00
numbered_or_write.txt [ruby/prism] No writing to numbered parameters 2025-02-13 20:04:02 +00:00
numbered_parameters_in_block_arguments.txt
optional_block_parameters_with_unary_operator.txt
optional_block_parameters_with_unary_operator_2.txt
optional_block_parameters_with_unary_operator_3.txt
optional_block_parameters_with_unary_operator_4.txt
parameter_name_ending_with_bang_or_question_mark.txt
parameters_invalid_comma.txt [ruby/prism] Handle invalid commas in arguments, parameters, and arrays 2024-10-07 16:38:16 +00:00
pattern_arithmetic_expressions.txt [ruby/prism] Fix crash when using arithmetic expressions in pattern matching 2025-07-16 17:08:28 +00:00
pattern_match_implicit_rest.txt [ruby/prism] [Bug #21345] Fix accepting multiple rest patterns with leading match 2025-07-16 18:12:06 +00:00
pre_execution_context.txt
pre_execution_missing_brace.txt
private_endless_method.txt [ruby/prism] Allow command calls in endless method bodies within assignments 2025-07-29 17:18:41 +00:00
range_and_bin_op.txt [ruby/prism] Properly handle non-assoc operators 2024-10-07 17:57:36 +00:00
range_and_bin_op_2.txt [ruby/prism] Properly handle non-assoc operators 2024-10-07 17:57:36 +00:00
range_and_bin_op_3.txt
range_and_bin_op_4.txt [ruby/prism] Reject non-assoc ranges with subsequent operators 2024-09-26 14:57:02 +00:00
range_and_bin_op_5.txt [ruby/prism] Reject non-assoc ranges with subsequent operators 2024-09-26 14:57:02 +00:00
range_and_bin_op_6.txt
range_and_bin_op_7.txt
range_and_bin_op_8.txt
range_doubled.txt [ruby/prism] Fix up doubled range in arguments 2024-10-02 15:27:01 +00:00
rational_number_with_exponential_portion.txt
regexp_unicode_too_short.txt [ruby/prism] Pass Unicode escapes on to onigmo 2024-08-23 19:18:14 +00:00
regular_expression_with_unknown_regexp_options.txt
repeated_parameter_name_in_destructured_params.txt
rest_keywords_parameters_before_required_parameters.txt
return_1.txt [ruby/prism] Fix up more error messages to more closely match parse.y 2024-09-25 19:19:18 +00:00
return_1_2_3.txt
returning_to_optional_parameters_multiple_times.txt
semicolon_after_inheritance_operator.txt
setter_method_cannot_be_defined_in_an_endless_method_definition.txt [ruby/prism] Throw syntax error for endless method with []= 2025-01-07 19:35:01 +00:00
shadow_args_in_block.txt
shadow_args_in_lambda.txt
singleton_class_delimiter.txt [ruby/prism] Require a delimiter for singleton classes 2024-09-30 14:33:58 +00:00
singleton_method_for_literals.txt
splat_argument_after_keyword_argument.txt
statement_at_non_statement.txt
statement_operators.txt
switching_to_named_arguments_twice.txt
switching_to_optional_arguments_twice.txt
symbol_in_hash.txt [ruby/prism] Disallow label in parentheses 2024-09-25 17:33:51 +00:00
symbol_in_keyword_parameter.txt [ruby/prism] Disallow label in parentheses 2024-09-25 17:33:51 +00:00
targeting_numbered_parameter.txt
top_level_constant_starting_with_downcased_identifier.txt
top_level_constant_with_downcased_identifier.txt
trailing_comma_after_block.txt Resync to latest Prism 2024-10-01 11:03:25 -04:00
trailing_comma_in_calls.txt [ruby/prism] Fix up more error messages to more closely match parse.y 2024-09-25 19:19:18 +00:00
unexpected_block.txt
unterminated_argument_expression.txt
unterminated_block.txt [ruby/prism] Fix error messages for unterminated ( and { 2024-12-05 18:42:01 +00:00
unterminated_embdoc.txt
unterminated_embdoc_2.txt
unterminated_empty_string.txt
unterminated_global_variable.txt
unterminated_global_variable_2.txt
unterminated_i_list.txt
unterminated_interpolated_string.txt
unterminated_interpolated_symbol.txt
unterminated_method_parameters.txt [ruby/prism] Fix error messages for unterminated ( and { 2024-12-05 18:42:01 +00:00
unterminated_parenthesized_expression.txt
unterminated_regular_expression.txt
unterminated_regular_expression_with_heredoc.txt
unterminated_s_symbol.txt
unterminated_string.txt
unterminated_unicode_brackets_should_be_a_syntax_error.txt [ruby/prism] Pass Unicode escapes on to onigmo 2024-08-23 19:18:14 +00:00
unterminated_W_list.txt
unterminated_xstring.txt
void_value_expression_in_arguments.txt
void_value_expression_in_array.txt
void_value_expression_in_assignment.txt
void_value_expression_in_begin_statement.txt [ruby/prism] Fix up void value expression checking for rescue 2024-09-25 18:34:51 +00:00
void_value_expression_in_binary_call.txt
void_value_expression_in_call.txt
void_value_expression_in_constant_path.txt
void_value_expression_in_def.txt
void_value_expression_in_expression.txt
void_value_expression_in_hash.txt
void_value_expression_in_modifier.txt
void_value_expression_in_statement.txt
void_value_expression_in_unary_call.txt
while_endless_method.txt
writing_numbered_parameter.txt
xstring_concat.txt [ruby/prism] Make xstrings concat syntax error 2025-03-18 16:00:03 +00:00