summaryrefslogblamecommitdiff
path: root/test/files/pos/t1832.scala
blob: f3bb556e321010617db2918331a2827677f5df33 (plain) (tree)
1
2
3
4
5
6
7
8


                             
 



                                                                 
trait Cloning {
  trait Foo
  def fn(g: Any => Unit): Foo

  implicit def mkStar(i: Int) = new { def *(a: Foo): Foo = null }

  val pool = 4 * fn { case ghostSYMBOL: Int => ghostSYMBOL * 2 }
}