Hi all.
I have this code:
def addOrRemoveFilter[F <: SearchFilter[E] : ClassTag](filter: Option[SearchFilter[E]]) = {
val key = implicitly[ClassTag[F]].runtimeClass
println(s"key: $key")
}
prints scala.runtime.Nothing$
Any way to get the actual type?
–
Thanks