Skip to content

regression in xml lib #5858

Closed
Closed
@scabug

Description

@scabug

Worked in 2.9.


scala> new xml.Elem(null, null, xml.Null, xml.TopScope, Nil: _*)
<console>:8: error: ambiguous reference to overloaded definition,
both constructor Elem in class Elem of type (prefix: String, label: String, attributes: scala.xml.MetaData, scope: scala.xml.NamespaceBinding, child: scala.xml.Node*)scala.xml.Elem
and  constructor Elem in class Elem of type (prefix: String, label: String, attributes1: scala.xml.MetaData, scope: scala.xml.NamespaceBinding, minimizeEmpty: Boolean, child: scala.xml.Node*)scala.xml.Elem
match argument types (Null,Null,xml.Null.type,xml.TopScope.type,Nothing)
              new xml.Elem(null, null, xml.Null, xml.TopScope, Nil: _*)
              ^

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions