Skip to content

Commit

Permalink
Update tests/neg/16463.scala
Browse files Browse the repository at this point in the history
  • Loading branch information
mbovel authored Apr 26, 2024
1 parent 1a5f23e commit 8484e11
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/neg/16463.scala
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,6 @@ object TupleOps {
}

object demo extends App {
println(compiletime.constValue[TupleOps.BubbleSort[(1, 2)]]) // error: Recursion limit exceeded
type S = TupleOps.BubbleSort[(1, 2)] // ok here
println(compiletime.constValue[S]) // error: Recursion limit exceeded
}

0 comments on commit 8484e11

Please sign in to comment.