Skip to content

Commit

Permalink
fix deriveAnyVal to derive only Generic
Browse files Browse the repository at this point in the history
  • Loading branch information
melrief committed May 29, 2017
1 parent c0b38a4 commit d7368b4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions core/src/main/scala/pureconfig/DerivedReaders.scala
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ trait DerivedReaders extends DerivedReaders1 {
implicit def deriveAnyVal[T, U](
implicit
ev: T <:< AnyVal,
generic: Generic[T],
unwrapped: Unwrapped.Aux[T, U],
reader: ConfigReader[U]): ConfigReader[T] =
new ConfigReader[T] {
Expand Down
1 change: 1 addition & 0 deletions core/src/main/scala/pureconfig/DerivedWriters.scala
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ trait DerivedWriters extends DerivedWriters1 {
implicit def deriveAnyVal[T, U](
implicit
ev: T <:< AnyVal,
generic: Generic[T],
unwrapped: Unwrapped.Aux[T, U],
writer: ConfigWriter[U]): ConfigWriter[T] =
new ConfigWriter[T] {
Expand Down
2 changes: 1 addition & 1 deletion version.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version in ThisBuild := "0.7.2-SNAPSHOT"
version in ThisBuild := "0.7.2"

0 comments on commit d7368b4

Please sign in to comment.