You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Merge pull request #72008 from vonagam/fix-property-access-unsafe-mark
GDScript: Fix marking of line with unsafe property access as unsafe
This commit is contained in:
@@ -3532,6 +3532,7 @@ void GDScriptAnalyzer::reduce_subscript(GDScriptParser::SubscriptNode *p_subscri
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
result_type.kind = GDScriptParser::DataType::VARIANT;
|
result_type.kind = GDScriptParser::DataType::VARIANT;
|
||||||
|
mark_node_unsafe(p_subscript);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!valid) {
|
if (!valid) {
|
||||||
|
|||||||
Reference in New Issue
Block a user