Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning at target/scala-2.13/src_managed/main/sbt-scalaxb/soap/xmlprotocol.scala:61:65 match may not be exhaustive. #580

Open
aleksandr-vin opened this issue Dec 22, 2021 · 0 comments

Comments

@aleksandr-vin
Copy link

aleksandr-vin commented Dec 22, 2021

target/scala-2.13/src_managed/main/sbt-scalaxb/soap/xmlprotocol.scala:61:65
match may not be exhaustive.
It would fail on the following input: (x: _ forSome x not in soapenvelope11.Detail)
              case x: scalaxb.Soap11Fault[_] if x.detail.exists { case soapenvelope11.Detail(any, _) => any.headOption.exists(_.key.contains("WsBusinessFault")) } => x.asFault[soap.WsBusinessFault]

and on the next line:

target/scala-2.13/src_managed/main/sbt-scalaxb/soap/xmlprotocol.scala:62:65
match may not be exhaustive.
It would fail on the following input: (x: _ forSome x not in soapenvelope11.Detail)
              case x: scalaxb.Soap11Fault[_] if x.detail.exists { case soapenvelope11.Detail(any, _) => any.headOption.exists(_.key.contains("SystemFault")) } => x.asFault[soap.SystemFault]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant