Closed kalevsuik closed 4 years ago
This looks like a duplicate of https://github.com/eed3si9n/scalaxb/issues/509. Are you using the latest version of scalaxb? If not could you try it?
I have 1.7.5
The HexBinary.apply doesn't match the code you quoted.
my bad, I had latest version in build.sbt but old one in plugins.sbt
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