mirror of
https://github.com/godotengine/godot.git
synced 2025-10-22 17:33:33 +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:
commit
944b44243d
1 changed files with 1 additions and 0 deletions
|
@ -3532,6 +3532,7 @@ void GDScriptAnalyzer::reduce_subscript(GDScriptParser::SubscriptNode *p_subscri
|
|||
}
|
||||
#endif
|
||||
result_type.kind = GDScriptParser::DataType::VARIANT;
|
||||
mark_node_unsafe(p_subscript);
|
||||
}
|
||||
}
|
||||
if (!valid) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue