mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-08 21:05:21 +08:00
Fix some usage cases of comprehensions.
This commit is contained in:
1 parent
306fd5b95b
commit
24457bfe2e
3 files changed
+31
-3
No files matched your search
@@ -17,8 +17,9 @@ tuple(a + 3 for a in [''])
|
||||
# Some variables within are not defined
|
||||
# ----------
|
||||
|
||||
abcdef = None
|
||||
#! 12 name-error
|
||||
[1 for a in NOT_DEFINFED for b in a if 1]
|
||||
[1 for a in NOT_DEFINFED for b in abcdef if 1]
|
||||
|
||||
#! 25 name-error
|
||||
[1 for a in [1] for b in NOT_DEFINED if 1]
|
||||
|
||||
Reference in new issue
Block a user