Skip to content

Commit 13cd505

Browse files
committed
Give more info on failure
1 parent f2a74c9 commit 13cd505

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
@@ -1532,8 +1532,8 @@ object Types {
15321532
case d: SingleDenotation =>
15331533
d.infoOrCompleter match {
15341534
case TypeBounds(lo, hi) =>
1535-
assert(lo ne this)
1536-
assert(hi ne this)
1535+
assert(lo ne this, this)
1536+
assert(hi ne this, this)
15371537
case _ =>
15381538
}
15391539
case _ =>

0 commit comments

Comments
 (0)