// "Create member function 'Foo.get'" "true" import java.util.ArrayList class Foo { fun bar(arg: String) { } fun x (y: Foo>, w: ArrayList) { val z = y["", w] bar(z) } }