Skip to content

2.13: compatibility with new name-based extractor scheme #253

Closed
@SethTisue

Description

@SethTisue

after scala/scala#7068 was merged, in the 2.13 community build (https://scala-ci.typesafe.com/job/scala-2.13.x-integrate-community-build/1371/consoleFull) we have:

[scala-xml] [error] /home/jenkins/workspace/scala-2.13.x-integrate-community-build/target-0.9.14/project-builds/scala-xml-e1a7e0a64e2727f6b5e8cd3bed61e97ced6504ee/shared/src/main/scala/scala/xml/Utility.scala:47: error during expansion of this match (this is a scalac bug).
[scala-xml] [error] The underlying error was: type mismatch;
[scala-xml] [error]  found   : Seq[scala.xml.Node] (in scala.collection) 
[scala-xml] [error]  required: Seq[scala.xml.Node] (in scala.collection.immutable) 
[scala-xml] [error]   def trim(x: Node): Node = x match {
[scala-xml] [error]                               ^

and a few more such errors.

does this indicate that there is code in scala-xml that needs to be adjusted to the new scheme for name-based extractors? or is there a flaw in scala/scala#7068?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions