Skip to content

Commit 116a48b

Browse files
authored
Update compiler/src/dotty/tools/dotc/typer/Checking.scala
1 parent fbdcf5e commit 116a48b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/typer/Checking.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ object Checking {
9191
report.error(em"$sym has possibly conflicting bounds $bad", sym.srcPos)
9292
!bad.exists
9393

94-
/** If `tp` dealiases to a typebounds L..H where not L <:< R
94+
/** If `tp` dealiases to a typebounds L..H where not L <:< H
9595
* return the potentially conflicting bounds, otherwise return NoType.
9696
*/
9797
private def findBadBounds(tp: Type)(using Context): Type = tp.dealias match

0 commit comments

Comments
 (0)