mdedetrich opened a new pull request, #264: URL: https://github.com/apache/incubator-pekko/pull/264
As pointed out in https://github.com/apache/incubator-pekko/pull/258#pullrequestreview-1351557344 I got the `Xlint` options wrong in that pull request. This PR fixes that, but in the process of fixing it the Scala compiler for 2.13 specifically found some warnings related to unsealed checking of pattern matches such as ``` [error] /Users/mdedetrich/github/incubator-pekko/docs/src/test/scala/typed/tutorial_4/DeviceGroup.scala:51:5: match may not be exhaustive. [error] It would fail on the following input: (x: typed.tutorial_4.DeviceGroup.Command forSome x not in (typed.tutorial_4.DeviceGroup.DeviceTerminated, typed.tutorial_4.DeviceManager.RequestDeviceList, typed.tutorial_4.DeviceManager.RequestTrackDevice)) [error] msg match { ``` This is the reason behind adding `-Xlint:-strict-unsealed-patmat` specifically for 2.13. I will make an issue to have a look into this because it does seem we might be able to legitimately fix this in the code. -- 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]
