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