Enum.values: deprecation (warning) --> deprecation (error)

This commit is contained in:
Mikhail Glukhikh
2015-12-09 18:43:27 +03:00
parent 521b216602
commit c8b50eec1e
186 changed files with 238 additions and 215 deletions
@@ -10,7 +10,7 @@ public final enum class EnumWithGenericConstructorParameter : kotlin.Enum<test.E
public final override /*1*/ /*fake_override*/ fun compareTo(/*0*/ other: test.EnumWithGenericConstructorParameter): kotlin.Int
// Static members
@kotlin.Deprecated(message = "Use 'values()' function instead", replaceWith = kotlin.ReplaceWith(expression = "this.values()", imports = {})) public final /*synthesized*/ val values: kotlin.Array<test.EnumWithGenericConstructorParameter>
@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.EnumWithGenericConstructorParameter>
public final fun <get-values>(): kotlin.Array<test.EnumWithGenericConstructorParameter>
public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): test.EnumWithGenericConstructorParameter
public final /*synthesized*/ fun values(): kotlin.Array<test.EnumWithGenericConstructorParameter>
@@ -10,7 +10,7 @@ public final enum class EnumWithPrimitiveConstructorParameter : kotlin.Enum<test
public final override /*1*/ /*fake_override*/ fun compareTo(/*0*/ other: test.EnumWithPrimitiveConstructorParameter): kotlin.Int
// Static members
@kotlin.Deprecated(message = "Use 'values()' function instead", replaceWith = kotlin.ReplaceWith(expression = "this.values()", imports = {})) public final /*synthesized*/ val values: kotlin.Array<test.EnumWithPrimitiveConstructorParameter>
@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.EnumWithPrimitiveConstructorParameter>
public final fun <get-values>(): kotlin.Array<test.EnumWithPrimitiveConstructorParameter>
public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): test.EnumWithPrimitiveConstructorParameter
public final /*synthesized*/ fun values(): kotlin.Array<test.EnumWithPrimitiveConstructorParameter>