diff options
| author | George Marques <george@gmarqu.es> | 2019-03-03 21:39:42 -0300 |
|---|---|---|
| committer | George Marques <george@gmarqu.es> | 2019-03-03 21:39:42 -0300 |
| commit | b24cb92240e047a7976f9eccc1b390ac090692e7 (patch) | |
| tree | 0579c7fe20b9f21bbfb9f6bd9e3bb2c94861e0ab /modules | |
| parent | a1e73dcc944627ab7185aec7cd4141fe4ebb97d7 (diff) | |
| download | redot-engine-b24cb92240e047a7976f9eccc1b390ac090692e7.tar.gz | |
GDScript: Allow `for` iterator to be rededefined
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/gdscript/gdscript_parser.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/gdscript/gdscript_parser.cpp b/modules/gdscript/gdscript_parser.cpp index aff39f0b07..7c4ed84757 100644 --- a/modules/gdscript/gdscript_parser.cpp +++ b/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) { |
