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:
1 parent
6e44f334d8
commit
d694ab83a3
2 files changed
+6
-2
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user