Skip to content

Commit

Permalink
Comment out 16583 test that fails
Browse files Browse the repository at this point in the history
  • Loading branch information
mbovel committed Jun 1, 2023
1 parent 446240b commit 875ec04
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/pos/16583.scala
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@ val ll1 = constValueTuple[("one", "two", "three")].toList
val ll3: List["one" | ("two" | ("three" | Nothing))] = constValueTuple[("one", "two", "three")].toList
val ll4: List["one" | ("two" | "three")] = constValueTuple[("one", "two", "three")].toList

/*
inline def labels[Labels <: Tuple](using ev: Tuple.Union[Labels] <:< String): List[String] =
val tmp = constValueTuple[Labels].toList
ev.substituteCo( tmp )
def test = labels[("one", "two", "three")].mkString("<", ", ", ">")
*/

def test2(tup: ("one", "two", "three")) = tup.toList

Expand Down

0 comments on commit 875ec04

Please sign in to comment.