Open neko-kai opened 4 years ago
This is already fixed on Scala 3:
type `TagK<:Dep`[K[_ <: Dep]] = Tag.auto.T[K]
def t[T[_ <: Dep]: `TagK<:Dep`, A <: Dep: Tag] = Tag[T[A]]
assert(t[Trait3, Dep].tag == Tag[Trait3[Dep]].tag)
But not fixed on Scala 2.
The following should work: