Bring `tc-#%expression in line with its contract.

This commit is contained in:
Vincent St-Amour 2016-03-21 14:16:30 -05:00
parent 8d5d7bea7a
commit 495da1bd1a

View File

@ -18,7 +18,7 @@
(export tc-expression^)
;; Typecheck an (#%expression e) form
(define (tc/#%expression form expected)
(define (tc/#%expression form [expected #f])
(syntax-parse form
[(exp:type-inst^ e)
(do-inst (tc-expr #'e) (attribute exp.value))]