Fix M::
parent
85356804f9
commit
c832abae86
|
@ -230,3 +230,10 @@ DEFER: xyzzy
|
||||||
|
|
||||||
[ "xxx" "yyy" ] [ "yyy" "xxx" let*-test-4 ] unit-test
|
[ "xxx" "yyy" ] [ "yyy" "xxx" let*-test-4 ] unit-test
|
||||||
|
|
||||||
|
GENERIC: next-method-test ( a -- b )
|
||||||
|
|
||||||
|
M: integer next-method-test 3 + ;
|
||||||
|
|
||||||
|
M:: fixnum next-method-test ( a -- b ) a call-next-method 1 + ;
|
||||||
|
|
||||||
|
[ 5 ] [ 1 next-method-test ] unit-test
|
||||||
|
|
|
@ -279,7 +279,9 @@ M: wlet local-rewrite*
|
||||||
|
|
||||||
: (::) CREATE-WORD parse-locals-definition ;
|
: (::) CREATE-WORD parse-locals-definition ;
|
||||||
|
|
||||||
: (M::) CREATE-METHOD parse-locals-definition ;
|
: (M::)
|
||||||
|
CREATE-METHOD
|
||||||
|
[ parse-locals-definition ] with-method-definition ;
|
||||||
|
|
||||||
PRIVATE>
|
PRIVATE>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue