Skip to content

[2.13.9] productIterator change to case classes breaks bincompat if the class is also a value class #12650

@adamw

Description

@adamw

MiMA reports the following error when trying to update to 2.13.9, for value classes:

[error] core: Failed binary compatibility check against com.softwaremill.sttp.model:core_2.13:1.5.2! Found 2 potential problems
[error]  * extension static method productIterator$extension(java.lang.String)scala.collection.Iterator in class sttp.model.Method does not have a correspondent in current version
[error]    filter with: ProblemFilters.exclude[DirectMissingMethodProblem]("sttp.model.Method.productIterator$extension")
[error]  * extension method productIterator$extension(java.lang.String)scala.collection.Iterator in object sttp.model.Method does not have a correspondent in current version
[error]    filter with: ProblemFilters.exclude[DirectMissingMethodProblem]("sttp.model.Method.productIterator$extension")

this is for a value case class:

case class Method(method: String) extends AnyVal

is this something that can be safely ignored?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions