scalatags
scalatags copied to clipboard
Grouping SVG frags and modifiers broken?
ScalaFiddle testing grouping SVG frags and modifiers fails to compile with:
ScalaFiddle.scala:45: error: type mismatch;
found : collection.this.Seq[.this.scalatags.JsDom.implicits.Modifier]
(which expands to) collection.this.Seq[generic.this.Modifier[raw.this.Element]]
required: scalatags.this.JsDom.Modifier
(which expands to) generic.this.Modifier[raw.this.Element]
mods
^
ScalaFiddle.scala:50: error: type mismatch;
found : collection.this.Seq[.this.scalatags.JsDom.implicits.Modifier]
(which expands to) collection.this.Seq[generic.this.Modifier[raw.this.Element]]
required: scalatags.this.JsDom.Modifier
(which expands to) generic.this.Modifier[raw.this.Element]
mods
^
ScalaFiddle.scala:55: error: type mismatch;
found : collection.this.Seq[.this.scalatags.JsDom.implicits.Frag]
(which expands to) collection.this.Seq[generic.this.Frag[raw.this.Element,raw.this.Node]]
required: scalatags.this.JsDom.Modifier
(which expands to) generic.this.Modifier[raw.this.Element]
frags,
^
PS: I also tried in Scastie but got object JsDom is not a member of package scalatags