]> gitweb.factorcode.org Git - factor.git/commitdiff
fix inheritance
authorDoug Coleman <doug.coleman@gmail.com>
Fri, 30 May 2008 23:37:34 +0000 (18:37 -0500)
committerDoug Coleman <doug.coleman@gmail.com>
Fri, 30 May 2008 23:37:34 +0000 (18:37 -0500)
extra/db/tuples/tuples.factor

index ad581d927c52ada62cd97c5f8a036f913238864a..d560acc1d10d558a60f66ce94979d1c3b92e99d6 100755 (executable)
@@ -77,7 +77,7 @@ M: retryable execute-statement* ( statement type -- )
     ] curry 10 retry drop ;
 
 : resulting-tuple ( row out-params -- tuple )
-    dup first class>> new [
+    dup peek class>> new [
         [
             >r slot-name>> r> set-slot-named
         ] curry 2each