Removed cert value.
This commit is contained in:
parent
8226b6764c
commit
626f807f00
|
@ -160,15 +160,12 @@
|
|||
;; the type name that is used in all the types
|
||||
(define name (type-wrapper (make-Name nm)))
|
||||
;; is this structure covariant in *all* arguments?
|
||||
(define covariant? (if (and setters? (list? poly?))
|
||||
#f
|
||||
(if poly?
|
||||
(define covariant?
|
||||
(for*/and ([var (in-list poly?)]
|
||||
[t (in-list external-fld-types)])
|
||||
(let ([variance (hash-ref (free-vars* t) var Constant)])
|
||||
(or (eq? variance Constant)
|
||||
(eq? variance Covariant))))
|
||||
#t)))
|
||||
(and (not setters?) (eq? variance Covariant))))))
|
||||
(define parent-count (- (length external-fld-types) (length external-fld-types/no-parent)))
|
||||
;; the list of names w/ types
|
||||
(register-type struct-type-id (make-StructType sty))
|
||||
|
|
Loading…
Reference in New Issue
Block a user