fix the error message in issue #375

This commit is contained in:
Alex Knauth 2016-06-25 12:29:23 -04:00 committed by AlexKnauth
parent a10fd9ef45
commit 9bda1bfcbc

View File

@ -343,7 +343,7 @@
(define existing-ty-ctc (syntax-local-lift-expression
(make-contract-def-rhs/from-typed existing-ty-id #f #f)))
(define (store-existing-type existing-type)
(cast-table-set! existing-ty-id existing-type))
(cast-table-set! existing-ty-id (datum->syntax #f existing-type #'v)))
(define (check-valid-type _)
(define type (parse-type #'ty))
(define vars (fv type))