File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
compiler/src/dotty/tools/dotc/typer Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -1382,7 +1382,7 @@ abstract class SearchHistory { outer =>
13821382 val wideTp = tp.widenExpr
13831383 lazy val wildTp = wildApprox(wideTp)
13841384 if (belowByname && (wildTp <:< wildPt)) false
1385- else if ((wideTp.typeSize < ptSize && wideTp.coveringSet == ptCoveringSet) || (wildTp == wildPt)) true
1385+ else if ((wideTp.typeSize < ptSize && wideTp.coveringSet == ptCoveringSet) || (wildTp =: = wildPt)) true
13861386 else loop(tl, isByname(tp) || belowByname)
13871387 }
13881388 else loop(tl, isByname(tp) || belowByname)
Original file line number Diff line number Diff line change 1+ object Test {
2+ implicit def i1 [I2 , I3 ](i4 : I2 )(implicit i5 : I2 => I3 ): I3 = ( ) // error
3+ }
You can’t perform that action at this time.
0 commit comments