Files
kotlin-fork/idea/testData/copyPaste/imports/ReferencedElementAlsoCopied.kt
T
Pavel V. Talanov 61153c87e0 Insert imports on copy/paste
Introduce KotlinCopyPasteReferenceProcessor
2014-02-04 20:19:52 +04:00

31 lines
274 B
Kotlin

package a
<selection>trait T
class A(i: Int) {}
val c = 0
fun g(a: A) {}
fun A.ext()
object O1 {
fun f() {
}
}
object O2 {
}
class ClassObject {
class object {
}
}
fun f(a: A, t: T) {
g(A(c).ext())
O1.f()
O2
ClassObject
}</selection>