blob: 4c39842af8908c52e679811c3fa6d5c7915e6e1a (
plain) (
tree)
|
|
import scala.language.dynamics
class Foo extends scala.Dynamic {
def applyDynamicNamed(name: Int)(args: Any*): String = ???
}
object DynamicTest {
new Foo().bazApply("abc", 4, b = 1, b = "bcd") // error
}
|