Disallowed @Deprecated for local variables and parameters
This commit is contained in:
@@ -4,7 +4,7 @@ import dependency.*
|
||||
|
||||
data @A("a") @B(1) @C class Annotations {
|
||||
|
||||
inline @A("f") @B(2) @C fun f(@A("i") @B(3) @C @Deprecated("1") i: @A("int") Int) {
|
||||
inline @A("f") @B(2) @C fun f(@A("i") @B(3) @C i: @A("int") Int) {
|
||||
}
|
||||
|
||||
inline @A("p") @B(3) @C val p: @B(4) Int = 2
|
||||
|
||||
Reference in New Issue
Block a user