diff --git a/build.sbt b/build.sbt index cb887f499..ecd782bbf 100644 --- a/build.sbt +++ b/build.sbt @@ -1,5 +1,4 @@ import com.typesafe.tools.mima.core._ -import com.github.sbt.git.SbtGit.git val projectName = "parsley" val Scala213 = "2.13.11" @@ -96,10 +95,7 @@ lazy val parsley = crossProject(JSPlatform, JVMPlatform, NativePlatform) Test / testOptions += Tests.Argument(TestFrameworks.ScalaTest, "-oI"), scalacOptions ++= { - if (!isSnapshot.value && !(noReleaseFlagsScala3 && scalaBinaryVersion.value == "3")) { - println("enabling the release flags!") - releaseFlags - } else Seq.empty + if (!isSnapshot.value && !(noReleaseFlagsScala3 && scalaBinaryVersion.value == "3")) releaseFlags else Seq.empty }, Compile / doc / scalacOptions ++= Seq("-groups", "-doc-root-content", s"${baseDirectory.value.getParentFile.getPath}/rootdoc.md"), diff --git a/parsley/shared/src/main/scala/parsley/character.scala b/parsley/shared/src/main/scala/parsley/character.scala index bbea8ce18..3ed9b09fc 100644 --- a/parsley/shared/src/main/scala/parsley/character.scala +++ b/parsley/shared/src/main/scala/parsley/character.scala @@ -128,6 +128,8 @@ object character { if (Character.isBmpCodePoint(c)) char(c.toChar) #> c else new Parsley(new singletons.SupplementaryCharTok(c, NotConfigured)) } + @deprecated("this is an old naming, which I believe was never exposed but to be safe it'll remain till 5.0.0", "4.3.0") + private [parsley] def charUtf16(c: Int): Parsley[Int] = codePoint(c) /** This combinator tries to parse a single character from the input that matches the given predicate. *