blob: a988fb2ee7bf3354e7f61373584194ab10ef4556 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
import scala.tools.partest._
import java.io.{Console => _, _}
object Test extends DirectTest {
override def extraSettings: String = "-usejavacp -Xprint:uncurry -Ydelambdafy:method -Ystop-after:uncurry -d " + testOutput.path
override def code = """class Foo {
| def bar = {
| val f = {x: Int => x + 1}
| }
|}
|""".stripMargin.trim
override def show(): Unit = {
Console.withErr(System.out) {
compile()
}
}
}
|