mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 22:44:27 +08:00
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:
@@ -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