summaryrefslogblamecommitdiff
path: root/test/files/run/delambdafy_t6555.scala
blob: 8d4976e9892f560b0e6836a3f160850c9147c801 (plain) (tree)
1
2
3
4
5
6
7
8






                                                                                                                
                                                                       






                                 
import scala.tools.partest._
import java.io.{Console => _, _}

object Test extends DirectTest {

  override def extraSettings: String = "-usejavacp -Xprint:specialize -Ydelambdafy:method -d " + testOutput.path

  override def code = "class Foo { val f = (param: String) => param } "

  override def show(): Unit = {
    Console.withErr(System.out) {
      compile()
    }
  }
}