godot/modules/gdscript
George Marques 0e6aa6fc38
GDScript: Initialize all defaults beforehand in implicit constructor
Set all the default values for typed variables before actually trying to
initialize them, including `@onready` ones.

This ensures that if validated calls are being used there will be a
value of the correct type, even if the resolution is done out of order
or deferred because of `@onready`.
2023-02-24 22:01:06 -03:00
..
doc_classes Document @GDScript.is_instance_of method 2023-02-22 17:06:55 +03:00
editor Allow unicode identifier in GDScript syntax highlighter 2023-01-29 13:17:05 +08:00
icons
language_server Fix internal editor not updating when using external editor via LSP 2023-01-22 18:27:22 +08:00
tests GDScript: Initialize all defaults beforehand in implicit constructor 2023-02-24 22:01:06 -03:00
config.py [Scons] Implement module dependency sorting. 2022-08-04 20:00:19 +02:00
gdscript_analyzer.cpp GDScript: Fix range regression 2023-02-24 00:35:11 +02:00
gdscript_analyzer.h Merge pull request #73590 from vnen/gdscript-global-scope-enums 2023-02-20 15:41:45 +01:00
gdscript_byte_codegen.cpp GDScript: Avoid validated division operation to test for zero 2023-02-21 11:12:45 -03:00
gdscript_byte_codegen.h Merge pull request #73489 from vonagam/type-check-node 2023-02-20 15:41:36 +01:00
gdscript_cache.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
gdscript_cache.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
gdscript_codegen.h GDScript: Rework type check 2023-02-17 19:57:18 +02:00
gdscript_compiler.cpp GDScript: Initialize all defaults beforehand in implicit constructor 2023-02-24 22:01:06 -03:00
gdscript_compiler.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
gdscript_disassembler.cpp GDScript: Rework type check 2023-02-17 19:57:18 +02:00
gdscript_editor.cpp GDScript: Limit recursion depth for completion functions 2023-02-20 14:55:13 -03:00
gdscript_function.cpp Merge pull request #65910 from KoBeWi/gdsus 2023-02-03 16:13:06 +01:00
gdscript_function.h Merge pull request #73544 from mashumafi/fix-func-arg-null 2023-02-20 15:41:40 +01:00
gdscript_lambda_callable.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
gdscript_lambda_callable.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
gdscript_parser.cpp GDScript: Fix parsing unexpected break/continue in lambda 2023-02-23 10:49:06 +02:00
gdscript_parser.h Merge pull request #73590 from vnen/gdscript-global-scope-enums 2023-02-20 15:41:45 +01:00
gdscript_rpc_callable.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
gdscript_rpc_callable.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
gdscript_tokenizer.cpp GDScript: Be more lenient with identifiers 2023-02-09 11:19:05 -03:00
gdscript_tokenizer.h Add support for Unicode identifiers in GDScript 2023-01-21 13:39:40 -03:00
gdscript_utility_functions.cpp GDScript: Rework type check 2023-02-17 19:57:18 +02:00
gdscript_utility_functions.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
gdscript_vm.cpp Added check for null objects in gdscript typed assign. 2023-02-21 15:29:07 -05:00
gdscript_warning.cpp GDScript: Add warnings that are set to error by default 2023-02-02 12:07:25 -03:00
gdscript_warning.h GDScript: Add warnings that are set to error by default 2023-02-02 12:07:25 -03:00
gdscript.cpp Merge pull request #72867 from vnen/gdscript-limit-call-depth 2023-02-17 17:00:46 +03:00
gdscript.h Merge pull request #71687 from reduz/support-script-class-name-in-efs 2023-01-21 16:54:23 +01:00
register_types.cpp Remove references to compiled GDScript in export 2023-01-20 15:09:07 -03:00
register_types.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
SCsub SCons: Unify tools/target build type configuration 2022-09-26 16:31:46 +02:00