GDScript: Fix marking of line with unsafe property access as unsafe
This commit is contained in:
parent
a3a42159e3
commit
3c308f42e2
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue