2014-03-09 | Paul Boddie | raw files shortlog changelog graph | Fixed expression value assignment. | syspython-as-target |
micropython/deduce.py (file) |
1.1 --- a/micropython/deduce.py Sun Mar 09 18:26:17 2014 +0100 1.2 +++ b/micropython/deduce.py Sun Mar 09 18:51:11 2014 +0100 1.3 @@ -496,7 +496,7 @@ 1.4 value = attr 1.5 1.6 if value and isinstance(value, Instance) and not isinstance(value, TypedInstance): 1.7 - node._values[node.name] = self.expr 1.8 + node._values[node.name] = expr 1.9 1.10 def visitCallFunc(self, node): 1.11