blob: 5cf0a4ef4e49ff29e15fc7c258b32bfa54484b20 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
import language._
object Foo {
object I {
def +(other: I.type) : Unit = ()
}
object BI {
def +(other: BI.type): Unit = ()
}
implicit def I2BI(i: I.type): BI.type = BI
I.+(BI)
}
|