blob: 865858ff36d1b78e83cd19e062015bb1e96fb296 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
import scala.language.dynamics
class Foo extends scala.Dynamic {
def applyDynamic(name: String)(args: String*): String = ???
}
object DynamicTest {
def test: Int = new Foo().bazApply() // error
}
|