Skip to content

Commit

Permalink
#41 hotfix of macro derivation
Browse files Browse the repository at this point in the history
  • Loading branch information
eld0727 committed Feb 26, 2019
1 parent 4b4de01 commit 2a657c7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ tethys is a JSON parsing/writing library for Scala
Add dependencies to your `build.sbt`

```scala
val tethysVersion = "0.8.0"
val tethysVersion = "0.8.0.1"
libraryDependecies ++= Seq(
"com.tethys-json" %% "tethys-core" % tethysVersion,
"com.tethys-json" %% "tethys-jackson" % tethysVersion,
Expand All @@ -22,7 +22,7 @@ or just

```scala
libraryDependecies ++= Seq(
"com.tethys-json" %% "tethys" % "0.8.0"
"com.tethys-json" %% "tethys" % "0.8.0.1"
)
```

Expand Down
4 changes: 2 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
lazy val scalaTestVersion = "3.0.5"

lazy val commonSettings = Seq(
version := "0.8.0",
version := "0.8.0.1",
organization := "com.tethys-json",
scalaVersion := "2.11.12",
crossScalaVersions := Seq("2.11.12", "2.12.6", "2.13.0-M2"),
crossScalaVersions := Seq("2.11.12", "2.12.8", "2.13.0-M2"),

licenses := Seq("Apache-2.0" -> url("https://www.apache.org/licenses/LICENSE-2.0")),
homepage := Some(url("https://github.com/tethys-json/tethys")),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ trait ReaderDerivation
val expectedNames = gropedDefs.map(_._1).mkString("'", "', '", "'")
cq"""
$unexpectedName =>
ReaderError.wrongJson("unexpected field '" + $unexpectedName + "', expected one of " + $expectedNames)($fieldNameTmp)
$readerErrorCompanion.wrongJson("unexpected field '" + $unexpectedName + "', expected one of " + $expectedNames)($fieldNameTmp)
"""
}
else cq"_ => $tokenIteratorTerm.skipExpression()"
Expand Down

0 comments on commit 2a657c7

Please sign in to comment.