Skip to content

Commit

Permalink
Workaround for scala/bug#11732
Browse files Browse the repository at this point in the history
  • Loading branch information
djspiewak committed Sep 10, 2019
1 parent 18e28a6 commit 5d8710e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion laws/shared/src/test/scala/cats/effect/IOTests.scala
Expand Up @@ -50,7 +50,10 @@ class IOTests extends BaseTestsSuite {

checkAllAsync("IO", implicit ec => {
implicit val cs = ec.contextShift[IO]
ParallelTests[IO, IO.Par].parallel[Int, Int]

// do NOT inline this val; it causes the 2.13.0 compiler to crash for... reasons (see: scala/bug#11732)
val module = ParallelTests[IO]
module.parallel[Int, Int]
})

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

0 comments on commit 5d8710e

Please sign in to comment.