Use "Move to companion" quick fix for CONST_VAL_NOT_TOP_LEVEL_OR_OBJECT
So #KT-22871 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
69d2e8898a
commit
2669193755
@@ -0,0 +1,4 @@
|
||||
// "Move to companion object" "true"
|
||||
class Test {
|
||||
<caret>const val foo = ""
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
// "Move to companion object" "true"
|
||||
class Test {
|
||||
companion object {
|
||||
const val foo = ""
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user