diff options
-rw-r--r-- | sources/scala/xml/NodeSeq.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/scala/xml/NodeSeq.scala b/sources/scala/xml/NodeSeq.scala index 5dc85e88e5..c463c88df5 100644 --- a/sources/scala/xml/NodeSeq.scala +++ b/sources/scala/xml/NodeSeq.scala @@ -14,7 +14,7 @@ object NodeSeq { def fromSeq(s:Seq[Node]):NodeSeq = new NodeSeq { def theSeq = s; } - def view(s:Seq[Node]):NodeSeq = fromSeq(s); + implicit def view(s:Seq[Node]):NodeSeq = fromSeq(s); } /** a wrapper around Seq[Node] that adds XPath and comprehension methods */ |