]> gitweb.factorcode.org Git - factor.git/commitdiff
Slots with declared type of callable or quotation now have an initial value [ ]
authorU-SLAVA-DFB8FF805\Slava <Slava@slava-dfb8ff805.(none)>
Wed, 28 Jan 2009 07:57:14 +0000 (01:57 -0600)
committerU-SLAVA-DFB8FF805\Slava <Slava@slava-dfb8ff805.(none)>
Wed, 28 Jan 2009 07:57:14 +0000 (01:57 -0600)
core/slots/slots.factor [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index f166378..24ff1b0
@@ -151,6 +151,7 @@ M: class initial-value* no-initial-value ;
         { [ array bootstrap-word over class<= ] [ { } ] }
         { [ byte-array bootstrap-word over class<= ] [ B{ } ] }
         { [ simple-alien bootstrap-word over class<= ] [ <bad-alien> ] }
+        { [ quotation bootstrap-word over class<= ] [ [ ] ] }
         [ dup initial-value* ]
     } cond nip ;