eed3si9n / scalaxb

scalaxb is an XML data binding tool for Scala.

Home Page:http://scalaxb.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Warning: abstract type A in type pattern ElemNameParser.this.Success[A] is unchecked, when compiling with scala 2.13.7

aleksandr-vin opened this issue · comments

target/scala-2.13/src_managed/main/sbt-scalaxb/scalaxb/scalaxb.scala:795:17
abstract type A in type pattern ElemNameParser.this.Success[A] is unchecked since it is eliminated by erasure
        case x: Success[A] => Right(x.get)

@aleksandr-vin Thanks for the report.

If anyone is interested in contributing, the relevant part of the code is

case x: Success[A] => Right(x.get)

Here's my PR for this - #582