Intentions: Move member of companion object to corresponding class
#KT-9697 Fixed
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
package a
|
||||
|
||||
class A {
|
||||
companion object {
|
||||
fun foo() {
|
||||
|
||||
}
|
||||
|
||||
class <caret>B {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fun foo() {
|
||||
A.Companion.B()
|
||||
}
|
||||
Reference in New Issue
Block a user