File tree Expand file tree Collapse file tree 3 files changed +2
-7
lines changed
typed-racket-lib/typed-racket Expand file tree Collapse file tree 3 files changed +2
-7
lines changed Original file line number Diff line number Diff line change 577577 [_ #f ])
578578 #f
579579 ;; constrain v to be below T (but don't mention bounds)
580- (eprintf "hi...........~a ~n " v)
581580 (define maybe-type-bound (hash-ref (context-type-bounds context) v #f ))
582581 (if (and maybe-type-bound (subtype maybe-type-bound T obj))
583582 (singleton maybe-type-bound v (var-demote T (context-bounds context)))
590589 [_ #f ])
591590 #f
592591 (define maybe-type-bound (hash-ref (context-type-bounds context) v #f ))
593- (eprintf "bye...........~a ~a <: ~a ~n " v S maybe-type-bound)
594592 ;; constrain v to be above S (but don't mention bounds)
595593 (if (and maybe-type-bound (subtype S maybe-type-bound obj))
596594 (singleton (var-promote S (context-bounds context)) v maybe-type-bound)
Original file line number Diff line number Diff line change 16801680 (int-err "Wrong number of names: expected ~a got ~a " n (length names)))
16811681 (eprintf "new bounds is ~a ~n " new-bounds)
16821682 (instantiate-type body
1683-
16841683 (map (lambda (n)
1685- (make-F n
1686- (hash-ref new-bounds n #f )
1687- )) names)
1684+ (make-F n (hash-ref new-bounds n #f )))
1685+ names)
16881686 #;
16891687 (map F* names))]))
16901688
Original file line number Diff line number Diff line change 715715 [(tc-result1: (app resolve (and t (Poly-fresh: ns fresh-ns expected*))))
716716 ;; make sure the declared and annotated type variable arities match up
717717 ;; with the expected type variable arity
718- (eprintf "app resolve tc-result ~n " )
719718 (for ([tvars (in-list tvarss)])
720719 (when (and (pair? tvars) (list? (car tvars)))
721720 (tc-error
You can’t perform that action at this time.
0 commit comments