Skip to content

Instantly share code, notes, and snippets.

@folone
Created April 15, 2014 14:20
Show Gist options
  • Save folone/10736552 to your computer and use it in GitHub Desktop.
Save folone/10736552 to your computer and use it in GitHub Desktop.
scala> import play.api.libs.json._
import play.api.libs.json._
scala> case class Test[A: Writes](a: A)
defined class Test
scala> implicit def testWrites[A: Writes] = Json.writes[Test[A]]
<console>:12: error: No apply function found matching unapply parameters
implicit def testWrites[A: Writes] = Json.writes[Test[A]]
^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment