Handle contract generation for recursive class types.
(cherry picked from commit 6945c5bfb1
)
This commit is contained in:
parent
9086e14b5e
commit
da477c0c82
|
@ -299,6 +299,8 @@
|
|||
#,(contract-kind->keyword (current-contract-kind)))])
|
||||
n*))))]
|
||||
[(Value: #f) #'false/c]
|
||||
[(Instance: (? Mu? t))
|
||||
(t->c (make-Instance (resolve-once t)))]
|
||||
[(Instance: (Class: _ _ (list (list name fcn) ...)))
|
||||
(set-impersonator!)
|
||||
(with-syntax ([(fcn-cnts ...) (for/list ([f fcn]) (t->c/fun f #:method #t))]
|
||||
|
|
Loading…
Reference in New Issue
Block a user