Skip to content

Commit 5d8710e

Browse files
committed
Workaround for scala/bug#11732
1 parent 18e28a6 commit 5d8710e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

laws/shared/src/test/scala/cats/effect/IOTests.scala

+4-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,10 @@ class IOTests extends BaseTestsSuite {
5050

5151
checkAllAsync("IO", implicit ec => {
5252
implicit val cs = ec.contextShift[IO]
53-
ParallelTests[IO, IO.Par].parallel[Int, Int]
53+
54+
// do NOT inline this val; it causes the 2.13.0 compiler to crash for... reasons (see: scala/bug#11732)
55+
val module = ParallelTests[IO]
56+
module.parallel[Int, Int]
5457
})
5558

5659
checkAllAsync("IO(Effect defaults)", implicit ec => {

0 commit comments

Comments
 (0)