Created
          August 10, 2012 20:27 
        
      - 
      
- 
        Save xeno-by/3317596 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
    
  
  
    
  | class Test { | |
| class Foo1 { | |
| def must(x: scala.xml.Elem) = () | |
| } | |
| class Foo2 { | |
| def must(x: Int) = () | |
| } | |
| implicit def toFoo1(s: scala.xml.Elem) = new Foo1() | |
| implicit def toFoo2(s: scala.xml.Elem) = new Foo2() | |
| def is: Unit = { (<a>{"a"}</a>).must(<a>{"b"}</a>) } | |
| } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment