diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-01-12 20:08:55 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-01-12 20:08:55 +0100 |
commit | aaa5158ff9c6edbd4320f0c7b8c8b8047ec3aea8 (patch) | |
tree | 0756aa7be94ab5ba5984fc64f13f4ebb6cb3bf75 /modules/gdscript/gdscript_analyzer.h | |
parent | 318af8f36c328cfc778df15d04e5b4596ac00b7f (diff) | |
parent | 38c214d483a12d4c6621a7e424971e38effa2ec0 (diff) | |
download | redot-engine-aaa5158ff9c6edbd4320f0c7b8c8b8047ec3aea8.tar.gz |
Merge pull request #70733 from vonagam/fix-assigning-untyped
GDScript: Fix some issues with assignments that involve untyped things
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 da7b7ddb75..b22d47982f 100644 --- a/modules/gdscript/gdscript_analyzer.h +++ b/modules/gdscript/gdscript_analyzer.h @@ -120,6 +120,7 @@ class GDScriptAnalyzer { bool is_type_compatible(const GDScriptParser::DataType &p_target, const GDScriptParser::DataType &p_source, bool p_allow_implicit_conversion = false, const GDScriptParser::Node *p_source_node = nullptr); void push_error(const String &p_message, const GDScriptParser::Node *p_origin = nullptr); void mark_node_unsafe(const GDScriptParser::Node *p_node); + void downgrade_node_type_source(GDScriptParser::Node *p_node); void mark_lambda_use_self(); bool class_exists(const StringName &p_class) const; Ref<GDScriptParserRef> get_parser_for(const String &p_path); |