File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
typed-racket-lib/typed-racket/infer Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 923923 (hash-union
924924 (for/hash ([v (in-list Y)]
925925 #:unless (hash-has-key? S v))
926- (let ([ var (hash-ref idx-hash v variance:const)] )
927- (values v
928- (match var
929- [(? variance:const?) (i-subst null)]
930- [(? variance:co?) (i-subst null)]
931- [(? variance:contra?) (i-subst/starred null Univ)]
932- ;; TODO figure out if there is a better subst here
933- [(? variance:inv?) (i-subst null)]) )))
926+ (define var (hash-ref idx-hash v variance:const))
927+ (values v
928+ (match var
929+ [(? variance:const?) (i-subst null)]
930+ [(? variance:co?) (i-subst null)]
931+ [(? variance:contra?) (i-subst/starred null Univ)]
932+ ;; TODO figure out if there is a better subst here
933+ [(? variance:inv?) (i-subst null)])))
934934 S))
935935 (define (build-subst m)
936936 (match m
You can’t perform that action at this time.
0 commit comments