Skip to content

Commit

Permalink
Backport "Revert "Drop redundant butNot = Param clause in isAnchor"…
Browse files Browse the repository at this point in the history
…" to LTS (#22127)

Backports #21566 to the 3.3.5.

PR submitted by the release tooling.
[skip ci]
  • Loading branch information
WojciechMazur authored Dec 4, 2024
2 parents dd10877 + 91e973c commit 2d50b3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/src/dotty/tools/dotc/typer/Implicits.scala
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ trait ImplicitRunInfo:
private def isAnchor(sym: Symbol) =
sym.isClass && !isExcluded(sym)
|| sym.isOpaqueAlias
|| sym.is(Deferred)
|| sym.is(Deferred, butNot = Param)
|| sym.info.isInstanceOf[MatchAlias]

private def computeIScope(rootTp: Type): OfTypeImplicits =
Expand Down

0 comments on commit 2d50b3b

Please sign in to comment.