Check backing field availability for AnnotationTarget.FIELD #KT-10387 Fixed

Some duplicated checks deleted (UseSiteTargetChecker / JvmFieldApplicabilityChecker)
This commit is contained in:
Mikhail Glukhikh
2015-12-15 14:13:36 +03:00
parent f55574df36
commit 3fb04aceb9
13 changed files with 154 additions and 54 deletions
@@ -1,4 +1,4 @@
// ERROR: This annotation is not applicable to target 'member property'
// ERROR: This annotation is not applicable to target 'member property with backing field'
internal class A {
@Deprecated("")
@Volatile var field1 = 0