Skip to content
Snippets Groups Projects
Commit 348a700c5230 authored by Sylvain's avatar Sylvain
Browse files

we are annotating, so we have to call prepare_annotation on newly created variables

parent 78094d83ef2b
No related branches found
No related tags found
No related merge requests found
......@@ -335,6 +335,7 @@
if var.scope is var.stmt:
# allocate a new variable
newvar = var.stmt.make_variable()
newvar.prepare_annotation()
for vref in var.references():
if vref.scope is exists:
rel = vref.relation()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment