Skip to content

Commit 71fbc15

Browse files
committed
Reduce sizes of tuples of tuples2.scala
The previous version worked with a -Xss2m setting, but it seems stack size used in tests is significantly smaller than that. Is there a way to set the stack size for a specific test? Then we could re-enable the commented-out code.
1 parent b53bf1e commit 71fbc15

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/pos-deep-subtype/tuples2.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ object Test extends App {
1515
assert(xs3(127) == 16)
1616
// 3.416s
1717

18+
/* The following operations exhaust the standard stack, but succeed with -Xs10m:
19+
1820
val xs4 = xs3 ++ xs3
1921
assert(xs4(255) == 16)
2022
// 3.765s
@@ -23,8 +25,6 @@ object Test extends App {
2325
assert(xs5a(383) == 16)
2426
// 3.804s
2527
26-
/* The following operations exhaust the standard 2MB stack, but succeed with -Xs10m:
27-
2828
val xs5 = xs4 ++ xs4
2929
assert(xs5(511) == 16)
3030
// 3.866s

0 commit comments

Comments
 (0)