mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-17 00:21:28 +00:00
Enum.values: deprecation (warning) --> deprecation (error)
This commit is contained in:
@@ -14,7 +14,7 @@ public final enum class EnumMembers : kotlin.Enum<test.EnumMembers!> {
|
||||
public open fun first(): kotlin.Boolean
|
||||
|
||||
// Static members
|
||||
@kotlin.Deprecated(message = "Use 'values()' function instead", replaceWith = kotlin.ReplaceWith(expression = "this.values()", imports = {})) public final /*synthesized*/ val values: kotlin.Array<test.EnumMembers>
|
||||
@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.EnumMembers>
|
||||
public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): test.EnumMembers
|
||||
public final /*synthesized*/ fun values(): kotlin.Array<test.EnumMembers>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user