Skip to content

Commit 5c2de4e

Browse files
committed
Give more info on failure
1 parent c84126d commit 5c2de4e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/src/dotty/tools/dotc/core/Types.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1520,8 +1520,8 @@ object Types {
15201520
case d: SingleDenotation =>
15211521
d.infoOrCompleter match {
15221522
case TypeBounds(lo, hi) =>
1523-
assert(lo ne this)
1524-
assert(hi ne this)
1523+
assert(lo ne this, this)
1524+
assert(hi ne this, this)
15251525
case _ =>
15261526
}
15271527
case _ =>

0 commit comments

Comments
 (0)