tuned;
authorwenzelm
Tue, 07 Sep 2021 15:02:53 +0200
changeset 74251 e6f1990c4d34
parent 74250 cbbd08df65bd
child 74252 3300847d75ae
tuned;
src/Pure/Concurrent/consumer_thread.scala
--- a/src/Pure/Concurrent/consumer_thread.scala	Tue Sep 07 10:17:03 2021 +0200
+++ b/src/Pure/Concurrent/consumer_thread.scala	Tue Sep 07 15:02:53 2021 +0200
@@ -98,9 +98,9 @@
         for { (Some(req), Some(res)) <- reqs.map(Some(_)).zipAll(results.map(Some(_)), None, None) }
         {
           (req.ack, res) match {
-            case ((Some(a), _)) => a.change(_ => Some(res))
-            case ((None, Exn.Res(_))) =>
-            case ((None, Exn.Exn(exn))) => failure(exn)
+            case (Some(a), _) => a.change(_ => Some(res))
+            case (None, Exn.Res(_)) =>
+            case (None, Exn.Exn(exn)) => failure(exn)
           }
         }