WojciechMazur commented on PR #1398: URL: https://github.com/apache/pekko/pull/1398#issuecomment-2235966631
It seems like we unfortunately backported a change that caused a regression, it can be minimized to ```scala def Test[U, A](thisElem: A, thatElem: U) = { case object passedEnd val any: Seq[Any] = ??? any.zip(any) .map { case (`passedEnd`, r: U @unchecked) => (thisElem, r) case (l: A @unchecked, `passedEnd`) => (l, thatElem) case t: (A, U) @unchecked => t } } ``` The 3rd case is reachable so it's a bug. I'm doing a bisect on the compiler right now before I fill in an issue in the compiler, but it seems like the regression was present in the Scala Next series since 3.4.0 (approximately introduced ~ 02.09.2023) so I'm astonished I was not reported previously. RC2 would either revert the change that caused the regression or would include a fix -- 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