Add quotes to error messages from tc-apply.
original commit: 209be3b9ac76ab3d611b5800aae0bd1c77426abf
This commit is contained in:
parent
8066e77839
commit
163f6c627f
|
@ -72,7 +72,7 @@
|
|||
(domain-mismatches f args t doms rests drests rngs arg-tres tail-ty #f
|
||||
#:msg-thunk (lambda (dom)
|
||||
(string-append
|
||||
"Bad arguments to function in apply:\n"
|
||||
"Bad arguments to function in `apply':\n"
|
||||
dom)))))]
|
||||
;; apply of simple polymorphic function
|
||||
[(tc-result1: (Poly: vars (Function: (list (arr: doms rngs rests drests (list (Keyword: _ _ #f) ...)) ..1))))
|
||||
|
@ -132,7 +132,7 @@
|
|||
(domain-mismatches f args t doms rests drests rngs arg-tres tail-ty tail-bound
|
||||
#:msg-thunk (lambda (dom)
|
||||
(string-append
|
||||
"Bad arguments to polymorphic function in apply:\n"
|
||||
"Bad arguments to polymorphic function in `apply':\n"
|
||||
dom)))])))]
|
||||
[(tc-result1: (PolyDots: (and vars (list fixed-vars ... dotted-var))
|
||||
(Function: (list (arr: doms rngs rests drests (list (Keyword: _ _ #f) ...)) ..1))))
|
||||
|
@ -202,7 +202,7 @@
|
|||
(domain-mismatches f args t doms rests drests rngs arg-tres tail-ty tail-bound
|
||||
#:msg-thunk (lambda (dom)
|
||||
(string-append
|
||||
"Bad arguments to polymorphic function in apply:\n"
|
||||
"Bad arguments to polymorphic function in `apply':\n"
|
||||
dom)))])))]
|
||||
[(tc-result1: (or (Function: '()) (Poly: _ (Function: '())) (PolyDots: _ (Function: '()))))
|
||||
(tc-error/expr "Function has no cases")]
|
||||
|
|
Loading…
Reference in New Issue
Block a user