virtualx-engine/modules/gdscript
ChibiDenDen 9ffa9a6bac Fix constant access in base class through subclass instance
Fixes as issue where a subclass calls a base class method that tries to access a constant from the script.
The original code went through every ower class, and for each owner, went through its inheritance tree.
This seems like the wrong order, the modified code goes to each base class, and for each base class goes through the owner tree.
This is more in line with what the parser does, as the current impelemtation allows an access that the parser does not support.
This change should not negatively affect existing code due to the way the parser works
2020-01-17 00:12:45 +02:00
..
doc_classes Merge pull request #34280 from zaksnet/fix-yield-documentation 2019-12-16 08:49:32 +01:00
editor Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
icons Add support for creating editor icons per module 2019-06-28 23:42:26 +03:00
language_server Prevent GDScript language server from listening to external hosts by default 2020-01-15 00:29:59 +00:00
config.py doc: Improve docs for Resource* classes 2019-06-18 20:07:26 +02:00
gdscript.cpp Merge pull request #35218 from bojidar-bg/26691-parse-error-errors 2020-01-16 22:32:49 +01:00
gdscript.h Keep a weak reference to orphan subclasses to reuse on class reload 2020-01-15 22:54:01 +02:00
gdscript_compiler.cpp Keep a weak reference to orphan subclasses to reuse on class reload 2020-01-15 22:54:01 +02:00
gdscript_compiler.h GDScript: Don't re-evaluate index on assigment with operation 2020-01-09 10:43:29 -03:00
gdscript_editor.cpp Merge pull request #35218 from bojidar-bg/26691-parse-error-errors 2020-01-16 22:32:49 +01:00
gdscript_function.cpp Fix constant access in base class through subclass instance 2020-01-17 00:12:45 +02:00
gdscript_function.h Validate instances of objects before trying to check their type in GDScript 2020-01-16 16:39:59 +02:00
gdscript_functions.cpp GDScript: enable type checks on release mode 2020-01-08 12:38:18 -03:00
gdscript_functions.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
gdscript_parser.cpp Fix slight problems related to default values of exported typed arrays 2020-01-16 14:50:29 +02:00
gdscript_parser.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
gdscript_tokenizer.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
gdscript_tokenizer.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
register_types.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
register_types.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
SCsub GDScript: Disable LSP if either jsonrpc or websocket are disabled 2019-08-28 13:29:37 +02:00