Commit 4e444c27 authored by Tom Niget's avatar Tom Niget

Remove unneeded unification

parent 67c00f47
......@@ -54,7 +54,6 @@ class ScoperBlockVisitor(ScoperVisitor):
target = node.targets[0]
ty = self.get_type(node.value)
node.is_declare = self.visit_assign_target(target, ty)
target.type.unify(ty)
def visit_assign_target(self, target, decl_val: BaseType) -> bool:
if isinstance(target, ast.Name):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment