Add quickfix for INAPPLICABLE_JVM_FIELD
replaces with 'const' when possible #KT-10981 Fixed
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
// "Replace '@JvmField' with 'const'" "false"
|
||||
// WITH_RUNTIME
|
||||
// ERROR: This annotation is not applicable to target 'top level property without backing field or delegate'
|
||||
// ACTION: Make internal
|
||||
// ACTION: Make private
|
||||
// ACTION: Remove explicit type specification
|
||||
<caret>@JvmField val number: Int
|
||||
get() = 42
|
||||
Reference in New Issue
Block a user