Skip to content

Commit 8708fb9

Browse files
committed
addToConstraint: Disable debug message by default
1 parent f162eb2 commit 8708fb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dotty/tools/dotc/core/ConstraintHandling.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ trait ConstraintHandling {
191191
val lower = constraint.lower(param)
192192
val upper = constraint.upper(param)
193193
if (lower.nonEmpty && !bounds.lo.isRef(defn.NothingClass) ||
194-
upper.nonEmpty && !bounds.hi.isRef(defn.AnyClass)) println(i"INIT*** $pt")
194+
upper.nonEmpty && !bounds.hi.isRef(defn.AnyClass)) constr.println(i"INIT*** $pt")
195195
lower.forall(addOneBound(_, bounds.hi, isUpper = true)) &&
196196
upper.forall(addOneBound(_, bounds.lo, isUpper = false))
197197
}

0 commit comments

Comments
 (0)