mirror of
https://github.com/godotengine/godot.git
synced 2024-12-15 10:12:40 +08:00
GDScript: Fix marking of line with unsafe property access as unsafe
This commit is contained in:
parent
a3a42159e3
commit
3c308f42e2
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user