Make private: don't suggest if property has @JvmField annotation

#KT-27138 Fixed
This commit is contained in:
Toshiaki Kameyama
2018-09-28 11:46:50 +03:00
committed by Mikhail Glukhikh
parent 248e09ff2c
commit c65e246e02
7 changed files with 29 additions and 13 deletions
@@ -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