blob: c34fe4bfa06782849f653784b5f8fcb148b99551 (
plain) (
tree)
|
|
trait Cloning {
trait Foo
def fn(g: Any => Unit): Foo
abstract class Star { def *(a: Cloning.this.Foo): Cloning.this.Foo }
implicit def mkStar(i: Int): Star = new Star { def *(a: Foo): Foo = null }
val pool = 4 * fn { case ghostSYMBOL: Int => ghostSYMBOL * 2 }
}
|