forked from VimPlug/jedi
Fix inference from type comment for function parameter with dot
fix for https://github.com/davidhalter/jedi/issues/1437
This commit is contained in:
committed by
Dave Halter
parent
00b220516d
commit
6d632a01eb
@@ -38,6 +38,20 @@ def test(a, b):
|
||||
#? str()
|
||||
e
|
||||
|
||||
class AA:
|
||||
class BB:
|
||||
pass
|
||||
|
||||
def test(a):
|
||||
# type: (AA.BB) -> None
|
||||
#? AA.BB()
|
||||
a
|
||||
|
||||
def test(a):
|
||||
# type: (AA.BB,) -> None
|
||||
#? AA.BB()
|
||||
a
|
||||
|
||||
a,b = 1, 2 # type: str, float
|
||||
#? str()
|
||||
a
|
||||
|
||||
Reference in New Issue
Block a user