Skip to content

Commit

Permalink
Merge pull request #10685 from lrytz/cb1710
Browse files Browse the repository at this point in the history
Don't include `inPackagePrefix` in ImplicitInfo equality
  • Loading branch information
SethTisue committed Feb 8, 2024
2 parents 7925f21 + b85373f commit ffc0297
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/compiler/scala/tools/nsc/typechecker/Implicits.scala
Expand Up @@ -300,8 +300,7 @@ trait Implicits extends splain.SplainData {
case that: ImplicitInfo =>
this.name == that.name &&
this.pre =:= that.pre &&
this.sym == that.sym &&
this.inPackagePrefix == that.inPackagePrefix
this.sym == that.sym
case _ => false
}
override def hashCode = {
Expand Down

0 comments on commit ffc0297

Please sign in to comment.