Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

27 lines (21 sloc) 0.564 kb
import scala.tools.partest.DirectTest
object Test extends DirectTest {
override def extraSettings: String =
s"-usejavacp -Xprint-pos -Xprint:typer -Yrangepos -Ystop-after:typer -d ${testOutput.path}"
override def code = """
object X {
val d = new D
d.meth(value1 = 10, value2 = 100)
d(value1 = 10)
}
""".trim
override def show(): Unit = {
Console.withErr(System.out) {
compile()
}
}
}
import language.dynamics
class D extends Dynamic {
def applyDynamicNamed(name: String)(value: (String, Any)*) = ???
}
Jump to Line
Something went wrong with that request. Please try again.