blob: 5f7135c9e8058dc994b508b5a07e2bb5cdf4948d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
/**
* Testing scaladoc implicits elimination
*/
package scala.test.scaladoc.implicits.elimination {
import language.implicitConversions // according to SIP18
/** No conversion, as B doesn't bring any member */
class A
class B { class C; trait V; type T; }
object A {
implicit def toB(a: A): B = null
}
}
|