Enum.values: deprecation (warning) --> deprecation (error)
This commit is contained in:
@@ -16,7 +16,7 @@ public open enum class EnumWithSpecializedEntry : kotlin.Enum<test.EnumWithSpeci
|
||||
}
|
||||
|
||||
// Static members
|
||||
@kotlin.Deprecated(message = "Use 'values()' function instead", replaceWith = kotlin.ReplaceWith(expression = "this.values()", imports = {})) public final /*synthesized*/ val values: kotlin.Array<test.EnumWithSpecializedEntry>
|
||||
@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use 'values()' function instead", replaceWith = kotlin.ReplaceWith(expression = "this.values()", imports = {})) public final /*synthesized*/ val values: kotlin.Array<test.EnumWithSpecializedEntry>
|
||||
public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): test.EnumWithSpecializedEntry
|
||||
public final /*synthesized*/ fun values(): kotlin.Array<test.EnumWithSpecializedEntry>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user