Disallowed @Deprecated for local variables and parameters
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
package test
|
||||
|
||||
enum class MyEnum(@param:Deprecated("") @property:Deprecated("") val ord: Int) {
|
||||
annotation class AAA
|
||||
|
||||
enum class MyEnum(@param:AAA @property:Deprecated("") val ord: Int) {
|
||||
ENTRY(239);
|
||||
|
||||
fun f(@java.lang.Deprecated p: Int) {
|
||||
|
||||
@@ -1,9 +1,13 @@
|
||||
package test
|
||||
|
||||
@kotlin.annotation.annotation() public final class AAA : kotlin.Annotation {
|
||||
public constructor AAA()
|
||||
}
|
||||
|
||||
public final enum class MyEnum : kotlin.Enum<test.MyEnum> {
|
||||
enum entry ENTRY
|
||||
|
||||
private constructor MyEnum(/*0*/ @kotlin.Deprecated(value = "") kotlin.Int)
|
||||
private constructor MyEnum(/*0*/ @test.AAA() kotlin.Int)
|
||||
@kotlin.Deprecated(value = "") public final val ord: kotlin.Int
|
||||
protected final /*fake_override*/ fun clone(): kotlin.Any
|
||||
public final /*fake_override*/ fun compareTo(/*0*/ test.MyEnum): kotlin.Int
|
||||
|
||||
Reference in New Issue
Block a user