delegate: not sure why protocols can be defined with arrays, but...
parent
7835ebc2fc
commit
0ee6d08f79
|
|
@ -158,6 +158,7 @@ M: consultation forget*
|
|||
ERROR: not-a-generic word ;
|
||||
|
||||
: check-generic ( generic -- )
|
||||
dup array? [ first ] when
|
||||
dup generic? [ drop ] [ not-a-generic ] if ;
|
||||
|
||||
PRIVATE>
|
||||
|
|
|
|||
Loading…
Reference in New Issue