Skip to content

Commit

Permalink
Update i17186.scala
Browse files Browse the repository at this point in the history
  • Loading branch information
Decel committed Mar 31, 2023
1 parent f0cf54f commit 0631b50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/pos/i17186.scala
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
type SecondOfTwo[X <: Tuple2[Any, Any]] = Tuple.Head[Tuple.Tail[X]]
val a = implicitly[Second[Tuple2[Int, String]] =:= String]
val a = implicitly[SecondOfTwo[Tuple2[Int, String]] =:= String]

type LastOfThree[X <: Tuple3[Any, Any, Any]] = Tuple.Tail[Tuple.Tail[X]]
val b = implicitly[LastOfThree[Tuple3[Int, String, Boolean]] =:= Tuple1[Boolean]]

0 comments on commit 0631b50

Please sign in to comment.