From 370fe778baa2e0723cc83dc53b115e47fbbd4060 Mon Sep 17 00:00:00 2001 From: Mark Canlas Date: Fri, 18 Oct 2024 15:25:28 -0400 Subject: [PATCH] seq to list --- core/src/main/scala/cats/xml/xmlNode.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/scala/cats/xml/xmlNode.scala b/core/src/main/scala/cats/xml/xmlNode.scala index af98948..1c02ae4 100644 --- a/core/src/main/scala/cats/xml/xmlNode.scala +++ b/core/src/main/scala/cats/xml/xmlNode.scala @@ -128,7 +128,7 @@ sealed trait XmlNode extends Xml { children.exists(n => (n.label == label) && predicate(n)) // must be 'def' due it's mutable - def children: Seq[XmlNode] = + def children: List[XmlNode] = content.children /** Create a new immutable instance with the same values of the current one