He-Pin commented on code in PR #632:
URL: https://github.com/apache/incubator-pekko/pull/632#discussion_r1316668767


##########
multi-node-testkit/src/main/scala/org/apache/pekko/remote/testconductor/Player.scala:
##########
@@ -215,8 +215,9 @@ private[pekko] class ClientFSM(name: RoleName, 
controllerAddr: InetSocketAddress
     case Event(msg: NetworkOp, _) =>
       log.error("received {} instead of Done", msg)
       goto(Failed)
-    case Event(_: ServerOp, _) =>
-      stay().replying(Status.Failure(new IllegalStateException("not connected 
yet")))
+    // Scala 3.3.1 compiler says this is unreachable
+    // case Event(_: ServerOp, _) =>
+    //  stay().replying(Status.Failure(new IllegalStateException("not 
connected yet")))

Review Comment:
   I checked it and I think the compiler is right, reported it at 
https://github.com/lampepfl/dotty/issues/18519 too



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to