Fix a printing bug for some type results
This commit is contained in:
parent
8ad0e6b52a
commit
f32a42f2f4
|
@ -407,7 +407,7 @@
|
|||
[(Instance: t) `(Instance ,(t->s t))]
|
||||
[(Class: pf nf ms) '(Class)]
|
||||
[(Result: t (FilterSet: (Top:) (Top:)) (Empty:)) (type->sexp t)]
|
||||
[(Result: t fs (Empty:)) `(,(type->sexp t) : (filter->sexp fs))]
|
||||
[(Result: t fs (Empty:)) `(,(type->sexp t) : ,(filter->sexp fs))]
|
||||
[(Result: t fs lo) `(,(type->sexp t) : ,(filter->sexp fs) : ,(object->sexp lo))]
|
||||
[(MPair: s t) `(MPairof ,(t->s s) ,(t->s t))]
|
||||
[(Refinement: parent p?)
|
||||
|
|
|
@ -68,6 +68,9 @@
|
|||
(check-prints-as? (-mu x (-lst x)) "(Rec x (Listof x))")
|
||||
(check-prints-as? (-seq -String -Symbol) "(Sequenceof String Symbol)")
|
||||
(check-prints-as? (-poly (a) (-> a -Void)) "(All (a) (a -> Void))")
|
||||
(check-prints-as? (-> -Input-Port (make-Values (list (-result -String (-FS -top -bot) -no-obj)
|
||||
(-result -String (-FS -top -bot) -no-obj))))
|
||||
"(Input-Port -> (values (String : (Top | Bot)) (String : (Top | Bot))))")
|
||||
(check-prints-as? (->key Univ -Pathlike
|
||||
#:exists
|
||||
(one-of/c 'error 'append 'update 'replace
|
||||
|
|
Loading…
Reference in New Issue
Block a user