Skip to content

Instantly share code, notes, and snippets.

@tpolecat
Created February 3, 2013 16:57
Show Gist options
  • Select an option

  • Save tpolecat/4702560 to your computer and use it in GitHub Desktop.

Select an option

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