We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fbdcf5e commit 116a48bCopy full SHA for 116a48b
compiler/src/dotty/tools/dotc/typer/Checking.scala
@@ -91,7 +91,7 @@ object Checking {
91
report.error(em"$sym has possibly conflicting bounds $bad", sym.srcPos)
92
!bad.exists
93
94
- /** If `tp` dealiases to a typebounds L..H where not L <:< R
+ /** If `tp` dealiases to a typebounds L..H where not L <:< H
95
* return the potentially conflicting bounds, otherwise return NoType.
96
*/
97
private def findBadBounds(tp: Type)(using Context): Type = tp.dealias match
0 commit comments