Created
April 15, 2014 14:20
-
-
Save folone/10736552 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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