// "Create member function 'A.foo'" "true" class A { fun foo(): String { TODO("not implemented") //To change body of created functions use File | Settings | File Templates. } } fun test() { println("a = ${A().foo()}") }