]> gitweb.factorcode.org Git - factor.git/commitdiff
cocoa.subclassing: sometimes, compiled Cocoa method bodies would not be updated when...
authorSlava Pestov <slava@factorcode.org>
Mon, 29 Aug 2011 05:56:58 +0000 (22:56 -0700)
committerSlava Pestov <slava@factorcode.org>
Mon, 29 Aug 2011 05:56:58 +0000 (22:56 -0700)
basis/cocoa/subclassing/subclassing.factor

index 3b88a8868c071fab8c487afa19f43f02e8bf960b..62916e45a19a212b3188da6dc4ebb18a5de5c34a 100644 (file)
@@ -48,7 +48,7 @@ IN: cocoa.subclassing
 : prepare-methods ( methods -- methods )
     [
         [ first4 prepare-method 3array ] map
-    ] with-compilation-unit ;
+    ] with-nested-compilation-unit ;
 
 :: (redefine-objc-method) ( class method -- )
     method init-method :> ( sel imp types )