Commit 7bcb1102 authored by Stefan Behnel's avatar Stefan Behnel

missing type cast

parent d979ac14
...@@ -1069,7 +1069,7 @@ class FuncDefNode(StatNode, BlockNode): ...@@ -1069,7 +1069,7 @@ class FuncDefNode(StatNode, BlockNode):
outer_scope_cname, outer_scope_cname,
env.scope_class.type.declaration_code(''), env.scope_class.type.declaration_code(''),
Naming.self_cname)) Naming.self_cname))
code.put_incref(outer_scope_cname, py_object_type) code.put_incref(outer_scope_cname, env.scope_class.type)
code.put_giveref(outer_scope_cname) code.put_giveref(outer_scope_cname)
# ----- Fetch arguments # ----- Fetch arguments
self.generate_argument_parsing_code(env, code) self.generate_argument_parsing_code(env, code)
......
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