mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-21 04:51:13 +08:00
Don't delete ErrorNode names. They are part of the parser now.
Fixes #594 and possibly also #590 and #579.
This commit is contained in:
@@ -176,16 +176,16 @@ import datetime as
|
||||
|
||||
call = ''
|
||||
invalid = .call
|
||||
#?
|
||||
#?
|
||||
invalid
|
||||
|
||||
invalid = call?.call
|
||||
#?
|
||||
#? str()
|
||||
invalid
|
||||
|
||||
# comma
|
||||
invalid = ,call
|
||||
#?
|
||||
#? str()
|
||||
invalid
|
||||
|
||||
|
||||
|
||||
@@ -3,10 +3,10 @@ Renaming tests. This means search for usages.
|
||||
I always leave a little bit of space to add room for additions, because the
|
||||
results always contain position informations.
|
||||
"""
|
||||
#< 4 (0,4), (3,0), (5,0), (17,0)
|
||||
#< 4 (0,4), (3,0), (5,0), (17,0), (12,4), (14,5), (15,0)
|
||||
def abc(): pass
|
||||
|
||||
#< 0 (-3,4), (0,0), (2,0), (14,0)
|
||||
#< 0 (-3,4), (0,0), (2,0), (14,0), (9,4), (11,5), (12,0)
|
||||
abc.d.a.bsaasd.abc.d
|
||||
|
||||
abc
|
||||
@@ -20,7 +20,7 @@ if 1:
|
||||
else:
|
||||
(abc) =
|
||||
abc =
|
||||
#< (-17,4), (-14,0), (-12,0), (0,0)
|
||||
#< (-17,4), (-14,0), (-12,0), (0,0), (-2,0), (-3,5), (-5,4)
|
||||
abc
|
||||
|
||||
abc = 5
|
||||
|
||||
Reference in New Issue
Block a user