Closed joroKr21 closed 6 years ago
Oh no, I think I forgot about Scala 2.10 again...
@joroKr21 Nice! I actually have an abstract-type branch in which I was working to fix this. Since Scala 2.10 objects don't support abstract type members, I was able to get around it by defining them in a trait and having the companion extend the trait.
Neat :+1: I did not know that you can inherit the abstract type without defining it in Scala 2.10
Me either! Well, until I just experimented around and discovered it ;)
Thanks again for your help @joroKr21!
This prevents scalac from dealiasing thus improving type inference. Especially important when using type lambdas.
Also add ClassTag implicits to ensure Arrays keep working.