We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f162eb2 commit 8708fb9Copy full SHA for 8708fb9
src/dotty/tools/dotc/core/ConstraintHandling.scala
@@ -191,7 +191,7 @@ trait ConstraintHandling {
191
val lower = constraint.lower(param)
192
val upper = constraint.upper(param)
193
if (lower.nonEmpty && !bounds.lo.isRef(defn.NothingClass) ||
194
- upper.nonEmpty && !bounds.hi.isRef(defn.AnyClass)) println(i"INIT*** $pt")
+ upper.nonEmpty && !bounds.hi.isRef(defn.AnyClass)) constr.println(i"INIT*** $pt")
195
lower.forall(addOneBound(_, bounds.hi, isUpper = true)) &&
196
upper.forall(addOneBound(_, bounds.lo, isUpper = false))
197
}
0 commit comments