Skip to content
Snippets Groups Projects
Commit 68e24fceb3ff authored by Sylvain's avatar Sylvain
Browse files

solutions may have not yet been computed in annotation

parent 6ee7069ca42c
No related branches found
No related tags found
No related merge requests found
...@@ -367,9 +367,10 @@ ...@@ -367,9 +367,10 @@
continue continue
# shared references # shared references
newvar.stinfo['constnode'] = var.stinfo['constnode'] newvar.stinfo['constnode'] = var.stinfo['constnode']
newvar.stinfo['possibletypes'] = var.stinfo['possibletypes'] if newvar.stmt.solutions: # solutions already computed
for sol in newvar.stmt.solutions: newvar.stinfo['possibletypes'] = var.stinfo['possibletypes']
sol[newvar.name] = sol[var.name] for sol in newvar.stmt.solutions:
sol[newvar.name] = sol[var.name]
rel = exists.add_relation(var, 'identity', newvar) rel = exists.add_relation(var, 'identity', newvar)
# we have to force visit of the introduced relation # we have to force visit of the introduced relation
self.visit_relation(rel, exists) self.visit_relation(rel, exists)
......
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