fix another srcloc

This commit is contained in:
AlexKnauth 2016-03-10 10:26:50 -05:00
parent f19eafcd8f
commit fe494c6ad3

View File

@ -18,7 +18,9 @@
(define-syntax (check-type stx)
(syntax-parse stx #:datum-literals (: ->)
[(_ e : τ (~or ->) v) #'(check-type-and-result e : τ v)]
[(_ e : τ (~or ->) v)
(syntax/loc stx
(check-type-and-result e : τ v))]
[(_ e : τ-expected)
#:with τ (typeof (expand/df #'e))
#:fail-unless