Skip to content
Snippets Groups Projects
Commit a2e1f1f4 authored by Rafael Ravedutti Lucio Machado's avatar Rafael Ravedutti Lucio Machado
Browse files

Remove FIXME and adjust is_mutable for iterators

parent 88301cda
No related branches found
No related tags found
No related merge requests found
...@@ -24,10 +24,7 @@ class Iter(): ...@@ -24,10 +24,7 @@ class Iter():
return Type_Int return Type_Int
def is_mutable(self): def is_mutable(self):
# FIXME: This should be set to False, but currently the flattening transformation is reusing return False
# expressions that are not alive anymore (used first within if, then outside it), causing
# the generated code to be uncompilable
return True
def scope(self): def scope(self):
return self.loop.block return self.loop.block
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment