Remove contract for define/generic
`local-id` and `method-id` don't have a syntax identifier as a value, so a contract is inappropriate here.
This commit is contained in:
parent
a57f96ea9c
commit
3bb873aea8
|
@ -144,10 +144,7 @@ Raised for @techlink{generic methods} that do not support the given
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@defform[(define/generic local-id method-id)
|
@defform[(define/generic local-id method-id)]{
|
||||||
#:contracts
|
|
||||||
([local-id identifier?]
|
|
||||||
[method-id identifier?])]{
|
|
||||||
|
|
||||||
When used inside the method definitions associated with the
|
When used inside the method definitions associated with the
|
||||||
@racket[#:methods] keyword, binds @racket[local-id] to the generic for
|
@racket[#:methods] keyword, binds @racket[local-id] to the generic for
|
||||||
|
|
Loading…
Reference in New Issue
Block a user