when compiling for 2.13 object breakOut is not a member of package scala.collection.breakOut
kalevsuik opened this issue · comments
Kalev 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
eugene yokota commented
This looks like a duplicate of #509. Are you using the latest version of scalaxb? If not could you try it?
Kalev commented
I have 1.7.5
eugene yokota commented
The HexBinary.apply doesn't match the code you quoted.
Kalev commented
my bad, I had latest version in build.sbt but old one in plugins.sbt