We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
class A class B type A2B[Xs <: Tuple] <: Tuple = Xs match case Unit => Unit case a *: as => B *: A2B[as]
Error: cyclic reference
Should compile. The type A2B compiles OK if it is put inside an object test.
A2B
test