summaryrefslogblamecommitdiff
path: root/test/files/neg/t6667b.check
blob: a8705fa1c2a80fec1e26b858fc5151e468f43da0 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11




                                                  
           




                                                  
         
                
t6667b.scala:16: error: ambiguous implicit values:
 both value a in object Test of type => Test.Box
 and value b of type Test.Box
 match expected type Test.Box
      new Test()
          ^
t6667b.scala:19: error: ambiguous implicit values:
 both value a in object Test of type => Test.Box
 and value b of type Test.Box
 match expected type Test.Box
    new Test()
        ^
two errors found