make auto_cpdef play nicely with closure functions
[cython.git] / Cython / Compiler / Main.py
index 993d8d9985a612896c18d817069deba72598ffe3..6b5deaee2c6a37d2d1fc1d8d4e977b83ad689655 100644 (file)
@@ -135,8 +135,8 @@ class Context(object):
             PostParse(self),
             _specific_post_parse,
             InterpretCompilerDirectives(self, self.compiler_directives),
-            _align_function_definitions,
             MarkClosureVisitor(self),
+            _align_function_definitions,
             ConstantFolding(),
             FlattenInListTransform(),
             WithTransform(self),