1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-02 19:01:36 +00:00

Merge pull request #49287 from reduz/expose-variant-internal-binders

Make some Variant internal functions public.
This commit is contained in:
Rémi Verschelde
2021-06-19 01:11:03 +02:00
committed by GitHub
8 changed files with 2233 additions and 2150 deletions

View File

@@ -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);