virtualx-engine/modules/gdscript
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
..
doc_classes Enchance descriptions of @GlobalScope/@GDScript 2021-11-25 14:24:09 +03:00
editor Improvments for SyntaxHighlighters 2022-01-15 15:39:55 +00:00
editor_templates Add a GDScript template for VisualShaderNodeCustom 2022-01-06 12:06:33 +03:00
icons Make script type distinguishable by icon 2022-01-13 12:29:05 +01:00
language_server Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
tests GDScript: Consolidate behavior for assigning enum types 2022-02-03 13:32:16 -03:00
config.py Unregister GDScriptFunctionState class 2020-11-26 21:39:54 -03:00
gdscript.cpp Merge pull request #56268 from KoBeWi/🚗complete_setters 2022-01-13 12:40:48 +01:00
gdscript.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
gdscript_analyzer.cpp GDScript: Consolidate behavior for assigning enum types 2022-02-03 13:32:16 -03:00
gdscript_analyzer.h GDScript: Consolidate behavior for assigning enum types 2022-02-03 13:32:16 -03:00
gdscript_byte_codegen.cpp Merge pull request #55616 from cdemirer/master 2022-01-17 20:16:26 +01:00
gdscript_byte_codegen.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
gdscript_cache.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
gdscript_cache.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
gdscript_codegen.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
gdscript_compiler.cpp GDScript: Consolidate behavior for assigning enum types 2022-02-03 13:32:16 -03:00
gdscript_compiler.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
gdscript_disassembler.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
gdscript_editor.cpp GDScript: Consolidate behavior for assigning enum types 2022-02-03 13:32:16 -03:00
gdscript_function.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
gdscript_function.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
gdscript_lambda_callable.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
gdscript_lambda_callable.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
gdscript_parser.cpp GDScript: Consolidate behavior for assigning enum types 2022-02-03 13:32:16 -03:00
gdscript_parser.h GDScript: Consolidate behavior for assigning enum types 2022-02-03 13:32:16 -03:00
gdscript_tokenizer.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
gdscript_tokenizer.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
gdscript_utility_functions.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
gdscript_utility_functions.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
gdscript_vm.cpp Merge pull request #56409 from cdemirer/fix-unexpected-copying-when-parameter-is-typed 2022-01-10 17:03:47 +01:00
gdscript_warning.cpp GDScript: Consolidate behavior for assigning enum types 2022-02-03 13:32:16 -03:00
gdscript_warning.h GDScript: Consolidate behavior for assigning enum types 2022-02-03 13:32:16 -03:00
register_types.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
register_types.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
SCsub Improve editor template workflow 2022-01-02 21:52:09 +01:00