godot/modules/gdscript/tests/scripts/parser/errors
George Marques 54a1414500
GDScript: Implement pattern guards for match statement
Within a match statement, it is now possible to add guards in each
branch:

	var a = 0
	match a:
		0 when false: print("does not run")
		0 when true: print("but this does")

This allows more complex logic for deciding which branch to take.
2023-09-27 11:25:25 -03:00
..
annotation_extra_comma.gd GDScript: Fix and improve annotation parsing 2023-04-14 21:28:46 +03:00
annotation_extra_comma.out GDScript: Fix and improve annotation parsing 2023-04-14 21:28:46 +03:00
array_consecutive_commas.gd Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
array_consecutive_commas.out Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
assignment_2_equal_signs.gd Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
assignment_2_equal_signs.out Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
assignment_3_equal_signs.gd Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
assignment_3_equal_signs.out Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
assignment_empty_assignee.gd Fixed crash when parsing an empty assignment. 2021-08-25 18:48:08 +02:00
assignment_empty_assignee.out Fixed crash when parsing an empty assignment. 2021-08-25 18:48:08 +02:00
assignment_in_if.gd Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
assignment_in_if.out Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
assignment_in_var.gd Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
assignment_in_var.out Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
assignment_in_var_if.gd Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
assignment_in_var_if.out Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
assignment_without_identifier.gd Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
assignment_without_identifier.out Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
bad_continue_in_lambda.gd GDScript: Fix parsing unexpected break/continue in lambda 2023-02-23 10:49:06 +02:00
bad_continue_in_lambda.out GDScript: Fix parsing unexpected break/continue in lambda 2023-02-23 10:49:06 +02:00
bad_r_string_1.gd GDScript: Add raw string literals (r-strings) 2023-09-11 18:34:33 +03:00
bad_r_string_1.out GDScript: Add raw string literals (r-strings) 2023-09-11 18:34:33 +03:00
bad_r_string_2.gd GDScript: Add raw string literals (r-strings) 2023-09-11 18:34:33 +03:00
bad_r_string_2.out GDScript: Add raw string literals (r-strings) 2023-09-11 18:34:33 +03:00
bad_r_string_3.gd GDScript: Add raw string literals (r-strings) 2023-09-11 18:34:33 +03:00
bad_r_string_3.out GDScript: Add raw string literals (r-strings) 2023-09-11 18:34:33 +03:00
binary_complement_without_argument.gd GDScript: Show error on unary operators without argument 2021-09-15 11:08:59 -03:00
binary_complement_without_argument.out GDScript: Show error on unary operators without argument 2021-09-15 11:08:59 -03:00
boolean_negation_without_argument.gd GDScript: Show error on unary operators without argument 2021-09-15 11:08:59 -03:00
boolean_negation_without_argument.out GDScript: Show error on unary operators without argument 2021-09-15 11:08:59 -03:00
boolean_negation_without_argument_using_bang.gd GDScript: Show error on unary operators without argument 2021-09-15 11:08:59 -03:00
boolean_negation_without_argument_using_bang.out GDScript: Show error on unary operators without argument 2021-09-15 11:08:59 -03:00
brace_syntax.gd Add more integration tests to the GDScript test suite 2021-09-15 19:57:39 +02:00
brace_syntax.out Add more integration tests to the GDScript test suite 2021-09-15 19:57:39 +02:00
class_name_after_annotation.gd Fix global script class parsing. 2023-01-31 12:43:25 +01:00
class_name_after_annotation.out Clarify error message about script-level annotation 2023-01-24 13:10:45 +03:00
constant_conflicts_variable.gd Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
constant_conflicts_variable.out Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
default_value_in_function_call.gd Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
default_value_in_function_call.out Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
dollar-assignment-bug-53696.gd Fix GDScript parser crash on 'dollar mixed with assignment' expression 2021-11-21 21:18:46 +01:00
dollar-assignment-bug-53696.out GDScript: Support `%` in shorthand for `get_node` 2022-05-27 13:46:18 -03:00
double_dictionary_comma.gd Add GDScript `.editorconfig` rules 2023-01-10 12:25:35 -05:00
double_dictionary_comma.out Fix crash with consecutive commas in Dictionary 2021-09-10 15:38:24 +02:00
duplicate_icon.gd GDScript: Add some checks for `@tool` and `@icon` 2023-04-20 07:44:10 +03:00
duplicate_icon.out GDScript: Add some checks for `@tool` and `@icon` 2023-04-20 07:44:10 +03:00
duplicate_tool.gd GDScript: Add some checks for `@tool` and `@icon` 2023-04-20 07:44:10 +03:00
duplicate_tool.out GDScript: Add some checks for `@tool` and `@icon` 2023-04-20 07:44:10 +03:00
function_conflicts_constant.gd Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
function_conflicts_constant.out Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
function_conflicts_variable.gd Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
function_conflicts_variable.out Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
identifier_similar_to_keyword.gd Add support for Unicode identifiers in GDScript 2023-01-21 13:39:40 -03:00
identifier_similar_to_keyword.out Add support for Unicode identifiers in GDScript 2023-01-21 13:39:40 -03:00
invalid_escape_sequence.gd Add more integration tests to the GDScript test suite 2021-09-15 19:57:39 +02:00
invalid_escape_sequence.out Add more integration tests to the GDScript test suite 2021-09-15 19:57:39 +02:00
invalid_identifier_number.gd Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
invalid_identifier_number.out Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
invalid_identifier_string.gd Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
invalid_identifier_string.out Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
invalid_ternary_operator.gd Add more integration tests to the GDScript test suite 2021-09-15 19:57:39 +02:00
invalid_ternary_operator.out Add more integration tests to the GDScript test suite 2021-09-15 19:57:39 +02:00
lambda_no_continue_on_new_line.gd Fix lambda parsing continuing on subsequent lines #73273 2023-06-21 12:56:57 +02:00
lambda_no_continue_on_new_line.out Fix lambda parsing continuing on subsequent lines #73273 2023-06-21 12:56:57 +02:00
lambda_standalone.gd GDScript: Do not allow standalone lambdas 2022-05-23 12:25:03 -03:00
lambda_standalone.out GDScript: Do not allow standalone lambdas 2022-05-23 12:25:03 -03:00
match_guard_with_assignment.gd GDScript: Implement pattern guards for match statement 2023-09-27 11:25:25 -03:00
match_guard_with_assignment.out GDScript: Implement pattern guards for match statement 2023-09-27 11:25:25 -03:00
match_multiple_variable_binds_in_branch.gd Add GDScript `.editorconfig` rules 2023-01-10 12:25:35 -05:00
match_multiple_variable_binds_in_branch.out Fix issues with multiple bind patterns in match statement 2022-04-04 15:47:08 +08:00
missing_closing_expr_paren.gd Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
missing_closing_expr_paren.out Rename GDScript test script filenames to use `snake_case` 2021-04-16 22:16:19 +03:00
missing_colon.gd Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
missing_colon.out Rename GDScript test script filenames to use `snake_case` 2021-04-16 22:16:19 +03:00
missing_expression_after_ternary_else.gd GDScript: Show error when missing expression after ternary else 2021-09-15 11:43:36 -03:00
missing_expression_after_ternary_else.out GDScript: Show error when missing expression after ternary else 2021-09-15 11:43:36 -03:00
missing_paren_after_args.gd Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
missing_paren_after_args.out Rename GDScript test script filenames to use `snake_case` 2021-04-16 22:16:19 +03:00
mistaken_decrement_operator.gd GDScript: Show error on unary operators without argument 2021-09-15 11:08:59 -03:00
mistaken_decrement_operator.out GDScript: Show error on unary operators without argument 2021-09-15 11:08:59 -03:00
mistaken_increment_operator.gd GDScript: Show error on unary operators without argument 2021-09-15 11:08:59 -03:00
mistaken_increment_operator.out GDScript: Show error on unary operators without argument 2021-09-15 11:08:59 -03:00
mixing_tabs_spaces.gd Rename GDScript test script filenames to use `snake_case` 2021-04-16 22:16:19 +03:00
mixing_tabs_spaces.out Improve GDScript indentation error message 2021-10-28 13:01:53 +02:00
multiple_number_separators.gd GDScript: Fix repeated `_` are allowed after decimal point 2023-06-14 21:47:12 +03:00
multiple_number_separators.out GDScript: Fix repeated `_` are allowed after decimal point 2023-06-14 21:47:12 +03:00
multiple_number_separators_after_decimal.gd GDScript: Fix repeated `_` are allowed after decimal point 2023-06-14 21:47:12 +03:00
multiple_number_separators_after_decimal.out GDScript: Fix repeated `_` are allowed after decimal point 2023-06-14 21:47:12 +03:00
nothing_after_dollar.gd Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
nothing_after_dollar.out GDScript: Support `%` in shorthand for `get_node` 2022-05-27 13:46:18 -03:00
redefine_keyword.gd Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
redefine_keyword.out Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
redefine_local_constant_with_keyword.gd Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
redefine_local_constant_with_keyword.out Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
static_constructor_not_static.gd Add support for static variables in GDScript 2023-04-27 09:51:44 -03:00
static_constructor_not_static.out Add support for static variables in GDScript 2023-04-27 09:51:44 -03:00
static_constructor_returning_something.gd Add support for static variables in GDScript 2023-04-27 09:51:44 -03:00
static_constructor_returning_something.out Add support for static variables in GDScript 2023-04-27 09:51:44 -03:00
subscript_without_index.gd GDScript: Properly catch error when missing index in subscript 2021-09-17 14:31:51 -03:00
subscript_without_index.out GDScript: Properly catch error when missing index in subscript 2021-09-17 14:31:51 -03:00
variable_conflicts_constant.gd Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
variable_conflicts_constant.out Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
variable_conflicts_for_variable.gd Do error when for variable conflicts with a variable in scope 2022-07-04 12:30:39 +03:00
variable_conflicts_for_variable.out Do error when for variable conflicts with a variable in scope 2022-07-04 12:30:39 +03:00
variable_conflicts_function.gd Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
variable_conflicts_function.out Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
variable_conflicts_variable.gd Do error when for variable conflicts with a variable in scope 2022-07-04 12:30:39 +03:00
variable_conflicts_variable.out Do error when for variable conflicts with a variable in scope 2022-07-04 12:30:39 +03:00
vcs_conflict_marker.gd Add more integration tests to the GDScript test suite 2021-09-15 19:57:39 +02:00
vcs_conflict_marker.out Add more integration tests to the GDScript test suite 2021-09-15 19:57:39 +02:00
wrong_value_after_dollar.gd Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
wrong_value_after_dollar.out GDScript: Support `%` in shorthand for `get_node` 2022-05-27 13:46:18 -03:00
wrong_value_after_dollar_slash.gd Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
wrong_value_after_dollar_slash.out GDScript: Support `%` in shorthand for `get_node` 2022-05-27 13:46:18 -03:00
yield_instead_of_await.gd GDScript: Show specific error when "yield" is used 2021-09-21 14:38:14 -03:00
yield_instead_of_await.out Change explicit 'Godot 4.0' references to 'Godot 4' 2023-07-10 13:08:11 +02:00