Skip to content

Commit 948c085

Browse files
committed
Address remaining reviewer comment
1 parent 76ee734 commit 948c085

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4497,7 +4497,7 @@ object Types {
44974497
if (tp.symbol.is(ClassTypeParam)) expandParam(tp, preHi)
44984498
else tryWiden(tp, preHi)
44994499
forwarded.orElse(
4500-
range(super.derivedSelect(tp, preLo), super.derivedSelect(tp, preHi)))
4500+
range(super.derivedSelect(tp, preLo).loBound, super.derivedSelect(tp, preHi).hiBound))
45014501
case _ =>
45024502
super.derivedSelect(tp, pre) match {
45034503
case TypeBounds(lo, hi) => range(lo, hi)

0 commit comments

Comments
 (0)