Created
December 7, 2012 01:49
-
-
Save stephenjudkins/4230082 to your computer and use it in GitHub Desktop.
This file contains hidden or 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> @annotation.implicitNotFound("oh no! could not find Foo with ${A} ${B}") trait Foo[A,B] | |
defined trait Foo | |
scala> implicitly[Foo[String, Int]] | |
<console>:12: error: oh no! could not find Foo with String Int | |
implicitly[Foo[String, Int]] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment