scala> import scala.xml._
import scala.xml._
scala> val a: NodeSeq = <a>Hello</a>
a: scala.xml.NodeSeq = <a>Hello</a>
scala> a ++ <b>hi</b>
res0: scala.xml.NodeSeq = NodeSeq(<a>Hello</a>, <b>hi</b>)
Scala 2.13:
scala> a ++ <b>hi</b> res0: Seq[scala.xml.Node] = List(<a>Hello</a>, <b>hi</b>)
This result in a
change in semantic of CssSel, because `"something #> (x:
NodeSeq)` is different than `"something #> (x: List[Node]`.
Do you notice that? Do you know of a way to correct that
thing? I can't put type ascription everywhere (I don't even
know where the problematic places are)Thanks,
any insights would be very much appreciated.
-- Francois ARMAND - @fanf42 https://github.com/Normation/rudder http://www.normation.com
If anybody has the problem: it was reported to `scala-xml` project at https://github.com/scala/scala-xml/issues/392
A PR correcting the behaviour was done here: https://github.com/scala/scala-xml/pull/396
It will be part of next scala-xml version 1.3.0 release.
On Mar 6, 2020, at 6:15 AM, Andreas Joseph Krogh <and...@visena.com> wrote:
--
--
Lift, the simply functional web framework: http://liftweb.net
Code: http://github.com/lift
Discussion: http://groups.google.com/group/liftweb
Stuck? Help us help you: https://www.assembla.com/wiki/show/liftweb/Posting_example_code
---
You received this message because you are subscribed to the Google Groups "Lift" group.
To unsubscribe from this group and stop receiving emails from it, send an email to liftweb+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/liftweb/VisenaEmail.75.4bdf7e71e76730d0.170af8ee824%40tc7-visena.
Looks like they are skipping 1.3.0 and going straight to 2.0 😕2.0-M1 is out but not sure on the stability.On Mar 6, 2020, at 6:15 AM, Andreas Joseph Krogh <and...@visena.com> wrote:
--På tirsdag 04. februar 2020 kl. 12:39:10, skrev Francois <fan...@gmail.com>:If anybody has the problem: it was reported to `scala-xml` project at https://github.com/scala/scala-xml/issues/392
A PR correcting the behaviour was done here: https://github.com/scala/scala-xml/pull/396
It will be part of next scala-xml version 1.3.0 release.Any news on 1.3.0's release?--Andreas Joseph KroghCTO / Partner - Visena ASMobile: +47 909 56 963
--
Lift, the simply functional web framework: http://liftweb.net
Code: http://github.com/lift
Discussion: http://groups.google.com/group/liftweb
Stuck? Help us help you: https://www.assembla.com/wiki/show/liftweb/Posting_example_code
---
You received this message because you are subscribed to the Google Groups "Lift" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lif...@googlegroups.com.