cute little test. still fscked.
This commit is contained in:
parent
154ba2dfe4
commit
868d1cbd6e
@ -20,3 +20,11 @@ class HYExpression(list, HYObject):
|
|||||||
"function": fn,
|
"function": fn,
|
||||||
"args": args
|
"args": args
|
||||||
}
|
}
|
||||||
|
|
||||||
|
def __call__(self, *args, **kwargs):
|
||||||
|
things = []
|
||||||
|
fn = self.get_invocation()['function']
|
||||||
|
for child in self.get_children():
|
||||||
|
things.append(child())
|
||||||
|
|
||||||
|
return self.namespace[fn](*things)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user