浏览代码

GDScript: Allow `for` iterator to be rededefined

George Marques 6 年之前
父节点
当前提交
b24cb92240
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      modules/gdscript/gdscript_parser.cpp

+ 0 - 1
modules/gdscript/gdscript_parser.cpp

@@ -3057,7 +3057,6 @@ void GDScriptParser::_parse_block(BlockNode *p_block, bool p_static) {
 				}
 
 				DataType iter_type;
-				iter_type.is_constant = true;
 
 				if (container->type == Node::TYPE_OPERATOR) {