Correctly apply annotation wrap before modifier keyword

#KT-20314 Fixed
This commit is contained in:
Dmitry Jemerov
2017-12-20 17:17:22 +01:00
parent fa19bd6d9b
commit 43ef113b7a
21 changed files with 65 additions and 25 deletions
+2 -1
View File
@@ -13,7 +13,8 @@ import javaApi.*
@Anon8(classes = arrayOf(String::class, StringBuilder::class))
internal class C {
@Anon5(1)
@Deprecated("") private val field1 = 0
@Deprecated("")
private val field1 = 0
@Anon5(1)
private val field2 = 0
@@ -7,6 +7,11 @@ class WithModifiersOnAccessors {
@get:Strictfp
var strict = 0.0
@Synchronized private fun methSync() {}
@Strictfp protected fun methStrict() {}
@Synchronized
private fun methSync() {
}
@Strictfp
protected fun methStrict() {
}
}