blob: 5d56e776c3bcff3fc92f23674a347ae9dd95d0f7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
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: Search of in-scope implicits was ambiguous, and the implicit scope was searched. In Scala 2.11.0, this code will not compile. See SI-6667.
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
|