Files
kotlin-fork/idea/testData/refactoring/inline/function/Kt19459.kt.after
T
Dmitry Gridin 360a5bf348 Inline refactoring: improve resolve
#KT-39705 Fixed
#KT-19459 Fixed
2020-06-23 10:25:52 +00:00

11 lines
157 B
Plaintext
Vendored

private class A {
val bar = 1
val parent: A
get() = null!!
}
fun <T> myrun(f: () -> T) = f()
private fun test(a: A) {
myrun { a.bar }
}