Files
kotlin-fork/idea/testData/refactoring/extractFunction/basic/unresolvedWrongReceiver.kt
T
2015-09-17 01:33:23 +03:00

13 lines
188 B
Kotlin
Vendored

// SIBLING:
class A {
fun foo() {
val a = B()
<selection>a.unresolved()</selection>
}
private fun B.unresolved() = 1
}
class B
private fun A.unresolved() = 1