Textile for Lift 3.5.x and Scala 2.13.x

26 views
Skip to first unread message

Baskaran S

unread,
Oct 20, 2021, 4:01:27 AM10/20/21
to Lift
Is there a Textile Lift Module for Lift 3.5.x and Scala 2.13.x?

https://github.com/liftmodules/textile supports up to Scala 2.12.

Lift 3.1.x for Scala 2.12 and 2.11: "net.liftmodules" %% "textile_3.1" % "1.4-SNAPSHOT"
Lift 3.0.x for Scala 2.10 and 2.11: "net.liftmodules" %% "textile_3.0" % "1.3-SNAPSHOT"
Lift 2.6.x for Scala 2.11:          "net.liftmodules" %% "textile_2.6" % "1.3-SNAPSHOT"
Lift 2.6.x for Scala 2.9 and 2.10:  "net.liftmodules" %% "textile_2.6" % "1.3"
Lift 2.5.x for Scala 2.9 and 2.10:  "net.liftmodules" %% "textile_2.5" % "1.3"

- Baskaran

Baskaran S

unread,
Oct 20, 2021, 9:12:09 AM10/20/21
to Lift
Made an attempt to port the Textile module to Lift 3.5.0 and Scala 2.13.6.
Made 4 changes to fix compilation errors (see the attached DIFF file).
Got 34 warnings, of which 26 are from various call-sites of a single function.

I request the author to rollout a Textile version for Lift 3.5.0 and Scala 2.13.x.

Untested changes (see attached files):
   1. TextileParser-Lift3.1.1-Scala2.12.2.scala
   2. TextileParser-Lift3.5.0-Scala2.13.6-draft.scala
   3. TextileParser.scala.DIFF.txt

Warnings:
 26  method apply in object Elem is deprecated (since 2.10.0): Use the other apply method in this object
  2  match may not be exhaustive.
  2  procedure syntax is deprecated: instead, add `: Unit =` to explicitly declare ... return type
  2  non-variable type argument ... in type pattern ... is unchecked since it is eliminated by erasure
  1  non-variable type argument ... in type ... is unchecked since it is eliminated by erasure
  1  view bounds are deprecated; use an implicit parameter instead.

Thank you
- Baskaran
TextileParser-Lift3.1.1-Scala2.12.2.scala
TextileParser-Lift3.5.0-Scala2.13.6-draft.scala
TextileParser.scala.DIFF.txt
Reply all
Reply to author
Forward
0 new messages