Deprecate some of JVM flag annotations in favor of capitilized themselves

This commit is contained in:
Denis Zharkov
2015-09-04 14:21:10 +03:00
parent 2b76941733
commit 26f9bd7b63
21 changed files with 68 additions and 68 deletions
+3 -3
View File
@@ -1,5 +1,5 @@
private @open @[Ann1(1)] @Ann2("1") Ann3("2") class A(
@volatile(1) private val x: @AnnType("3") @open Int,
@Volatile(1) private val x: @AnnType("3") @open Int,
@private var y: Int,
@open z: Int
) {
@@ -16,7 +16,7 @@ private @open @[Ann1(1)] @Ann2("1") Ann3("2") class A(
@[Ann]
private
@abstract
@volatile var x = 1
@Volatile var x = 1
foo(fun(@vararg @ann(1) x: Int) {})
}
@@ -43,5 +43,5 @@ private @open @[Ann1(1)] @Ann2("1") Ann3("2") class A(
fun bar() {
try {}
catch (@volatile e: Exception) {}
catch (@Volatile e: Exception) {}
}