Files
kotlin/idea/testData/quickfix/createFromUsage/createFunction/call/afterThisInNestedClass2.kt

13 lines
362 B
Kotlin

// "Create function 'foo'" "true"
class A<T>(val n: T) {
inner class B<U>(val m: U) {
fun test(): A<Int> {
return this@A.foo(2, "2")
}
}
fun foo(i: Int, s: String): A<Int> {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}