godot/modules/gdscript/tests/scripts/parser/warnings
George Marques ad6e2e82a9
GDScript: Consolidate behavior for assigning enum types
This makes sure that assigning values to enum-typed variables are
consistent. Same enum is always valid, different enum is always
invalid (without casting) and assigning `int` creates a warning
if there is no casting.

There are new test cases to ensure this behavior doesn't break in
the future.
2022-02-03 13:32:16 -03:00
..
assert_always_true.gd Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
assert_always_true.out Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
deprecated_operators.gd Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
deprecated_operators.out Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
empty_file_comment.notest.gd Fix error on parsing statement-less GDScript files, 2021-09-11 20:38:15 +02:00
empty_file_comment.notest.out Fix error on parsing statement-less GDScript files, 2021-09-11 20:38:15 +02:00
empty_file_newline_comment.notest.gd Fix error on parsing statement-less GDScript files, 2021-09-11 20:38:15 +02:00
empty_file_newline_comment.notest.out Fix error on parsing statement-less GDScript files, 2021-09-11 20:38:15 +02:00
empty_file_newline.notest.gd Fix error on parsing statement-less GDScript files, 2021-09-11 20:38:15 +02:00
empty_file_newline.notest.out Fix error on parsing statement-less GDScript files, 2021-09-11 20:38:15 +02:00
empty_file.notest.gd Fix error on parsing statement-less GDScript files, 2021-09-11 20:38:15 +02:00
empty_file.notest.out Fix error on parsing statement-less GDScript files, 2021-09-11 20:38:15 +02:00
enum_assign_int_without_casting.gd GDScript: Consolidate behavior for assigning enum types 2022-02-03 13:32:16 -03:00
enum_assign_int_without_casting.out GDScript: Consolidate behavior for assigning enum types 2022-02-03 13:32:16 -03:00
incompatible_ternary.gd Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
incompatible_ternary.out Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
integer_division.gd Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
integer_division.out Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
match_default_not_at_end.gd Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
match_default_not_at_end.out Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
narrowing_conversion.gd Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
narrowing_conversion.out Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
return_value_discarded.gd Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
return_value_discarded.out Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
shadowed_constant.gd Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
shadowed_constant.out Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
shadowed_global_identifier.gd Allow using built-in names for variables, push warnings instead 2021-11-13 21:47:24 +03:00
shadowed_global_identifier.out Fix shadowed global identifier warning duplication 2021-12-13 11:54:23 +03:00
shadowed_variable_class.gd Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
shadowed_variable_class.out Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
shadowed_variable_function.gd Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
shadowed_variable_function.out Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
standalone_expression.gd Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
standalone_expression.out Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
unassigned_variable_op_assign.gd Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
unassigned_variable_op_assign.out Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
unassigned_variable.gd Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
unassigned_variable.out Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
unreachable_code_after_return.gd Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
unreachable_code_after_return.out Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
unused_argument.gd Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
unused_argument.out Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
unused_variable.gd Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
unused_variable.out Rename GDScript test script filenames to use snake_case 2021-04-16 22:16:19 +03:00
void_assignment.gd Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
void_assignment.out Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00