Skip to content
Snippets Groups Projects
Commit eb0ae32d authored by Frederik Hennig's avatar Frederik Hennig
Browse files

fix symbol name

parent c0f2fb54
No related branches found
No related tags found
2 merge requests!373Symbol Canonicalization, Loop-Invariant Code Motion, and AST Factory,!372Fix handling of constness in Typifier
Pipeline #64865 passed
...@@ -304,10 +304,10 @@ class Typifier: ...@@ -304,10 +304,10 @@ class Typifier:
if ctr.symbol.dtype is None: if ctr.symbol.dtype is None:
ctr.symbol.apply_dtype(self._ctx.index_dtype) ctr.symbol.apply_dtype(self._ctx.index_dtype)
tc_lhs = TypeContext(ctr.symbol.dtype) tc_index = TypeContext(ctr.symbol.dtype)
self.visit_expr(start, tc_lhs) self.visit_expr(start, tc_index)
self.visit_expr(stop, tc_lhs) self.visit_expr(stop, tc_index)
self.visit_expr(step, tc_lhs) self.visit_expr(step, tc_index)
self.visit(body) self.visit(body)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment