db4
Slava Pestov 2008-05-01 16:23:11 -05:00
parent 85356804f9
commit c832abae86
2 changed files with 10 additions and 1 deletions

View File

@ -230,3 +230,10 @@ DEFER: xyzzy
[ "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

View File

@ -279,7 +279,9 @@ M: wlet local-rewrite*
: (::) CREATE-WORD parse-locals-definition ;
: (M::) CREATE-METHOD parse-locals-definition ;
: (M::)
CREATE-METHOD
[ parse-locals-definition ] with-method-definition ;
PRIVATE>