Copy: Support class copying

#KT-8180 Fixed
 #KT-9054 Fixed
This commit is contained in:
Alexey Sedunov
2017-05-11 21:28:49 +03:00
parent 405a28648f
commit 92446df14a
43 changed files with 989 additions and 124 deletions
@@ -0,0 +1,15 @@
package bar
class A {
fun test() {
A.testCompanion()
testCompanion()
Companion.testCompanion()
}
companion object {
fun testCompanion() {
}
}
}
@@ -0,0 +1,15 @@
package foo
class A {
fun test() {
A.testCompanion()
testCompanion()
Companion.testCompanion()
}
companion object {
fun testCompanion() {
}
}
}