GDScript: Allow `for` iterator to be rededefined
This commit is contained in:
parent
a1e73dcc94
commit
b24cb92240
|
@ -3057,7 +3057,6 @@ void GDScriptParser::_parse_block(BlockNode *p_block, bool p_static) {
|
||||||
}
|
}
|
||||||
|
|
||||||
DataType iter_type;
|
DataType iter_type;
|
||||||
iter_type.is_constant = true;
|
|
||||||
|
|
||||||
if (container->type == Node::TYPE_OPERATOR) {
|
if (container->type == Node::TYPE_OPERATOR) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue