1
0
forked from VimPlug/jedi

Get lambdas mostly working.

This commit is contained in:
Dave Halter
2014-12-01 02:47:48 +01:00
parent 4ee5ad4ce3
commit 88853c78f4
5 changed files with 61 additions and 34 deletions
+2
View File
@@ -176,6 +176,8 @@ class Evaluator(object):
elif isinstance(element, pr.Keyword):
# For False/True/None
return [compiled.builtin.get_by_name(element.value)]
elif isinstance(element, pr.Lambda):
return [er.LambdaWrapper(self, element)]
elif element.type == 'power':
types = self._eval_atom(element.children[0])
for trailer in element.children[1:]: