Fix :print-type to use tc-setup.
original commit: 51b98138d5f15ec31bbca0f2e9d5640046ce19d8
This commit is contained in:
parent
c877e22a1b
commit
18a8bdbca5
|
@ -180,9 +180,10 @@ This file defines two sorts of primitives. All of them are provided into any mod
|
|||
(syntax-parse stx
|
||||
[(_ e:expr)
|
||||
#`(display #,(format "~a\n"
|
||||
(match (tc-toplevel-form #'e)
|
||||
[(tc-result1: t f o) t]
|
||||
[(tc-results: t) (cons 'Values t)])))]))
|
||||
(tc-setup #'e #'e 'top-level expanded tc-toplevel-form type
|
||||
(match type
|
||||
[(tc-result1: t f o) t]
|
||||
[(tc-results: t) (cons 'Values t)]))))]))
|
||||
|
||||
(define-syntax (require/opaque-type stx)
|
||||
(define-syntax-class name-exists-kw
|
||||
|
|
Loading…
Reference in New Issue
Block a user