1
0
forked from VimPlug/jedi

Fix lambda dynamic param searches, fixes #1070

This commit is contained in:
Dave Halter
2018-03-25 23:54:43 +02:00
parent f5ba6de38c
commit 538996d8d3
2 changed files with 45 additions and 11 deletions

View File

@@ -132,3 +132,19 @@ def from_comprehension(foo):
[from_comprehension(1.0) for n in (1,)]
[from_comprehension(n) for n in (1,)]
# -----------------
# lambdas
# -----------------
#? int()
x_lambda = lambda x: x
x_lambda(1)
class X():
#? str()
x_method = lambda self, a: a
X().x_method('')