summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/register_types.cpp
diff options
context:
space:
mode:
authorGeorge Marques <george@gmarqu.es>2021-03-17 10:57:30 -0300
committerGeorge Marques <george@gmarqu.es>2021-03-30 08:29:36 -0300
commit577a17980d160a95652e6d5ecc3e8554f4c2ebad (patch)
tree016c96218ec11f5926d567e7b56f5bb5946aeab7 /modules/gdscript/register_types.cpp
parent655a913e2273b41037df80ae00c11bed9f98d9a9 (diff)
downloadredot-engine-577a17980d160a95652e6d5ecc3e8554f4c2ebad.tar.gz
Move GDSript annotation application after type-checking
This ensures that annotations that rely on the datatype (such as @export) can validated it timely, allowing compound expressions instead of only literal values.
Diffstat (limited to 'modules/gdscript/register_types.cpp')
-rw-r--r--modules/gdscript/register_types.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/gdscript/register_types.cpp b/modules/gdscript/register_types.cpp
index 93b709a613..19fd3daf20 100644
--- a/modules/gdscript/register_types.cpp
+++ b/modules/gdscript/register_types.cpp
@@ -158,7 +158,6 @@ void unregister_gdscript_types() {
#endif // TOOLS_ENABLED
GDScriptParser::cleanup();
- GDScriptAnalyzer::cleanup();
GDScriptUtilityFunctions::unregister_functions();
}