Commit 3f34de4e authored by Vitja Makarov's avatar Vitja Makarov

Lambdas are generated inside GeneratorDefNode while inner functions in GeneratorBodyDefNode

parent e12f3edf
......@@ -2983,8 +2983,6 @@ class GeneratorBodyDefNode(DefNode):
# Generate closure function definitions
self.body.generate_function_definitions(lenv, code)
# generate lambda function definitions
self.generate_lambda_definitions(lenv, code)
# Generate C code for header and body of function
code.enter_cfunc_scope()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment