summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gdscript_analyzer.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2021-10-12 16:51:50 +0200
committerGitHub <noreply@github.com>2021-10-12 16:51:50 +0200
commite4288bf7283376adc274860744203faad34d83ec (patch)
tree5e2a1c10ea5ca668c89d1a23cbff61ec882119e0 /modules/gdscript/gdscript_analyzer.cpp
parentcb85ef6c38ec77041593ea89ba544d9cf74cf2a6 (diff)
parent34288b24a6d43d0f9a314f4aaccbebe454f9f23e (diff)
downloadredot-engine-e4288bf7283376adc274860744203faad34d83ec.tar.gz
Merge pull request #53720 from vnen/gdscript-typed-array-custom-class
Diffstat (limited to 'modules/gdscript/gdscript_analyzer.cpp')
-rw-r--r--modules/gdscript/gdscript_analyzer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gdscript/gdscript_analyzer.cpp b/modules/gdscript/gdscript_analyzer.cpp
index 9e9873d45f..8bd288cf0f 100644
--- a/modules/gdscript/gdscript_analyzer.cpp
+++ b/modules/gdscript/gdscript_analyzer.cpp
@@ -470,6 +470,7 @@ GDScriptParser::DataType GDScriptAnalyzer::resolve_datatype(GDScriptParser::Type
GDScriptParser::DataType container_type = resolve_datatype(p_type->container_type);
if (container_type.kind != GDScriptParser::DataType::VARIANT) {
+ container_type.is_meta_type = false;
result.set_container_element_type(container_type);
}
}