Compiler version
This issue popped up on scala "3.0.0-RC2" while I didn't saw it on 3.0.0-RC1
Minimized code
case class Box[A](a:A):
  def map[B](f: A => B): Box[B] = Box(f(a))
object T:
  box(1).map(_ + 1)
 
Output
[error] 41 |  box(1).map(_ + 1)
[error]    |             ^^^^^
[error]    |             Found:    Int => Int
[error]    |             Required: Boxed[Int]#A => Int
 
Expectation
Boxed[Int]#A  should be recognized as being equivalent to Int in this case.