diff options
author | Guillaume Martres <smarter@ubuntu.com> | 2015-05-03 18:23:39 +0200 |
---|---|---|
committer | Guillaume Martres <smarter@ubuntu.com> | 2015-05-03 18:23:39 +0200 |
commit | 8708fb93b61707d6992d4171fda54bc376840330 (patch) | |
tree | 39d3c4dc273a5decc4cef5801a5f6ee1587efba0 /src/dotty/tools/dotc/core/ConstraintHandling.scala | |
parent | f162eb2d9e7effbad2676e92139fe5676a92d6ad (diff) | |
download | dotty-8708fb93b61707d6992d4171fda54bc376840330.tar.gz dotty-8708fb93b61707d6992d4171fda54bc376840330.tar.bz2 dotty-8708fb93b61707d6992d4171fda54bc376840330.zip |
addToConstraint: Disable debug message by default
Diffstat (limited to 'src/dotty/tools/dotc/core/ConstraintHandling.scala')
-rw-r--r-- | src/dotty/tools/dotc/core/ConstraintHandling.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/ConstraintHandling.scala b/src/dotty/tools/dotc/core/ConstraintHandling.scala index 8caacfb2f..544304e8a 100644 --- a/src/dotty/tools/dotc/core/ConstraintHandling.scala +++ b/src/dotty/tools/dotc/core/ConstraintHandling.scala @@ -191,7 +191,7 @@ trait ConstraintHandling { val lower = constraint.lower(param) val upper = constraint.upper(param) if (lower.nonEmpty && !bounds.lo.isRef(defn.NothingClass) || - upper.nonEmpty && !bounds.hi.isRef(defn.AnyClass)) println(i"INIT*** $pt") + upper.nonEmpty && !bounds.hi.isRef(defn.AnyClass)) constr.println(i"INIT*** $pt") lower.forall(addOneBound(_, bounds.hi, isUpper = true)) && upper.forall(addOneBound(_, bounds.lo, isUpper = false)) } |