diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-11-26 21:19:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-26 21:19:31 +0100 |
commit | ed2f84735b0fe6b75c823716426d62e6b80e7ae3 (patch) | |
tree | 58f7ce1e6a308b357e5bdeda44e2da259a58ee85 /modules/gdscript/gdscript_analyzer.h | |
parent | e5ff2d0ffd2edd61f51f95054880c5b943c3c855 (diff) | |
parent | 0cb185927c1021f07c8c2111fc73b7f712ea393f (diff) |
Merge pull request #43895 from vnen/gdscript-operators-fix
GDScript: Improve handling of operators
Diffstat (limited to 'modules/gdscript/gdscript_analyzer.h')
-rw-r--r-- | modules/gdscript/gdscript_analyzer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gdscript/gdscript_analyzer.h b/modules/gdscript/gdscript_analyzer.h index 4fb9c633f1..9925167856 100644 --- a/modules/gdscript/gdscript_analyzer.h +++ b/modules/gdscript/gdscript_analyzer.h @@ -102,6 +102,7 @@ class GDScriptAnalyzer { bool validate_call_arg(const List<GDScriptParser::DataType> &p_par_types, int p_default_args_count, bool p_is_vararg, const GDScriptParser::CallNode *p_call); bool validate_call_arg(const MethodInfo &p_method, const GDScriptParser::CallNode *p_call); GDScriptParser::DataType get_operation_type(Variant::Operator p_operation, const GDScriptParser::DataType &p_a, const GDScriptParser::DataType &p_b, bool &r_valid, const GDScriptParser::Node *p_source); + GDScriptParser::DataType get_operation_type(Variant::Operator p_operation, const GDScriptParser::DataType &p_a, bool &r_valid, const GDScriptParser::Node *p_source); bool is_type_compatible(const GDScriptParser::DataType &p_target, const GDScriptParser::DataType &p_source, bool p_allow_implicit_conversion = false) const; void push_error(const String &p_message, const GDScriptParser::Node *p_origin); void mark_node_unsafe(const GDScriptParser::Node *p_node); |