godot/modules/gdscript
George Marques f2166ba92f
GDScript: Don't coerce default values to the export hint type
This behavior is inconsistent with non tools builds and can create
issues. Instead, a warning is emitted if there's a type mismatch. If the
type can't be converted, an error is shown instead.

For the editor it gives a converted value to avoid issues with the
property editor, which expects the correct type.
2022-03-02 12:26:17 -03:00
..
doc_classes Fix docs links in 3.x after docs reorg 2022-01-05 11:54:52 +01:00
editor Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
icons Add support for creating editor icons per module 2019-06-28 23:42:26 +03:00
language_server Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
config.py SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
gdscript.cpp GDScript: Don't coerce default values to the export hint type 2022-03-02 12:26:17 -03:00
gdscript.h GDScript: Don't coerce default values to the export hint type 2022-03-02 12:26:17 -03:00
gdscript_compiler.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
gdscript_compiler.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
gdscript_editor.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
gdscript_function.cpp Fix crash when `is` keyword is tested against a String variable 2022-01-14 23:37:04 +08:00
gdscript_function.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
gdscript_functions.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
gdscript_functions.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
gdscript_parser.cpp GDScript: Don't coerce default values to the export hint type 2022-03-02 12:26:17 -03:00
gdscript_parser.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
gdscript_tokenizer.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
gdscript_tokenizer.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
register_types.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
register_types.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00