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 =>
1382
1382
val wideTp = tp.widenExpr
1383
1383
lazy val wildTp = wildApprox(wideTp)
1384
1384
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
1386
1386
else loop(tl, isByname(tp) || belowByname)
1387
1387
}
1388
1388
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