Deprecate escaped modifiers and unescaped annotations
This commit is contained in:
Vendored
+2
-2
@@ -1,6 +1,6 @@
|
||||
annotation class AnnE(val i: MyEnum)
|
||||
|
||||
AnnE(<!ANNOTATION_PARAMETER_MUST_BE_ENUM_CONST!>e<!>)
|
||||
@AnnE(<!ANNOTATION_PARAMETER_MUST_BE_ENUM_CONST!>e<!>)
|
||||
class Test
|
||||
|
||||
val e: MyEnum = MyEnum.A
|
||||
@@ -9,5 +9,5 @@ enum class MyEnum {
|
||||
A
|
||||
}
|
||||
|
||||
AnnE(<!TYPE_MISMATCH!>Test()<!>)
|
||||
@AnnE(<!TYPE_MISMATCH!>Test()<!>)
|
||||
class Test2
|
||||
Vendored
+1
-1
@@ -13,7 +13,7 @@ public class Test {
|
||||
// FILE: a.kt
|
||||
annotation class Ann(vararg val i: Int)
|
||||
|
||||
Ann(
|
||||
@Ann(
|
||||
<!ANNOTATION_PARAMETER_MUST_BE_CONST!>Test.i1<!>,
|
||||
Test.i2,
|
||||
<!ANNOTATION_PARAMETER_MUST_BE_CONST!>Test.i3<!>,
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
annotation class Ann(vararg val i: Int)
|
||||
|
||||
Ann(
|
||||
@Ann(
|
||||
<!ANNOTATION_PARAMETER_MUST_BE_CONST!>i1<!>,
|
||||
i2,
|
||||
<!ANNOTATION_PARAMETER_MUST_BE_CONST!>i3<!>,
|
||||
|
||||
Reference in New Issue
Block a user