Memoizing statements doesn't work anymore.

Statements now need to be evaluated at least if predefined_names_dict is set.
This commit is contained in:
Dave Halter committed 2015-06-29 13:32:39 +02:00
1 parent 6e44f334d8
commit d694ab83a3
2 files changed
+6 -2

No files matched your search

+4 -1
View File
@@ -21,5 +21,8 @@ else:
#! 6 type-error-operation
z = x + y
# However, here we have correct types.
if type(x) == type(y):
if x == y:
z = x + y
else:
#! 6 type-error-operation
z = x + y