Closed steinybot closed 3 weeks ago
Workaround:
given CanEqual[RequestMessage.SealedValue.Empty.type, RequestMessage.SealedValue] = CanEqual.derived
given CanEqual[Request.Empty.type, Request] = CanEqual.derived
I've started working on this, and will leave this branch for the time being. It seems like this would create enough deviation between Scala 3 and increased complexity to not be worthwhile including as this will only serve a small subset of users until strictequality hits mainstream. I am happy to reconsider at a future time if this is a popular request.
test.proto
:build.sbt
:compile
fails with:Reproduction: https://github.com/steinybot/bug-reports/tree/scalapb/strict-equality-oneof