We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0303089 + bcb73f9 commit a0bdac2Copy full SHA for a0bdac2
tests/run/deadlock.check
@@ -0,0 +1 @@
1
+1
tests/run/deadlock.scala
@@ -0,0 +1,11 @@
+// from https://github.com/rickynils/scalacheck/issues/290
2
+import scala.concurrent._
3
+import scala.concurrent.duration._
4
+import java.util.concurrent.Executors
5
+
6
+object Test {
7
+ import ExecutionContext.Implicits.global
8
+ val x = Await.result(Future(1), 1000.seconds)
9
+ def main(args: Array[String]) = println(x)
10
+}
11
0 commit comments