Permalink
Browse files

Fix 2.8.0 build

  • Loading branch information...
Joni Freeman
Joni Freeman committed Mar 11, 2011
1 parent ea81eee commit 9aab0bcfc1d0c03255e79fcdde89fa24f71e6c58
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/json-scalaz/src/main/scala/net/lifweb/json/scalaz/JsonScalaz.scala
@@ -70,7 +70,7 @@ trait Types {
case x => UnexpectedJSONError(x, classOf[JObject]).fail.liftFailNel
}
- def validate[A: JSONR](name: String): Kleisli[Result, JValue, A] = kleisli(field(name))
+ def validate[A: JSONR](name: String): Kleisli[Result, JValue, A] = kleisli(field[A](name))
def makeObj(fields: Traversable[(String, JValue)]): JObject =
JObject(fields.toList.map { case (n, v) => JField(n, v) })

0 comments on commit 9aab0bc

Please sign in to comment.