Make private: don't suggest if property has @JvmField annotation
#KT-27138 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
248e09ff2c
commit
c65e246e02
@@ -1,7 +1,6 @@
|
||||
// "Add annotation target" "false"
|
||||
// WITH_RUNTIME
|
||||
// ACTION: Make internal
|
||||
// ACTION: Make private
|
||||
// ACTION: Specify type explicitly
|
||||
// ACTION: Add use-site target 'property'
|
||||
// ERROR: This annotation is not applicable to target 'top level property without backing field or delegate'
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
// 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
|
||||
// ACTION: Add use-site target 'property'
|
||||
<caret>@JvmField val number: Int
|
||||
|
||||
Reference in New Issue
Block a user