Skip to content

Commit 8484e11

Browse files
authored
Update tests/neg/16463.scala
1 parent 1a5f23e commit 8484e11

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/neg/16463.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,6 @@ object TupleOps {
3939
}
4040

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

0 commit comments

Comments
 (0)