I'm a beginner with Scala, but I'm wondering why the following compiles in Scala 3?
import scala.language.strictEquality
case class C(x: String => String) derives CanEqual
Shouldn't this fail because CanEqual is not defined on String => String and hence can't be derived?