add source location

This commit is contained in:
AlexKnauth 2017-04-27 21:21:49 -07:00
parent e92156e78a
commit 7acbcbb0cc

View File

@ -59,7 +59,7 @@
#:with tys- (prune+sort #'(ty1- ... ... ty2- ...))
(if (= 1 (stx-length #'tys-))
(stx-car #'tys-)
#'(U* . tys-))]))
(syntax/loc stx (U* . tys-)))]))
(define-syntax Bool
(make-variable-like-transformer
(add-orig #'(U False True) #'Bool)))