diff --git a/build.sbt b/build.sbt index 7705ddb..6981f72 100644 --- a/build.sbt +++ b/build.sbt @@ -1,14 +1,14 @@ -val dottyVersion = "3.1.2" // dottyLatestNightlyBuild.get +val dottyVersion = "3.3.3" // dottyLatestNightlyBuild.get lazy val root = project .in(file(".")) .settings( - name := "dotty-xml-interpolator", + name := "scala-xml-interpolator", version := "0.1.0", scalaVersion := dottyVersion, scalacOptions ++= Seq( - "-Xprint-inline" + "-deprecation" ), libraryDependencies ++= Seq( "org.scala-lang.modules" % "scala-parser-combinators_2.13" % "1.1.2", diff --git a/src/main/scala/dotty/xml/interpolator/internal/Macro.scala b/src/main/scala/dotty/xml/interpolator/internal/Macro.scala index d04aa99..a2e5681 100644 --- a/src/main/scala/dotty/xml/interpolator/internal/Macro.scala +++ b/src/main/scala/dotty/xml/interpolator/internal/Macro.scala @@ -81,7 +81,7 @@ object Macro { def appendPart(part: Expr[String]) = { bf += sb.length - sb ++= part.valueOrError + sb ++= part.valueOrAbort bf += sb.length }