Bring `tc-#%expression in line with its contract.
This commit is contained in:
parent
8d5d7bea7a
commit
495da1bd1a
|
@ -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))]
|
||||
|
|
Loading…
Reference in New Issue
Block a user