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

when compiling for 2.13 object breakOut is not a member of package scala.collection.breakOut

kalevsuik opened this issue · comments

commented

object breakOut is not a member of package collection
[error] import scala.collection.breakOut

in generated scalaxb/scalaxb.scala
object HexBinary {
def apply(xs: Byte*): HexBinary = {
import scala.collection.breakOut
val vector: Vector[Byte] = (xs.toIndexedSeq map {x: Byte => x})(breakOut)
new HexBinary(vector)
}
.........
I was compiling OpenAdr xsd files

This looks like a duplicate of #509. Are you using the latest version of scalaxb? If not could you try it?

commented

I have 1.7.5

commented

my bad, I had latest version in build.sbt but old one in plugins.sbt