Skip to content

Commit a52b56c

Browse files
authored
Update i17186.scala
1 parent db97752 commit a52b56c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/pos/i17186.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
type Second[X <: Tuple2[Any, Any]] = Tuple.Head[Tuple.Tail[X]]
1+
type SecondOfTwo[X <: Tuple2[Any, Any]] = Tuple.Head[Tuple.Tail[X]]
22
val a = implicitly[Second[Tuple2[Int, String]] =:= String]
33

4-
type Middle[X <: Tuple2[Any, Any]] = Tuple.Tail[Tuple.Tail[X]]
5-
val b = implicitly[Middle[Tuple2[Int, String]] =:= EmptyTuple]
4+
type LastOfThree[X <: Tuple3[Any, Any, Any]] = Tuple.Tail[Tuple.Tail[X]]
5+
val b = implicitly[LastOfThree[Tuple3[Int, String, Boolean]] =:= Tuple1[Boolean]]

0 commit comments

Comments
 (0)