WojciechMazur commented on PR #1817: URL: https://github.com/apache/pekko/pull/1817#issuecomment-2816762021
Bisect points to this change that was backport to 3.3.6 https://github.com/scala/scala3/pull/22099 It seems to be fixing the soundness warning, seems like previously it was warning for bind in pattern matching but not for extractor ```scala case class RequestLogsOuter(streamId: Int) @main def Test = { case class RequestLogs(streamId: Int) var x: List[Any] = List(RequestLogsOuter(12), RequestLogs(36), RequestLogs(42), 42) x.collect{ case outer @ RequestLogsOuter(id) => println(1) case RequestLogs(42) => println(2) // warns in 3.3.6 case v: RequestLogs => println(3) // warned in 3.3.5 if above is commented out } } ``` fyi @tgodzik -- 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: notifications-unsubscr...@pekko.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@pekko.apache.org For additional commands, e-mail: notifications-h...@pekko.apache.org