Fix double application of format.
Closes PR 11524. original commit: f8c01299f971c65509877e22feaaa4f2ccb79227
This commit is contained in:
parent
a00e498399
commit
8e569511e8
|
@ -171,7 +171,7 @@
|
|||
(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)
|
||||
(tc-error/delayed #:stx stx (apply format msg rest))
|
||||
(apply tc-error/delayed #:stx stx msg rest)
|
||||
return)
|
||||
|
||||
;; error for unbound variables
|
||||
|
|
Loading…
Reference in New Issue
Block a user