Skip to content

Commit

Permalink
Drop redundant butNot = Param clause in isAnchor
Browse files Browse the repository at this point in the history
  • Loading branch information
odersky committed Apr 16, 2024
1 parent aaacc43 commit 9d88c80
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 @@ -621,7 +621,7 @@ trait ImplicitRunInfo:
private def isAnchor(sym: Symbol) =
sym.isClass && !isExcluded(sym)
|| sym.isOpaqueAlias
|| sym.is(Deferred, butNot = Param)
|| sym.is(Deferred)
|| sym.info.isMatchAlias

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

0 comments on commit 9d88c80

Please sign in to comment.