Skip to content

Instantly share code, notes, and snippets.

@tpolecat
Created February 3, 2013 16:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tpolecat/4702560 to your computer and use it in GitHub Desktop.
Save tpolecat/4702560 to your computer and use it in GitHub Desktop.
trait X
trait Y
implicit val x: X = ???
def foo(implicit x: X) = ???
def foo(implicit y: Y) = ???
foo // ambiguous (but it's not because there's no implicit Y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment