Skip to content

Commit 54a0b5f

Browse files
committed
remove print
1 parent 4639c5d commit 54a0b5f

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

typed-racket-lib/typed-racket/infer/infer-unit.rkt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,6 @@
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)))
@@ -590,7 +589,6 @@
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)

typed-racket-lib/typed-racket/rep/type-rep.rkt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1680,11 +1680,9 @@
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

typed-racket-lib/typed-racket/typecheck/tc-lambda-unit.rkt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -715,7 +715,6 @@
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

0 commit comments

Comments
 (0)