Slots with declared type of callable or quotation now have an initial value [ ]
parent
4e1748febd
commit
1cd285bcaa
|
@ -151,6 +151,7 @@ M: class initial-value* no-initial-value ;
|
||||||
{ [ array bootstrap-word over class<= ] [ { } ] }
|
{ [ array bootstrap-word over class<= ] [ { } ] }
|
||||||
{ [ byte-array bootstrap-word over class<= ] [ B{ } ] }
|
{ [ byte-array bootstrap-word over class<= ] [ B{ } ] }
|
||||||
{ [ simple-alien bootstrap-word over class<= ] [ <bad-alien> ] }
|
{ [ simple-alien bootstrap-word over class<= ] [ <bad-alien> ] }
|
||||||
|
{ [ quotation bootstrap-word over class<= ] [ [ ] ] }
|
||||||
[ dup initial-value* ]
|
[ dup initial-value* ]
|
||||||
} cond nip ;
|
} cond nip ;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue