Closed
Description
class Foo extends Dynamic {
def applyDynamic[T](n: String)(): T = ???
}
new Foo().foo[Int]()
// should become
new Foo().applyDynamic[Int]("foo")()
The current behaviour is to convert the call to applyDynamic("foo")[Int]()
which then fails type checking with an error message that is not useful.