File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
compiler/src/dotty/tools/dotc/typer Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -1108,7 +1108,6 @@ trait Implicits { self: Typer =>
1108
1108
* a diverging search
1109
1109
*/
1110
1110
def tryImplicit (cand : Candidate , contextual : Boolean ): SearchResult =
1111
- // println(i"try $cand for $pt")
1112
1111
if (ctx.searchHistory.checkDivergence(cand, pt))
1113
1112
SearchFailure (new DivergingImplicit (cand.ref, pt.widenExpr, argument))
1114
1113
else {
@@ -1315,7 +1314,6 @@ trait Implicits { self: Typer =>
1315
1314
val eligible =
1316
1315
if (contextual) ctx.implicits.eligible(wildProto)
1317
1316
else implicitScope(wildProto).eligible
1318
- // println(i"eligible for $wildProto = $eligible%, %")
1319
1317
searchImplicits(eligible, contextual) match {
1320
1318
case result : SearchSuccess =>
1321
1319
result
Original file line number Diff line number Diff line change @@ -10,4 +10,4 @@ def g1[T](x: T): F[G[T]] = x.f(using summon[Stuff]) // error
10
10
11
11
def g2 [T ](x : T ): F [G [T ]] = x.f // error
12
12
13
- def g3 [T ](x : T ): F [G [T ]] = f (x)(using summon[Stuff ]) // error
13
+ def g3 [T ](x : T ): F [G [T ]] = extension_f (x)(using summon[Stuff ]) // error
You can’t perform that action at this time.
0 commit comments