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