Fix double application of format.
Closes PR 11524.
This commit is contained in:
parent
948dfe9cf0
commit
f8c01299f9
|
@ -171,7 +171,7 @@
|
||||||
(define (fv/list ts) (hash-map (combine-frees (map free-vars* ts)) (lambda (k v) k)))
|
(define (fv/list ts) (hash-map (combine-frees (map free-vars* ts)) (lambda (k v) k)))
|
||||||
|
|
||||||
(define (tc-error/expr msg #:return [return (make-Union null)] #:stx [stx (current-orig-stx)] . rest)
|
(define (tc-error/expr msg #:return [return (make-Union null)] #:stx [stx (current-orig-stx)] . rest)
|
||||||
(tc-error/delayed #:stx stx (apply format msg rest))
|
(apply tc-error/delayed #:stx stx msg rest)
|
||||||
return)
|
return)
|
||||||
|
|
||||||
;; error for unbound variables
|
;; error for unbound variables
|
||||||
|
|
Loading…
Reference in New Issue
Block a user