original commit: 8a9c7cfc88f45dbccc547d309d23e73ee23ea62a
This commit is contained in:
Robby Findler 2003-10-30 14:34:14 +00:00
parent 31e046f5b8
commit e57eb48106
2 changed files with 6 additions and 1 deletions

View File

@ -6,6 +6,7 @@
class?
interface interface?
object% object?
object=?
new make-object instantiate
send send/apply send* class-field-accessor class-field-mutator with-method
get-field field-bound?

View File

@ -1038,7 +1038,11 @@ improve method arity mismatch contract violation error messages?
(cond
[(null? (cdr p)) p]
[(pair? (cdr p)) (cons (car p) (sp->il (cdr p)))]
[(syntax? (cdr p)) p]))
[(syntax? (cdr p))
(let ([un (syntax-e (cdr p))])
(if (pair? un)
(cons (car p) (sp->il un))
p))]))
(stx->il stx))
(syntax-case stx ()