Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
feature req: specialized singleton types and valueOf #11489
Using 2.13-M5, it's not possible to specialize singleton types.
scala> def twice[@scala.specialized(Int) I <: Int : ValueOf]: Int = valueOf[I] * 2 ^ warning: type I is unused or used in non-specializable positions. twice: [I <: Int](implicit evidence$1: ValueOf[I])Int
I think this is because