Intentions: Move class member to companion object
#KT-9697 In Progress
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
class A {
|
||||
companion object {
|
||||
<spot>fun foo() = 1</spot>
|
||||
}
|
||||
}
|
||||
|
||||
fun bar() = A.foo()
|
||||
Reference in New Issue
Block a user