summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gdscript_analyzer.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2021-06-19 01:11:03 +0200
committerGitHub <noreply@github.com>2021-06-19 01:11:03 +0200
commita9c53fa5994db8badb4ec14581bd8422fb340f41 (patch)
treee2a7722d6e5c34270b967c07aaa8e13aef6ad327 /modules/gdscript/gdscript_analyzer.cpp
parent9b0800cbf92f4165de2981f34dab6a55201fdcd9 (diff)
parentb5f1e88b2ed7be4c0ecc9edf3f5d9f6287b7c513 (diff)
downloadredot-engine-a9c53fa5994db8badb4ec14581bd8422fb340f41.tar.gz
Merge pull request #49287 from reduz/expose-variant-internal-binders
Make some Variant internal functions public.
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 2c848cb1de..485a4b7b61 100644
--- a/modules/gdscript/gdscript_analyzer.cpp
+++ b/modules/gdscript/gdscript_analyzer.cpp
@@ -3447,6 +3447,7 @@ GDScriptParser::DataType GDScriptAnalyzer::get_operation_type(Variant::Operator
}
r_valid = true;
+ result.type_source = GDScriptParser::DataType::ANNOTATED_INFERRED;
result.kind = GDScriptParser::DataType::BUILTIN;
result.builtin_type = Variant::get_operator_return_type(p_operation, a_type, b_type);