godot/modules/gdscript
George Marques 9ed0f0384c
GDScript: Fix crash when base of an attribute is invalid
In attribute expressions (`a.b`) it's possible that the base has an
incorrect syntax and thus become a nullptr expression in the tree. This
commit add the check for this case to fail gracefully instead of
crashing.
2021-04-28 11:09:40 -03:00
..
doc_classes doc: Sync classref with current source 2021-01-04 14:33:44 +01:00
editor Improve resource load cache 2021-02-11 15:44:28 -03:00
icons Optimize SVG using svgcleaner --multipass 2020-10-25 10:02:37 +01:00
language_server Core: Drop custom copymem/zeromem defines 2021-04-27 16:26:27 +02:00
tests GDScript: Add lambdas to the type analyzer 2021-04-28 10:56:16 -03:00
config.py Unregister GDScriptFunctionState class 2020-11-26 21:39:54 -03:00
gdscript.cpp Add runner for GDScript testing 2021-04-08 09:34:59 -03:00
gdscript.h GDScript: Implement lambdas compilation and runtime 2021-04-28 11:09:38 -03:00
gdscript_analyzer.cpp GDScript: Fix crash when base of an attribute is invalid 2021-04-28 11:09:40 -03:00
gdscript_analyzer.h GDScript: Implement lambdas compilation and runtime 2021-04-28 11:09:38 -03:00
gdscript_byte_codegen.cpp GDScript: Implement lambdas compilation and runtime 2021-04-28 11:09:38 -03:00
gdscript_byte_codegen.h GDScript: Implement lambdas compilation and runtime 2021-04-28 11:09:38 -03:00
gdscript_cache.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
gdscript_cache.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
gdscript_codegen.h GDScript: Implement lambdas compilation and runtime 2021-04-28 11:09:38 -03:00
gdscript_compiler.cpp GDScript: Implement lambdas compilation and runtime 2021-04-28 11:09:38 -03:00
gdscript_compiler.h GDScript: Implement lambdas compilation and runtime 2021-04-28 11:09:38 -03:00
gdscript_disassembler.cpp GDScript: Implement lambdas compilation and runtime 2021-04-28 11:09:38 -03:00
gdscript_editor.cpp Fix infinite loop when guessing argument type from parent class 2021-04-05 16:39:41 +02:00
gdscript_function.cpp GDScript: Implement lambdas compilation and runtime 2021-04-28 11:09:38 -03:00
gdscript_function.h GDScript: Implement lambdas compilation and runtime 2021-04-28 11:09:38 -03:00
gdscript_lambda_callable.cpp GDScript: Implement lambdas compilation and runtime 2021-04-28 11:09:38 -03:00
gdscript_lambda_callable.h GDScript: Implement lambdas compilation and runtime 2021-04-28 11:09:38 -03:00
gdscript_parser.cpp GDScript: Fix crash when base of an attribute is invalid 2021-04-28 11:09:40 -03:00
gdscript_parser.h GDScript: Implement lambdas compilation and runtime 2021-04-28 11:09:38 -03:00
gdscript_tokenizer.cpp GDScript: Add lambda syntax parsing 2021-04-28 10:56:16 -03:00
gdscript_tokenizer.h GDScript: Add lambda syntax parsing 2021-04-28 10:56:16 -03:00
gdscript_utility_functions.cpp Rename Array.invert() to Array.reverse() 2021-03-21 10:20:08 +00:00
gdscript_utility_functions.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
gdscript_vm.cpp GDScript: Implement lambdas compilation and runtime 2021-04-28 11:09:38 -03:00
gdscript_warning.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
gdscript_warning.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
register_types.cpp Add runner for GDScript testing 2021-04-08 09:34:59 -03:00
register_types.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
SCsub Register GDScript test tools as test commands to run via command-line 2020-09-02 01:43:26 +03:00