Add "Remove 'const'" quickfix for TYPE_CANT_BE_USED_FOR_CONST_VAL

So #KT-24815 Fixed
This commit is contained in:
Toshiaki Kameyama
2018-06-11 08:05:01 +03:00
committed by Mikhail Glukhikh
parent c344354395
commit 1e31d24e9b
4 changed files with 20 additions and 1 deletions
+7
View File
@@ -0,0 +1,7 @@
// "Remove 'const' modifier" "true"
class Foo
object Test {
<caret>const val c = Foo()
}
+7
View File
@@ -0,0 +1,7 @@
// "Remove 'const' modifier" "true"
class Foo
object Test {
val c = Foo()
}