small error message tweak
This commit is contained in:
parent
82204d1444
commit
2f53b436f9
|
@ -808,7 +808,7 @@
|
|||
(values #f #f leftover)])])
|
||||
(syntax-case leftover ()
|
||||
[() (values raw-optional-doms rst pre pre/desc rng post post/desc)]
|
||||
[x (raise-syntax-error #f "expected the end of the contract" stx #'x)])))
|
||||
[(x . y) (raise-syntax-error #f "expected the contract to end, but found an extra sub-piece" stx #'x)])))
|
||||
|
||||
(define-for-syntax (->*-valid-app-shapes stx)
|
||||
(define this->* (gensym 'this->*))
|
||||
|
|
Loading…
Reference in New Issue
Block a user