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.
1 parent 877958e commit ab9729aCopy full SHA for ab9729a
tests/pos/i17186.scala
@@ -0,0 +1,5 @@
1
+type Second[X <: Tuple2[Any, Any]] = Tuple.Head[Tuple.Tail[X]]
2
+val a = implicitly[Second[Tuple2[Int, String]] =:= String]
3
+
4
+type Middle[X <: Tuple2[Any, Any]] = Tuple.Tail[Tuple.Tail[X]]
5
+val b = implicitly[Middle[Tuple2[Int, String]] =:= EmptyTuple]
0 commit comments