diff --git a/compiler/testData/builtin-classes.txt b/compiler/testData/builtin-classes.txt index 20e11c4581a..f17d20445cd 100644 --- a/compiler/testData/builtin-classes.txt +++ b/compiler/testData/builtin-classes.txt @@ -49,7 +49,7 @@ public abstract class BooleanIterator : kotlin.Iterator { public final class Byte : kotlin.Number, kotlin.Comparable { /*primary*/ private constructor Byte() public open override /*1*/ fun compareTo(/*0*/ other: kotlin.Byte): kotlin.Int - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun compareTo(/*0*/ other: kotlin.Char): kotlin.Int + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun compareTo(/*0*/ other: kotlin.Char): kotlin.Int public final fun compareTo(/*0*/ other: kotlin.Double): kotlin.Int public final fun compareTo(/*0*/ other: kotlin.Float): kotlin.Int public final fun compareTo(/*0*/ other: kotlin.Int): kotlin.Int @@ -57,7 +57,7 @@ public final class Byte : kotlin.Number, kotlin.Comparable { public final fun compareTo(/*0*/ other: kotlin.Short): kotlin.Int public final fun dec(): kotlin.Byte public final fun div(/*0*/ other: kotlin.Byte): kotlin.Int - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun div(/*0*/ other: kotlin.Char): kotlin.Int + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun div(/*0*/ other: kotlin.Char): kotlin.Int public final fun div(/*0*/ other: kotlin.Double): kotlin.Double public final fun div(/*0*/ other: kotlin.Float): kotlin.Float public final fun div(/*0*/ other: kotlin.Int): kotlin.Int @@ -66,14 +66,14 @@ public final class Byte : kotlin.Number, kotlin.Comparable { public final fun inc(): kotlin.Byte public final fun minus(): kotlin.Int public final fun minus(/*0*/ other: kotlin.Byte): kotlin.Int - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun minus(/*0*/ other: kotlin.Char): kotlin.Int + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun minus(/*0*/ other: kotlin.Char): kotlin.Int public final fun minus(/*0*/ other: kotlin.Double): kotlin.Double public final fun minus(/*0*/ other: kotlin.Float): kotlin.Float public final fun minus(/*0*/ other: kotlin.Int): kotlin.Int public final fun minus(/*0*/ other: kotlin.Long): kotlin.Long public final fun minus(/*0*/ other: kotlin.Short): kotlin.Int public final fun mod(/*0*/ other: kotlin.Byte): kotlin.Int - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun mod(/*0*/ other: kotlin.Char): kotlin.Int + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun mod(/*0*/ other: kotlin.Char): kotlin.Int public final fun mod(/*0*/ other: kotlin.Double): kotlin.Double public final fun mod(/*0*/ other: kotlin.Float): kotlin.Float public final fun mod(/*0*/ other: kotlin.Int): kotlin.Int @@ -81,21 +81,21 @@ public final class Byte : kotlin.Number, kotlin.Comparable { public final fun mod(/*0*/ other: kotlin.Short): kotlin.Int public final fun plus(): kotlin.Int public final fun plus(/*0*/ other: kotlin.Byte): kotlin.Int - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun plus(/*0*/ other: kotlin.Char): kotlin.Int + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun plus(/*0*/ other: kotlin.Char): kotlin.Int public final fun plus(/*0*/ other: kotlin.Double): kotlin.Double public final fun plus(/*0*/ other: kotlin.Float): kotlin.Float public final fun plus(/*0*/ other: kotlin.Int): kotlin.Int public final fun plus(/*0*/ other: kotlin.Long): kotlin.Long public final fun plus(/*0*/ other: kotlin.Short): kotlin.Int public final fun rangeTo(/*0*/ other: kotlin.Byte): kotlin.ByteRange - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun rangeTo(/*0*/ other: kotlin.Char): kotlin.CharRange + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun rangeTo(/*0*/ other: kotlin.Char): kotlin.CharRange public final fun rangeTo(/*0*/ other: kotlin.Double): kotlin.DoubleRange public final fun rangeTo(/*0*/ other: kotlin.Float): kotlin.FloatRange public final fun rangeTo(/*0*/ other: kotlin.Int): kotlin.IntRange public final fun rangeTo(/*0*/ other: kotlin.Long): kotlin.LongRange public final fun rangeTo(/*0*/ other: kotlin.Short): kotlin.ShortRange public final fun times(/*0*/ other: kotlin.Byte): kotlin.Int - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun times(/*0*/ other: kotlin.Char): kotlin.Int + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun times(/*0*/ other: kotlin.Char): kotlin.Int public final fun times(/*0*/ other: kotlin.Double): kotlin.Double public final fun times(/*0*/ other: kotlin.Float): kotlin.Float public final fun times(/*0*/ other: kotlin.Int): kotlin.Int @@ -184,49 +184,49 @@ public final class ByteRange : kotlin.Range, kotlin.Progression { /*primary*/ private constructor Char() - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int or other operand to Char.": kotlin.String) public final fun compareTo(/*0*/ other: kotlin.Byte): kotlin.Int + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int or other operand to Char.") public final fun compareTo(/*0*/ other: kotlin.Byte): kotlin.Int public open override /*1*/ fun compareTo(/*0*/ other: kotlin.Char): kotlin.Int - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun compareTo(/*0*/ other: kotlin.Double): kotlin.Int - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun compareTo(/*0*/ other: kotlin.Float): kotlin.Int - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int or other operand to Char.": kotlin.String) public final fun compareTo(/*0*/ other: kotlin.Int): kotlin.Int - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int or other operand to Char.": kotlin.String) public final fun compareTo(/*0*/ other: kotlin.Long): kotlin.Int - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int or other operand to Char.": kotlin.String) public final fun compareTo(/*0*/ other: kotlin.Short): kotlin.Int + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun compareTo(/*0*/ other: kotlin.Double): kotlin.Int + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun compareTo(/*0*/ other: kotlin.Float): kotlin.Int + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int or other operand to Char.") public final fun compareTo(/*0*/ other: kotlin.Int): kotlin.Int + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int or other operand to Char.") public final fun compareTo(/*0*/ other: kotlin.Long): kotlin.Int + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int or other operand to Char.") public final fun compareTo(/*0*/ other: kotlin.Short): kotlin.Int public final fun dec(): kotlin.Char - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun div(/*0*/ other: kotlin.Byte): kotlin.Int - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun div(/*0*/ other: kotlin.Double): kotlin.Double - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun div(/*0*/ other: kotlin.Float): kotlin.Float - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun div(/*0*/ other: kotlin.Int): kotlin.Int - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun div(/*0*/ other: kotlin.Long): kotlin.Long - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun div(/*0*/ other: kotlin.Short): kotlin.Int + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun div(/*0*/ other: kotlin.Byte): kotlin.Int + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun div(/*0*/ other: kotlin.Double): kotlin.Double + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun div(/*0*/ other: kotlin.Float): kotlin.Float + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun div(/*0*/ other: kotlin.Int): kotlin.Int + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun div(/*0*/ other: kotlin.Long): kotlin.Long + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun div(/*0*/ other: kotlin.Short): kotlin.Int public final fun inc(): kotlin.Char - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun minus(): kotlin.Int - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun minus(/*0*/ other: kotlin.Byte): kotlin.Int + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun minus(): kotlin.Int + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun minus(/*0*/ other: kotlin.Byte): kotlin.Int public final fun minus(/*0*/ other: kotlin.Char): kotlin.Int - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun minus(/*0*/ other: kotlin.Double): kotlin.Double - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun minus(/*0*/ other: kotlin.Float): kotlin.Float - kotlin.deprecated(value = "This operation will change return type to Char in M13. Either call toInt or toChar on return value or convert Char operand to Int.": kotlin.String) public final fun minus(/*0*/ other: kotlin.Int): kotlin.Int - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun minus(/*0*/ other: kotlin.Long): kotlin.Long - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun minus(/*0*/ other: kotlin.Short): kotlin.Int - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun mod(/*0*/ other: kotlin.Byte): kotlin.Int - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun mod(/*0*/ other: kotlin.Double): kotlin.Double - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun mod(/*0*/ other: kotlin.Float): kotlin.Float - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun mod(/*0*/ other: kotlin.Int): kotlin.Int - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun mod(/*0*/ other: kotlin.Long): kotlin.Long - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun mod(/*0*/ other: kotlin.Short): kotlin.Int - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun plus(): kotlin.Int - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun plus(/*0*/ other: kotlin.Byte): kotlin.Int - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun plus(/*0*/ other: kotlin.Double): kotlin.Double - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun plus(/*0*/ other: kotlin.Float): kotlin.Float - kotlin.deprecated(value = "This operation will change return type to Char in M13. Either call toInt or toChar on return value or convert Char operand to Int.": kotlin.String) public final fun plus(/*0*/ other: kotlin.Int): kotlin.Int - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun plus(/*0*/ other: kotlin.Long): kotlin.Long - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun plus(/*0*/ other: kotlin.Short): kotlin.Int + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun minus(/*0*/ other: kotlin.Double): kotlin.Double + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun minus(/*0*/ other: kotlin.Float): kotlin.Float + kotlin.deprecated(value = "This operation will change return type to Char in M13. Either call toInt or toChar on return value or convert Char operand to Int.") public final fun minus(/*0*/ other: kotlin.Int): kotlin.Int + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun minus(/*0*/ other: kotlin.Long): kotlin.Long + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun minus(/*0*/ other: kotlin.Short): kotlin.Int + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun mod(/*0*/ other: kotlin.Byte): kotlin.Int + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun mod(/*0*/ other: kotlin.Double): kotlin.Double + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun mod(/*0*/ other: kotlin.Float): kotlin.Float + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun mod(/*0*/ other: kotlin.Int): kotlin.Int + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun mod(/*0*/ other: kotlin.Long): kotlin.Long + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun mod(/*0*/ other: kotlin.Short): kotlin.Int + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun plus(): kotlin.Int + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun plus(/*0*/ other: kotlin.Byte): kotlin.Int + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun plus(/*0*/ other: kotlin.Double): kotlin.Double + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun plus(/*0*/ other: kotlin.Float): kotlin.Float + kotlin.deprecated(value = "This operation will change return type to Char in M13. Either call toInt or toChar on return value or convert Char operand to Int.") public final fun plus(/*0*/ other: kotlin.Int): kotlin.Int + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun plus(/*0*/ other: kotlin.Long): kotlin.Long + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun plus(/*0*/ other: kotlin.Short): kotlin.Int public final fun rangeTo(/*0*/ other: kotlin.Char): kotlin.CharRange - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun times(/*0*/ other: kotlin.Byte): kotlin.Int - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun times(/*0*/ other: kotlin.Double): kotlin.Double - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun times(/*0*/ other: kotlin.Float): kotlin.Float - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun times(/*0*/ other: kotlin.Int): kotlin.Int - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun times(/*0*/ other: kotlin.Long): kotlin.Long - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun times(/*0*/ other: kotlin.Short): kotlin.Int + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun times(/*0*/ other: kotlin.Byte): kotlin.Int + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun times(/*0*/ other: kotlin.Double): kotlin.Double + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun times(/*0*/ other: kotlin.Float): kotlin.Float + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun times(/*0*/ other: kotlin.Int): kotlin.Int + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun times(/*0*/ other: kotlin.Long): kotlin.Long + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun times(/*0*/ other: kotlin.Short): kotlin.Int public open fun toByte(): kotlin.Byte public open fun toChar(): kotlin.Char public open fun toDouble(): kotlin.Double @@ -329,7 +329,7 @@ public interface Comparable { public final class Double : kotlin.Number, kotlin.Comparable { /*primary*/ private constructor Double() public final fun compareTo(/*0*/ other: kotlin.Byte): kotlin.Int - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun compareTo(/*0*/ other: kotlin.Char): kotlin.Int + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun compareTo(/*0*/ other: kotlin.Char): kotlin.Int public open override /*1*/ fun compareTo(/*0*/ other: kotlin.Double): kotlin.Int public final fun compareTo(/*0*/ other: kotlin.Float): kotlin.Int public final fun compareTo(/*0*/ other: kotlin.Int): kotlin.Int @@ -337,7 +337,7 @@ public final class Double : kotlin.Number, kotlin.Comparable { public final fun compareTo(/*0*/ other: kotlin.Short): kotlin.Int public final fun dec(): kotlin.Double public final fun div(/*0*/ other: kotlin.Byte): kotlin.Double - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun div(/*0*/ other: kotlin.Char): kotlin.Double + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun div(/*0*/ other: kotlin.Char): kotlin.Double public final fun div(/*0*/ other: kotlin.Double): kotlin.Double public final fun div(/*0*/ other: kotlin.Float): kotlin.Double public final fun div(/*0*/ other: kotlin.Int): kotlin.Double @@ -346,14 +346,14 @@ public final class Double : kotlin.Number, kotlin.Comparable { public final fun inc(): kotlin.Double public final fun minus(): kotlin.Double public final fun minus(/*0*/ other: kotlin.Byte): kotlin.Double - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun minus(/*0*/ other: kotlin.Char): kotlin.Double + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun minus(/*0*/ other: kotlin.Char): kotlin.Double public final fun minus(/*0*/ other: kotlin.Double): kotlin.Double public final fun minus(/*0*/ other: kotlin.Float): kotlin.Double public final fun minus(/*0*/ other: kotlin.Int): kotlin.Double public final fun minus(/*0*/ other: kotlin.Long): kotlin.Double public final fun minus(/*0*/ other: kotlin.Short): kotlin.Double public final fun mod(/*0*/ other: kotlin.Byte): kotlin.Double - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun mod(/*0*/ other: kotlin.Char): kotlin.Double + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun mod(/*0*/ other: kotlin.Char): kotlin.Double public final fun mod(/*0*/ other: kotlin.Double): kotlin.Double public final fun mod(/*0*/ other: kotlin.Float): kotlin.Double public final fun mod(/*0*/ other: kotlin.Int): kotlin.Double @@ -361,21 +361,21 @@ public final class Double : kotlin.Number, kotlin.Comparable { public final fun mod(/*0*/ other: kotlin.Short): kotlin.Double public final fun plus(): kotlin.Double public final fun plus(/*0*/ other: kotlin.Byte): kotlin.Double - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun plus(/*0*/ other: kotlin.Char): kotlin.Double + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun plus(/*0*/ other: kotlin.Char): kotlin.Double public final fun plus(/*0*/ other: kotlin.Double): kotlin.Double public final fun plus(/*0*/ other: kotlin.Float): kotlin.Double public final fun plus(/*0*/ other: kotlin.Int): kotlin.Double public final fun plus(/*0*/ other: kotlin.Long): kotlin.Double public final fun plus(/*0*/ other: kotlin.Short): kotlin.Double public final fun rangeTo(/*0*/ other: kotlin.Byte): kotlin.DoubleRange - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun rangeTo(/*0*/ other: kotlin.Char): kotlin.DoubleRange + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun rangeTo(/*0*/ other: kotlin.Char): kotlin.DoubleRange public final fun rangeTo(/*0*/ other: kotlin.Double): kotlin.DoubleRange public final fun rangeTo(/*0*/ other: kotlin.Float): kotlin.DoubleRange public final fun rangeTo(/*0*/ other: kotlin.Int): kotlin.DoubleRange public final fun rangeTo(/*0*/ other: kotlin.Long): kotlin.DoubleRange public final fun rangeTo(/*0*/ other: kotlin.Short): kotlin.DoubleRange public final fun times(/*0*/ other: kotlin.Byte): kotlin.Double - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun times(/*0*/ other: kotlin.Char): kotlin.Double + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun times(/*0*/ other: kotlin.Char): kotlin.Double public final fun times(/*0*/ other: kotlin.Double): kotlin.Double public final fun times(/*0*/ other: kotlin.Float): kotlin.Double public final fun times(/*0*/ other: kotlin.Int): kotlin.Double @@ -479,7 +479,7 @@ public abstract class Enum> : kotlin.Comparable { public final class Float : kotlin.Number, kotlin.Comparable { /*primary*/ private constructor Float() public final fun compareTo(/*0*/ other: kotlin.Byte): kotlin.Int - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun compareTo(/*0*/ other: kotlin.Char): kotlin.Int + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun compareTo(/*0*/ other: kotlin.Char): kotlin.Int public final fun compareTo(/*0*/ other: kotlin.Double): kotlin.Int public open override /*1*/ fun compareTo(/*0*/ other: kotlin.Float): kotlin.Int public final fun compareTo(/*0*/ other: kotlin.Int): kotlin.Int @@ -487,7 +487,7 @@ public final class Float : kotlin.Number, kotlin.Comparable { public final fun compareTo(/*0*/ other: kotlin.Short): kotlin.Int public final fun dec(): kotlin.Float public final fun div(/*0*/ other: kotlin.Byte): kotlin.Float - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun div(/*0*/ other: kotlin.Char): kotlin.Float + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun div(/*0*/ other: kotlin.Char): kotlin.Float public final fun div(/*0*/ other: kotlin.Double): kotlin.Double public final fun div(/*0*/ other: kotlin.Float): kotlin.Float public final fun div(/*0*/ other: kotlin.Int): kotlin.Float @@ -496,14 +496,14 @@ public final class Float : kotlin.Number, kotlin.Comparable { public final fun inc(): kotlin.Float public final fun minus(): kotlin.Float public final fun minus(/*0*/ other: kotlin.Byte): kotlin.Float - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun minus(/*0*/ other: kotlin.Char): kotlin.Float + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun minus(/*0*/ other: kotlin.Char): kotlin.Float public final fun minus(/*0*/ other: kotlin.Double): kotlin.Double public final fun minus(/*0*/ other: kotlin.Float): kotlin.Float public final fun minus(/*0*/ other: kotlin.Int): kotlin.Float public final fun minus(/*0*/ other: kotlin.Long): kotlin.Float public final fun minus(/*0*/ other: kotlin.Short): kotlin.Float public final fun mod(/*0*/ other: kotlin.Byte): kotlin.Float - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun mod(/*0*/ other: kotlin.Char): kotlin.Float + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun mod(/*0*/ other: kotlin.Char): kotlin.Float public final fun mod(/*0*/ other: kotlin.Double): kotlin.Double public final fun mod(/*0*/ other: kotlin.Float): kotlin.Float public final fun mod(/*0*/ other: kotlin.Int): kotlin.Float @@ -511,21 +511,21 @@ public final class Float : kotlin.Number, kotlin.Comparable { public final fun mod(/*0*/ other: kotlin.Short): kotlin.Float public final fun plus(): kotlin.Float public final fun plus(/*0*/ other: kotlin.Byte): kotlin.Float - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun plus(/*0*/ other: kotlin.Char): kotlin.Float + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun plus(/*0*/ other: kotlin.Char): kotlin.Float public final fun plus(/*0*/ other: kotlin.Double): kotlin.Double public final fun plus(/*0*/ other: kotlin.Float): kotlin.Float public final fun plus(/*0*/ other: kotlin.Int): kotlin.Float public final fun plus(/*0*/ other: kotlin.Long): kotlin.Float public final fun plus(/*0*/ other: kotlin.Short): kotlin.Float public final fun rangeTo(/*0*/ other: kotlin.Byte): kotlin.FloatRange - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun rangeTo(/*0*/ other: kotlin.Char): kotlin.FloatRange + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun rangeTo(/*0*/ other: kotlin.Char): kotlin.FloatRange public final fun rangeTo(/*0*/ other: kotlin.Double): kotlin.DoubleRange public final fun rangeTo(/*0*/ other: kotlin.Float): kotlin.FloatRange public final fun rangeTo(/*0*/ other: kotlin.Int): kotlin.FloatRange public final fun rangeTo(/*0*/ other: kotlin.Long): kotlin.FloatRange public final fun rangeTo(/*0*/ other: kotlin.Short): kotlin.FloatRange public final fun times(/*0*/ other: kotlin.Byte): kotlin.Float - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun times(/*0*/ other: kotlin.Char): kotlin.Float + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun times(/*0*/ other: kotlin.Char): kotlin.Float public final fun times(/*0*/ other: kotlin.Double): kotlin.Double public final fun times(/*0*/ other: kotlin.Float): kotlin.Float public final fun times(/*0*/ other: kotlin.Int): kotlin.Float @@ -685,7 +685,7 @@ public final class Int : kotlin.Number, kotlin.Comparable { /*primary*/ private constructor Int() public final fun and(/*0*/ other: kotlin.Int): kotlin.Int public final fun compareTo(/*0*/ other: kotlin.Byte): kotlin.Int - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun compareTo(/*0*/ other: kotlin.Char): kotlin.Int + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun compareTo(/*0*/ other: kotlin.Char): kotlin.Int public final fun compareTo(/*0*/ other: kotlin.Double): kotlin.Int public final fun compareTo(/*0*/ other: kotlin.Float): kotlin.Int public open override /*1*/ fun compareTo(/*0*/ other: kotlin.Int): kotlin.Int @@ -693,7 +693,7 @@ public final class Int : kotlin.Number, kotlin.Comparable { public final fun compareTo(/*0*/ other: kotlin.Short): kotlin.Int public final fun dec(): kotlin.Int public final fun div(/*0*/ other: kotlin.Byte): kotlin.Int - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun div(/*0*/ other: kotlin.Char): kotlin.Int + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun div(/*0*/ other: kotlin.Char): kotlin.Int public final fun div(/*0*/ other: kotlin.Double): kotlin.Double public final fun div(/*0*/ other: kotlin.Float): kotlin.Float public final fun div(/*0*/ other: kotlin.Int): kotlin.Int @@ -703,14 +703,14 @@ public final class Int : kotlin.Number, kotlin.Comparable { public final fun inv(): kotlin.Int public final fun minus(): kotlin.Int public final fun minus(/*0*/ other: kotlin.Byte): kotlin.Int - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun minus(/*0*/ other: kotlin.Char): kotlin.Int + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun minus(/*0*/ other: kotlin.Char): kotlin.Int public final fun minus(/*0*/ other: kotlin.Double): kotlin.Double public final fun minus(/*0*/ other: kotlin.Float): kotlin.Float public final fun minus(/*0*/ other: kotlin.Int): kotlin.Int public final fun minus(/*0*/ other: kotlin.Long): kotlin.Long public final fun minus(/*0*/ other: kotlin.Short): kotlin.Int public final fun mod(/*0*/ other: kotlin.Byte): kotlin.Int - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun mod(/*0*/ other: kotlin.Char): kotlin.Int + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun mod(/*0*/ other: kotlin.Char): kotlin.Int public final fun mod(/*0*/ other: kotlin.Double): kotlin.Double public final fun mod(/*0*/ other: kotlin.Float): kotlin.Float public final fun mod(/*0*/ other: kotlin.Int): kotlin.Int @@ -719,14 +719,14 @@ public final class Int : kotlin.Number, kotlin.Comparable { public final fun or(/*0*/ other: kotlin.Int): kotlin.Int public final fun plus(): kotlin.Int public final fun plus(/*0*/ other: kotlin.Byte): kotlin.Int - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun plus(/*0*/ other: kotlin.Char): kotlin.Int + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun plus(/*0*/ other: kotlin.Char): kotlin.Int public final fun plus(/*0*/ other: kotlin.Double): kotlin.Double public final fun plus(/*0*/ other: kotlin.Float): kotlin.Float public final fun plus(/*0*/ other: kotlin.Int): kotlin.Int public final fun plus(/*0*/ other: kotlin.Long): kotlin.Long public final fun plus(/*0*/ other: kotlin.Short): kotlin.Int public final fun rangeTo(/*0*/ other: kotlin.Byte): kotlin.IntRange - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun rangeTo(/*0*/ other: kotlin.Char): kotlin.IntRange + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun rangeTo(/*0*/ other: kotlin.Char): kotlin.IntRange public final fun rangeTo(/*0*/ other: kotlin.Double): kotlin.DoubleRange public final fun rangeTo(/*0*/ other: kotlin.Float): kotlin.FloatRange public final fun rangeTo(/*0*/ other: kotlin.Int): kotlin.IntRange @@ -735,7 +735,7 @@ public final class Int : kotlin.Number, kotlin.Comparable { public final fun shl(/*0*/ bits: kotlin.Int): kotlin.Int public final fun shr(/*0*/ bits: kotlin.Int): kotlin.Int public final fun times(/*0*/ other: kotlin.Byte): kotlin.Int - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun times(/*0*/ other: kotlin.Char): kotlin.Int + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun times(/*0*/ other: kotlin.Char): kotlin.Int public final fun times(/*0*/ other: kotlin.Double): kotlin.Double public final fun times(/*0*/ other: kotlin.Float): kotlin.Float public final fun times(/*0*/ other: kotlin.Int): kotlin.Int @@ -867,7 +867,7 @@ public final class Long : kotlin.Number, kotlin.Comparable { /*primary*/ private constructor Long() public final fun and(/*0*/ other: kotlin.Long): kotlin.Long public final fun compareTo(/*0*/ other: kotlin.Byte): kotlin.Int - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun compareTo(/*0*/ other: kotlin.Char): kotlin.Int + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun compareTo(/*0*/ other: kotlin.Char): kotlin.Int public final fun compareTo(/*0*/ other: kotlin.Double): kotlin.Int public final fun compareTo(/*0*/ other: kotlin.Float): kotlin.Int public final fun compareTo(/*0*/ other: kotlin.Int): kotlin.Int @@ -875,7 +875,7 @@ public final class Long : kotlin.Number, kotlin.Comparable { public final fun compareTo(/*0*/ other: kotlin.Short): kotlin.Int public final fun dec(): kotlin.Long public final fun div(/*0*/ other: kotlin.Byte): kotlin.Long - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun div(/*0*/ other: kotlin.Char): kotlin.Long + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun div(/*0*/ other: kotlin.Char): kotlin.Long public final fun div(/*0*/ other: kotlin.Double): kotlin.Double public final fun div(/*0*/ other: kotlin.Float): kotlin.Float public final fun div(/*0*/ other: kotlin.Int): kotlin.Long @@ -885,14 +885,14 @@ public final class Long : kotlin.Number, kotlin.Comparable { public final fun inv(): kotlin.Long public final fun minus(): kotlin.Long public final fun minus(/*0*/ other: kotlin.Byte): kotlin.Long - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun minus(/*0*/ other: kotlin.Char): kotlin.Long + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun minus(/*0*/ other: kotlin.Char): kotlin.Long public final fun minus(/*0*/ other: kotlin.Double): kotlin.Double public final fun minus(/*0*/ other: kotlin.Float): kotlin.Float public final fun minus(/*0*/ other: kotlin.Int): kotlin.Long public final fun minus(/*0*/ other: kotlin.Long): kotlin.Long public final fun minus(/*0*/ other: kotlin.Short): kotlin.Long public final fun mod(/*0*/ other: kotlin.Byte): kotlin.Long - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun mod(/*0*/ other: kotlin.Char): kotlin.Long + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun mod(/*0*/ other: kotlin.Char): kotlin.Long public final fun mod(/*0*/ other: kotlin.Double): kotlin.Double public final fun mod(/*0*/ other: kotlin.Float): kotlin.Float public final fun mod(/*0*/ other: kotlin.Int): kotlin.Long @@ -901,14 +901,14 @@ public final class Long : kotlin.Number, kotlin.Comparable { public final fun or(/*0*/ other: kotlin.Long): kotlin.Long public final fun plus(): kotlin.Long public final fun plus(/*0*/ other: kotlin.Byte): kotlin.Long - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun plus(/*0*/ other: kotlin.Char): kotlin.Long + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun plus(/*0*/ other: kotlin.Char): kotlin.Long public final fun plus(/*0*/ other: kotlin.Double): kotlin.Double public final fun plus(/*0*/ other: kotlin.Float): kotlin.Float public final fun plus(/*0*/ other: kotlin.Int): kotlin.Long public final fun plus(/*0*/ other: kotlin.Long): kotlin.Long public final fun plus(/*0*/ other: kotlin.Short): kotlin.Long public final fun rangeTo(/*0*/ other: kotlin.Byte): kotlin.LongRange - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun rangeTo(/*0*/ other: kotlin.Char): kotlin.LongRange + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun rangeTo(/*0*/ other: kotlin.Char): kotlin.LongRange public final fun rangeTo(/*0*/ other: kotlin.Double): kotlin.DoubleRange public final fun rangeTo(/*0*/ other: kotlin.Float): kotlin.FloatRange public final fun rangeTo(/*0*/ other: kotlin.Int): kotlin.LongRange @@ -917,7 +917,7 @@ public final class Long : kotlin.Number, kotlin.Comparable { public final fun shl(/*0*/ bits: kotlin.Int): kotlin.Long public final fun shr(/*0*/ bits: kotlin.Int): kotlin.Long public final fun times(/*0*/ other: kotlin.Byte): kotlin.Long - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun times(/*0*/ other: kotlin.Char): kotlin.Long + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun times(/*0*/ other: kotlin.Char): kotlin.Long public final fun times(/*0*/ other: kotlin.Double): kotlin.Double public final fun times(/*0*/ other: kotlin.Float): kotlin.Float public final fun times(/*0*/ other: kotlin.Int): kotlin.Long @@ -1181,7 +1181,7 @@ public interface Set : kotlin.Collection { public final class Short : kotlin.Number, kotlin.Comparable { /*primary*/ private constructor Short() public final fun compareTo(/*0*/ other: kotlin.Byte): kotlin.Int - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun compareTo(/*0*/ other: kotlin.Char): kotlin.Int + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun compareTo(/*0*/ other: kotlin.Char): kotlin.Int public final fun compareTo(/*0*/ other: kotlin.Double): kotlin.Int public final fun compareTo(/*0*/ other: kotlin.Float): kotlin.Int public final fun compareTo(/*0*/ other: kotlin.Int): kotlin.Int @@ -1189,7 +1189,7 @@ public final class Short : kotlin.Number, kotlin.Comparable { public open override /*1*/ fun compareTo(/*0*/ other: kotlin.Short): kotlin.Int public final fun dec(): kotlin.Short public final fun div(/*0*/ other: kotlin.Byte): kotlin.Int - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun div(/*0*/ other: kotlin.Char): kotlin.Int + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun div(/*0*/ other: kotlin.Char): kotlin.Int public final fun div(/*0*/ other: kotlin.Double): kotlin.Double public final fun div(/*0*/ other: kotlin.Float): kotlin.Float public final fun div(/*0*/ other: kotlin.Int): kotlin.Int @@ -1198,14 +1198,14 @@ public final class Short : kotlin.Number, kotlin.Comparable { public final fun inc(): kotlin.Short public final fun minus(): kotlin.Int public final fun minus(/*0*/ other: kotlin.Byte): kotlin.Int - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun minus(/*0*/ other: kotlin.Char): kotlin.Int + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun minus(/*0*/ other: kotlin.Char): kotlin.Int public final fun minus(/*0*/ other: kotlin.Double): kotlin.Double public final fun minus(/*0*/ other: kotlin.Float): kotlin.Float public final fun minus(/*0*/ other: kotlin.Int): kotlin.Int public final fun minus(/*0*/ other: kotlin.Long): kotlin.Long public final fun minus(/*0*/ other: kotlin.Short): kotlin.Int public final fun mod(/*0*/ other: kotlin.Byte): kotlin.Int - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun mod(/*0*/ other: kotlin.Char): kotlin.Int + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun mod(/*0*/ other: kotlin.Char): kotlin.Int public final fun mod(/*0*/ other: kotlin.Double): kotlin.Double public final fun mod(/*0*/ other: kotlin.Float): kotlin.Float public final fun mod(/*0*/ other: kotlin.Int): kotlin.Int @@ -1213,21 +1213,21 @@ public final class Short : kotlin.Number, kotlin.Comparable { public final fun mod(/*0*/ other: kotlin.Short): kotlin.Int public final fun plus(): kotlin.Int public final fun plus(/*0*/ other: kotlin.Byte): kotlin.Int - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun plus(/*0*/ other: kotlin.Char): kotlin.Int + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun plus(/*0*/ other: kotlin.Char): kotlin.Int public final fun plus(/*0*/ other: kotlin.Double): kotlin.Double public final fun plus(/*0*/ other: kotlin.Float): kotlin.Float public final fun plus(/*0*/ other: kotlin.Int): kotlin.Int public final fun plus(/*0*/ other: kotlin.Long): kotlin.Long public final fun plus(/*0*/ other: kotlin.Short): kotlin.Int public final fun rangeTo(/*0*/ other: kotlin.Byte): kotlin.ShortRange - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun rangeTo(/*0*/ other: kotlin.Char): kotlin.ShortRange + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun rangeTo(/*0*/ other: kotlin.Char): kotlin.ShortRange public final fun rangeTo(/*0*/ other: kotlin.Double): kotlin.DoubleRange public final fun rangeTo(/*0*/ other: kotlin.Float): kotlin.FloatRange public final fun rangeTo(/*0*/ other: kotlin.Int): kotlin.IntRange public final fun rangeTo(/*0*/ other: kotlin.Long): kotlin.LongRange public final fun rangeTo(/*0*/ other: kotlin.Short): kotlin.ShortRange public final fun times(/*0*/ other: kotlin.Byte): kotlin.Int - kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.": kotlin.String) public final fun times(/*0*/ other: kotlin.Char): kotlin.Int + kotlin.deprecated(value = "This operation doesn't make sense and shall be removed in M13. Consider converting Char operand to Int.") public final fun times(/*0*/ other: kotlin.Char): kotlin.Int public final fun times(/*0*/ other: kotlin.Double): kotlin.Double public final fun times(/*0*/ other: kotlin.Float): kotlin.Float public final fun times(/*0*/ other: kotlin.Int): kotlin.Int diff --git a/compiler/testData/compileJavaAgainstKotlin/class/kt4050.txt b/compiler/testData/compileJavaAgainstKotlin/class/kt4050.txt index 04bbc9b07a9..14243a9f5c5 100644 --- a/compiler/testData/compileJavaAgainstKotlin/class/kt4050.txt +++ b/compiler/testData/compileJavaAgainstKotlin/class/kt4050.txt @@ -3,15 +3,15 @@ package test internal final enum class MyEnum : kotlin.Enum { public enum entry ENTRY : test.MyEnum { private constructor ENTRY() - kotlin.deprecated(value = "": kotlin.String) internal final /*fake_override*/ val ord: kotlin.Int + kotlin.deprecated(value = "") internal final /*fake_override*/ val ord: kotlin.Int public final /*fake_override*/ fun compareTo(/*0*/ test.MyEnum): kotlin.Int internal final /*fake_override*/ fun f(/*0*/ java.lang.Deprecated() kotlin.Int): kotlin.Unit public final /*fake_override*/ fun name(): kotlin.String public final /*fake_override*/ fun ordinal(): kotlin.Int } - private constructor MyEnum(/*0*/ kotlin.deprecated(value = "": kotlin.String) kotlin.Int) - kotlin.deprecated(value = "": kotlin.String) internal final val ord: kotlin.Int + private constructor MyEnum(/*0*/ kotlin.deprecated(value = "") kotlin.Int) + kotlin.deprecated(value = "") internal final val ord: kotlin.Int public final /*fake_override*/ fun compareTo(/*0*/ test.MyEnum): kotlin.Int internal final fun f(/*0*/ java.lang.Deprecated() kotlin.Int): kotlin.Unit public final /*fake_override*/ fun name(): kotlin.String diff --git a/compiler/testData/compileJavaAgainstKotlin/method/platformName/PlatformName.txt b/compiler/testData/compileJavaAgainstKotlin/method/platformName/PlatformName.txt index 107e66d6b58..4c6f9caa265 100644 --- a/compiler/testData/compileJavaAgainstKotlin/method/platformName/PlatformName.txt +++ b/compiler/testData/compileJavaAgainstKotlin/method/platformName/PlatformName.txt @@ -1,6 +1,6 @@ package test -kotlin.platform.platformName(name = "bar": kotlin.String) internal fun foo(): kotlin.Unit +kotlin.platform.platformName(name = "bar") internal fun foo(): kotlin.Unit public open class PlatformName { public constructor PlatformName() diff --git a/compiler/testData/compileJavaAgainstKotlin/staticFields/AnnotationClass.txt b/compiler/testData/compileJavaAgainstKotlin/staticFields/AnnotationClass.txt index ed0db132f94..04893348d74 100644 --- a/compiler/testData/compileJavaAgainstKotlin/staticFields/AnnotationClass.txt +++ b/compiler/testData/compileJavaAgainstKotlin/staticFields/AnnotationClass.txt @@ -35,7 +35,7 @@ internal final annotation class AString : kotlin.Annotation { internal final val value: kotlin.String } -test.AString(value = "Test": kotlin.String) test.AChar(value = \u0063 ('c'): kotlin.Char) test.AInt(value = 10: kotlin.Int) test.AByte(value = 11: kotlin.Int) test.ALong(value = 12.toLong(): kotlin.Long) test.ADouble(value = 1.2.toDouble(): kotlin.Double) test.AFloat(value = 1.3.toFloat(): kotlin.Float) public open class AnnotationClass { +test.AString(value = "Test") test.AChar(value = \u0063 ('c')) test.AInt(value = 10) test.AByte(value = 11) test.ALong(value = 12.toLong()) test.ADouble(value = 1.2.toDouble()) test.AFloat(value = 1.3.toFloat()) public open class AnnotationClass { public constructor AnnotationClass() } diff --git a/compiler/testData/compileJavaAgainstKotlin/staticFields/AnnotationTrait.txt b/compiler/testData/compileJavaAgainstKotlin/staticFields/AnnotationTrait.txt index db78eaa4332..98cd5456308 100644 --- a/compiler/testData/compileJavaAgainstKotlin/staticFields/AnnotationTrait.txt +++ b/compiler/testData/compileJavaAgainstKotlin/staticFields/AnnotationTrait.txt @@ -35,7 +35,7 @@ internal final annotation class AString : kotlin.Annotation { internal final val value: kotlin.String } -test.AString(value = "Test": kotlin.String) test.AChar(value = \u0063 ('c'): kotlin.Char) test.AInt(value = 10: kotlin.Int) test.AByte(value = 11: kotlin.Int) test.ALong(value = 12.toLong(): kotlin.Long) test.ADouble(value = 1.2.toDouble(): kotlin.Double) test.AFloat(value = 1.3.toFloat(): kotlin.Float) public open class AnnotationTrait { +test.AString(value = "Test") test.AChar(value = \u0063 ('c')) test.AInt(value = 10) test.AByte(value = 11) test.ALong(value = 12.toLong()) test.ADouble(value = 1.2.toDouble()) test.AFloat(value = 1.3.toFloat()) public open class AnnotationTrait { public constructor AnnotationTrait() } diff --git a/compiler/testData/compileJavaAgainstKotlin/staticFields/kt3698.txt b/compiler/testData/compileJavaAgainstKotlin/staticFields/kt3698.txt index ca63add545f..fe3d067c610 100644 --- a/compiler/testData/compileJavaAgainstKotlin/staticFields/kt3698.txt +++ b/compiler/testData/compileJavaAgainstKotlin/staticFields/kt3698.txt @@ -19,5 +19,5 @@ public open class kt3698 { } // Static members - test.kt3698.Foo(value = 10: kotlin.Int) public open fun main(/*0*/ kotlin.Array<(out) kotlin.String!>!): kotlin.Unit + test.kt3698.Foo(value = 10) public open fun main(/*0*/ kotlin.Array<(out) kotlin.String!>!): kotlin.Unit } diff --git a/compiler/testData/compileKotlinAgainstCustomBinaries/missingEnumReferencedInAnnotationArgument/missingEnumReferencedInAnnotationArgument.txt b/compiler/testData/compileKotlinAgainstCustomBinaries/missingEnumReferencedInAnnotationArgument/missingEnumReferencedInAnnotationArgument.txt index 638ea38d212..2647ef88568 100644 --- a/compiler/testData/compileKotlinAgainstCustomBinaries/missingEnumReferencedInAnnotationArgument/missingEnumReferencedInAnnotationArgument.txt +++ b/compiler/testData/compileKotlinAgainstCustomBinaries/missingEnumReferencedInAnnotationArgument/missingEnumReferencedInAnnotationArgument.txt @@ -5,7 +5,7 @@ internal final annotation class Anno : kotlin.Annotation { internal final val e: [ERROR : test.E] } -test.Anno(e = Unresolved enum entry: test/E.ENTRY: [ERROR : Unresolved enum entry: test/E.ENTRY]) internal open class Class { +test.Anno(e = Unresolved enum entry: test/E.ENTRY) internal open class Class { public constructor Class() } diff --git a/compiler/testData/diagnostics/tests/annotations/AnnotatedConstructorParams.txt b/compiler/testData/diagnostics/tests/annotations/AnnotatedConstructorParams.txt index b3c47576322..dfceac0b263 100644 --- a/compiler/testData/diagnostics/tests/annotations/AnnotatedConstructorParams.txt +++ b/compiler/testData/diagnostics/tests/annotations/AnnotatedConstructorParams.txt @@ -1,13 +1,13 @@ package package a { - java.lang.Deprecated() java.lang.SuppressWarnings(value = {}: kotlin.Array) internal val s: kotlin.String = "" - java.lang.Deprecated() java.lang.SuppressWarnings(value = {}: kotlin.Array) internal fun main(/*0*/ args: kotlin.Array): kotlin.Unit + java.lang.Deprecated() java.lang.SuppressWarnings(value = {}) internal val s: kotlin.String = "" + java.lang.Deprecated() java.lang.SuppressWarnings(value = {}) internal fun main(/*0*/ args: kotlin.Array): kotlin.Unit internal final class Test { - public constructor Test(/*0*/ java.lang.Deprecated() s: kotlin.String, /*1*/ java.lang.SuppressWarnings(value = {}: kotlin.Array) x: kotlin.Int) + public constructor Test(/*0*/ java.lang.Deprecated() s: kotlin.String, /*1*/ java.lang.SuppressWarnings(value = {}) x: kotlin.Int) java.lang.Deprecated() internal final val s: kotlin.String - java.lang.SuppressWarnings(value = {}: kotlin.Array) internal final val x: kotlin.Int + java.lang.SuppressWarnings(value = {}) internal final val x: kotlin.Int public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String diff --git a/compiler/testData/diagnostics/tests/annotations/AnnotatedResultType.txt b/compiler/testData/diagnostics/tests/annotations/AnnotatedResultType.txt index 0244fba8478..bf4e310fa60 100644 --- a/compiler/testData/diagnostics/tests/annotations/AnnotatedResultType.txt +++ b/compiler/testData/diagnostics/tests/annotations/AnnotatedResultType.txt @@ -1,6 +1,6 @@ package -internal fun foo(): @[My(x = IntegerValueType(42): IntegerValueType(42))] kotlin.Int +internal fun foo(): @[My(x = IntegerValueType(42))] kotlin.Int internal final annotation class My : kotlin.Annotation { public constructor My(/*0*/ x: kotlin.Int) diff --git a/compiler/testData/diagnostics/tests/annotations/AnnotationOnObject.txt b/compiler/testData/diagnostics/tests/annotations/AnnotationOnObject.txt index 58249aac2c9..8eebf0033a6 100644 --- a/compiler/testData/diagnostics/tests/annotations/AnnotationOnObject.txt +++ b/compiler/testData/diagnostics/tests/annotations/AnnotationOnObject.txt @@ -12,7 +12,7 @@ package test { public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } - test.A(a = IntegerValueType(12): IntegerValueType(12), c = "Hello": kotlin.String) internal object SomeObject { + test.A(a = IntegerValueType(12), c = "Hello") internal object SomeObject { private constructor SomeObject() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int diff --git a/compiler/testData/diagnostics/tests/annotations/BasicAnnotations.txt b/compiler/testData/diagnostics/tests/annotations/BasicAnnotations.txt index 1adddb77e80..ca8b44cb323 100644 --- a/compiler/testData/diagnostics/tests/annotations/BasicAnnotations.txt +++ b/compiler/testData/diagnostics/tests/annotations/BasicAnnotations.txt @@ -2,10 +2,10 @@ package my() internal fun foo(): kotlin.Unit my1() internal fun foo2(): kotlin.Unit -my1(i = IntegerValueType(2): IntegerValueType(2)) internal fun foo3(): kotlin.Unit +my1(i = IntegerValueType(2)) internal fun foo3(): kotlin.Unit my2() internal fun foo4(): kotlin.Unit my2() internal fun foo41(): kotlin.Unit -my2(i = IntegerValueType(2): IntegerValueType(2)) internal fun foo42(): kotlin.Unit +my2(i = IntegerValueType(2)) internal fun foo42(): kotlin.Unit internal final annotation class my : kotlin.Annotation { public constructor my() diff --git a/compiler/testData/diagnostics/tests/annotations/ConstructorCall.txt b/compiler/testData/diagnostics/tests/annotations/ConstructorCall.txt index ede09de1a52..0c2884b2794 100644 --- a/compiler/testData/diagnostics/tests/annotations/ConstructorCall.txt +++ b/compiler/testData/diagnostics/tests/annotations/ConstructorCall.txt @@ -1,7 +1,7 @@ package -Ann2(a = Ann1(a = IntegerValueType(1): IntegerValueType(1)): Ann1) internal val a: kotlin.Int = 1 -Ann2(a = Ann1(a = IntegerValueType(1): IntegerValueType(1)): Ann1) internal val c: kotlin.Int = 2 +Ann2(a = Ann1(a = IntegerValueType(1))) internal val a: kotlin.Int = 1 +Ann2(a = Ann1(a = IntegerValueType(1))) internal val c: kotlin.Int = 2 internal fun bar(/*0*/ a: Ann = ...): kotlin.Unit internal fun foo(): kotlin.Unit internal fun javaClass(): java.lang.Class @@ -46,7 +46,7 @@ internal final annotation class Ann4 : kotlin.Annotation { public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } -Ann4(value = "a": kotlin.String) internal final class MyClass { +Ann4(value = "a") internal final class MyClass { public constructor MyClass() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int diff --git a/compiler/testData/diagnostics/tests/annotations/JavaAnnotationConstructors.txt b/compiler/testData/diagnostics/tests/annotations/JavaAnnotationConstructors.txt index d89aa20b438..f5009eff58f 100644 --- a/compiler/testData/diagnostics/tests/annotations/JavaAnnotationConstructors.txt +++ b/compiler/testData/diagnostics/tests/annotations/JavaAnnotationConstructors.txt @@ -1,13 +1,13 @@ package -java.lang.annotation.Retention(value = RetentionPolicy.CLASS: java.lang.annotation.RetentionPolicy) internal final annotation class my : kotlin.Annotation { +java.lang.annotation.Retention(value = RetentionPolicy.CLASS) internal final annotation class my : kotlin.Annotation { public constructor my() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } -java.lang.annotation.Retention(value = RetentionPolicy.RUNTIME: java.lang.annotation.RetentionPolicy) java.lang.annotation.Target(value = {ElementType.ANNOTATION_TYPE, ElementType.CONSTRUCTOR}: kotlin.Array) internal final annotation class my1 : kotlin.Annotation { +java.lang.annotation.Retention(value = RetentionPolicy.RUNTIME) java.lang.annotation.Target(value = {ElementType.ANNOTATION_TYPE, ElementType.CONSTRUCTOR}) internal final annotation class my1 : kotlin.Annotation { public constructor my1() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int diff --git a/compiler/testData/diagnostics/tests/annotations/RecursivelyAnnotated.txt b/compiler/testData/diagnostics/tests/annotations/RecursivelyAnnotated.txt index b482ef5cd90..fb9a04575dc 100644 --- a/compiler/testData/diagnostics/tests/annotations/RecursivelyAnnotated.txt +++ b/compiler/testData/diagnostics/tests/annotations/RecursivelyAnnotated.txt @@ -1,6 +1,6 @@ package -RecursivelyAnnotated(x = IntegerValueType(1): IntegerValueType(1)) internal final annotation class RecursivelyAnnotated : kotlin.Annotation { +RecursivelyAnnotated(x = IntegerValueType(1)) internal final annotation class RecursivelyAnnotated : kotlin.Annotation { public constructor RecursivelyAnnotated(/*0*/ x: kotlin.Int) internal final val x: kotlin.Int public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean diff --git a/compiler/testData/diagnostics/tests/annotations/RecursivelyAnnotatedGlobalProperty.txt b/compiler/testData/diagnostics/tests/annotations/RecursivelyAnnotatedGlobalProperty.txt index 0f85b0f6783..f8efd97dd87 100644 --- a/compiler/testData/diagnostics/tests/annotations/RecursivelyAnnotatedGlobalProperty.txt +++ b/compiler/testData/diagnostics/tests/annotations/RecursivelyAnnotatedGlobalProperty.txt @@ -1,6 +1,6 @@ package -ann(x = 1: kotlin.Int) internal val x: kotlin.Int = 1 +ann(x = 1) internal val x: kotlin.Int = 1 internal final annotation class ann : kotlin.Annotation { public constructor ann(/*0*/ x: kotlin.Int) diff --git a/compiler/testData/diagnostics/tests/annotations/RecursivelyAnnotatedParameter.txt b/compiler/testData/diagnostics/tests/annotations/RecursivelyAnnotatedParameter.txt index 19007518ae4..f2ba95e7bb6 100644 --- a/compiler/testData/diagnostics/tests/annotations/RecursivelyAnnotatedParameter.txt +++ b/compiler/testData/diagnostics/tests/annotations/RecursivelyAnnotatedParameter.txt @@ -1,8 +1,8 @@ package internal final annotation class RecursivelyAnnotated : kotlin.Annotation { - public constructor RecursivelyAnnotated(/*0*/ RecursivelyAnnotated(x = IntegerValueType(1): IntegerValueType(1)) x: kotlin.Int) - RecursivelyAnnotated(x = IntegerValueType(1): IntegerValueType(1)) internal final val x: kotlin.Int + public constructor RecursivelyAnnotated(/*0*/ RecursivelyAnnotated(x = IntegerValueType(1)) x: kotlin.Int) + RecursivelyAnnotated(x = IntegerValueType(1)) internal final val x: kotlin.Int public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String diff --git a/compiler/testData/diagnostics/tests/annotations/RecursivelyAnnotatedParameterType.txt b/compiler/testData/diagnostics/tests/annotations/RecursivelyAnnotatedParameterType.txt index 44fdbbdefe4..65b104b7cec 100644 --- a/compiler/testData/diagnostics/tests/annotations/RecursivelyAnnotatedParameterType.txt +++ b/compiler/testData/diagnostics/tests/annotations/RecursivelyAnnotatedParameterType.txt @@ -1,8 +1,8 @@ package internal final annotation class RecursivelyAnnotated : kotlin.Annotation { - public constructor RecursivelyAnnotated(/*0*/ x: @[RecursivelyAnnotated(x = IntegerValueType(1): IntegerValueType(1))] kotlin.Int) - internal final val x: @[RecursivelyAnnotated(x = IntegerValueType(1): IntegerValueType(1))] kotlin.Int + public constructor RecursivelyAnnotated(/*0*/ x: @[RecursivelyAnnotated(x = IntegerValueType(1))] kotlin.Int) + internal final val x: @[RecursivelyAnnotated(x = IntegerValueType(1))] kotlin.Int public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String diff --git a/compiler/testData/diagnostics/tests/annotations/RecursivelyAnnotatedParameterWithAt.txt b/compiler/testData/diagnostics/tests/annotations/RecursivelyAnnotatedParameterWithAt.txt index 19007518ae4..f2ba95e7bb6 100644 --- a/compiler/testData/diagnostics/tests/annotations/RecursivelyAnnotatedParameterWithAt.txt +++ b/compiler/testData/diagnostics/tests/annotations/RecursivelyAnnotatedParameterWithAt.txt @@ -1,8 +1,8 @@ package internal final annotation class RecursivelyAnnotated : kotlin.Annotation { - public constructor RecursivelyAnnotated(/*0*/ RecursivelyAnnotated(x = IntegerValueType(1): IntegerValueType(1)) x: kotlin.Int) - RecursivelyAnnotated(x = IntegerValueType(1): IntegerValueType(1)) internal final val x: kotlin.Int + public constructor RecursivelyAnnotated(/*0*/ RecursivelyAnnotated(x = IntegerValueType(1)) x: kotlin.Int) + RecursivelyAnnotated(x = IntegerValueType(1)) internal final val x: kotlin.Int public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String diff --git a/compiler/testData/diagnostics/tests/annotations/RecursivelyAnnotatedProperty.txt b/compiler/testData/diagnostics/tests/annotations/RecursivelyAnnotatedProperty.txt index 1859c4a2d45..3e9d365c990 100644 --- a/compiler/testData/diagnostics/tests/annotations/RecursivelyAnnotatedProperty.txt +++ b/compiler/testData/diagnostics/tests/annotations/RecursivelyAnnotatedProperty.txt @@ -2,7 +2,7 @@ package internal final class My { public constructor My() - ann(x = 1: kotlin.Int) internal final val x: kotlin.Int = 1 + ann(x = 1) internal final val x: kotlin.Int = 1 public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String diff --git a/compiler/testData/diagnostics/tests/annotations/RecursivelyIncorrectlyAnnotatedParameter.txt b/compiler/testData/diagnostics/tests/annotations/RecursivelyIncorrectlyAnnotatedParameter.txt index f00e7877404..ad23ca551a4 100644 --- a/compiler/testData/diagnostics/tests/annotations/RecursivelyIncorrectlyAnnotatedParameter.txt +++ b/compiler/testData/diagnostics/tests/annotations/RecursivelyIncorrectlyAnnotatedParameter.txt @@ -1,8 +1,8 @@ package internal final class RecursivelyAnnotated { - public constructor RecursivelyAnnotated(/*0*/ RecursivelyAnnotated(x = IntegerValueType(1): IntegerValueType(1)) x: kotlin.Int) - RecursivelyAnnotated(x = IntegerValueType(1): IntegerValueType(1)) internal final val x: kotlin.Int + public constructor RecursivelyAnnotated(/*0*/ RecursivelyAnnotated(x = IntegerValueType(1)) x: kotlin.Int) + RecursivelyAnnotated(x = IntegerValueType(1)) internal final val x: kotlin.Int public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String diff --git a/compiler/testData/diagnostics/tests/annotations/WrongAnnotationArgsOnObject.txt b/compiler/testData/diagnostics/tests/annotations/WrongAnnotationArgsOnObject.txt index 543328e26e7..21d20839c5c 100644 --- a/compiler/testData/diagnostics/tests/annotations/WrongAnnotationArgsOnObject.txt +++ b/compiler/testData/diagnostics/tests/annotations/WrongAnnotationArgsOnObject.txt @@ -11,7 +11,7 @@ package test { public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } - test.BadAnnotation(s = IntegerValueType(1): IntegerValueType(1)) internal object SomeObject { + test.BadAnnotation(s = IntegerValueType(1)) internal object SomeObject { private constructor SomeObject() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int diff --git a/compiler/testData/diagnostics/tests/annotations/annotationParameterMustBeConstant/javaProperties.txt b/compiler/testData/diagnostics/tests/annotations/annotationParameterMustBeConstant/javaProperties.txt index 0581c34985d..60ec1a463c3 100644 --- a/compiler/testData/diagnostics/tests/annotations/annotationParameterMustBeConstant/javaProperties.txt +++ b/compiler/testData/diagnostics/tests/annotations/annotationParameterMustBeConstant/javaProperties.txt @@ -1,6 +1,6 @@ package -Ann(i = {1, 1, 1}: kotlin.IntArray) internal final class A { +Ann(i = {1, 1, 1}) internal final class A { public constructor A() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int diff --git a/compiler/testData/diagnostics/tests/annotations/annotationParameterMustBeConstant/kotlinProperties.txt b/compiler/testData/diagnostics/tests/annotations/annotationParameterMustBeConstant/kotlinProperties.txt index a2b0ca0e453..8f8c736994c 100644 --- a/compiler/testData/diagnostics/tests/annotations/annotationParameterMustBeConstant/kotlinProperties.txt +++ b/compiler/testData/diagnostics/tests/annotations/annotationParameterMustBeConstant/kotlinProperties.txt @@ -15,7 +15,7 @@ internal final annotation class Ann : kotlin.Annotation { public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } -Ann(i = {1, 1}: kotlin.IntArray) internal final class Test { +Ann(i = {1, 1}) internal final class Test { public constructor Test() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int diff --git a/compiler/testData/diagnostics/tests/annotations/atAnnotationResolve.txt b/compiler/testData/diagnostics/tests/annotations/atAnnotationResolve.txt index 0d7570e601c..f52947cfa19 100644 --- a/compiler/testData/diagnostics/tests/annotations/atAnnotationResolve.txt +++ b/compiler/testData/diagnostics/tests/annotations/atAnnotationResolve.txt @@ -1,11 +1,11 @@ package -Ann(x = IntegerValueType(1): IntegerValueType(1)) Ann(x = IntegerValueType(2): IntegerValueType(2)) Ann(x = IntegerValueType(3): IntegerValueType(3)) private final class A { +Ann(x = IntegerValueType(1)) Ann(x = IntegerValueType(2)) Ann(x = IntegerValueType(3)) private final class A { Ann() public constructor A() Ann() internal final val x: kotlin.Int = 1 - internal final fun bar(/*0*/ x: @[Ann(x = IntegerValueType(1): IntegerValueType(1)) Ann(x = IntegerValueType(2): IntegerValueType(2)) Ann(x = IntegerValueType(3): IntegerValueType(3))] kotlin.Int): kotlin.Unit + internal final fun bar(/*0*/ x: @[Ann(x = IntegerValueType(1)) Ann(x = IntegerValueType(2)) Ann(x = IntegerValueType(3))] kotlin.Int): kotlin.Unit public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean - Ann(x = IntegerValueType(5): IntegerValueType(5)) internal final fun foo(): kotlin.Unit + Ann(x = IntegerValueType(5)) internal final fun foo(): kotlin.Unit public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } diff --git a/compiler/testData/diagnostics/tests/deprecated/annotationUsage.txt b/compiler/testData/diagnostics/tests/deprecated/annotationUsage.txt index 7e989575d55..2400bc23c00 100644 --- a/compiler/testData/diagnostics/tests/deprecated/annotationUsage.txt +++ b/compiler/testData/diagnostics/tests/deprecated/annotationUsage.txt @@ -7,21 +7,21 @@ obsolete() internal final class Obsolete { public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } -obsoleteWithParam(text = "text": kotlin.String) internal final class Obsolete2 { +obsoleteWithParam(text = "text") internal final class Obsolete2 { public constructor Obsolete2() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } -kotlin.deprecated(value = "text": kotlin.String) internal final annotation class obsolete : kotlin.Annotation { +kotlin.deprecated(value = "text") internal final annotation class obsolete : kotlin.Annotation { public constructor obsolete() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } -kotlin.deprecated(value = "text": kotlin.String) internal final annotation class obsoleteWithParam : kotlin.Annotation { +kotlin.deprecated(value = "text") internal final annotation class obsoleteWithParam : kotlin.Annotation { public constructor obsoleteWithParam(/*0*/ text: kotlin.String) internal final val text: kotlin.String public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean diff --git a/compiler/testData/diagnostics/tests/deprecated/componentUsage.txt b/compiler/testData/diagnostics/tests/deprecated/componentUsage.txt index aad36da72f5..5e4eea825ff 100644 --- a/compiler/testData/diagnostics/tests/deprecated/componentUsage.txt +++ b/compiler/testData/diagnostics/tests/deprecated/componentUsage.txt @@ -4,7 +4,7 @@ internal fun use(): kotlin.Unit internal final class Data { public constructor Data() - kotlin.deprecated(value = "text": kotlin.String) internal final fun component1(): kotlin.String + kotlin.deprecated(value = "text") internal final fun component1(): kotlin.String internal final fun component2(): kotlin.String public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int diff --git a/compiler/testData/diagnostics/tests/deprecated/functionUsage.txt b/compiler/testData/diagnostics/tests/deprecated/functionUsage.txt index 5eaf534c558..1a6a2ce718b 100644 --- a/compiler/testData/diagnostics/tests/deprecated/functionUsage.txt +++ b/compiler/testData/diagnostics/tests/deprecated/functionUsage.txt @@ -1,12 +1,12 @@ package -kotlin.deprecated(value = "message": kotlin.String) internal fun Obsolete(/*0*/ param: kotlin.Int = ...): UsefulClass +kotlin.deprecated(value = "message") internal fun Obsolete(/*0*/ param: kotlin.Int = ...): UsefulClass internal fun block(): kotlin.Unit internal fun expression(): UsefulClass internal fun invoker(): kotlin.Unit internal fun reflection(): kotlin.reflect.KFunction1 internal fun reflection2(): kotlin.reflect.KMemberFunction0 -kotlin.deprecated(value = "does nothing good": kotlin.String) internal fun kotlin.Any.doNothing(): kotlin.String +kotlin.deprecated(value = "does nothing good") internal fun kotlin.Any.doNothing(): kotlin.String internal final class Delegation { public constructor Delegation() @@ -29,7 +29,7 @@ internal final class Invocable { public constructor Invocable() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int - kotlin.deprecated(value = "message": kotlin.String) internal final fun invoke(): kotlin.Unit + kotlin.deprecated(value = "message") internal final fun invoke(): kotlin.Unit public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } @@ -47,7 +47,7 @@ internal final class UsefulClass { public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean internal final fun get(/*0*/ instance: kotlin.Any, /*1*/ property: kotlin.PropertyMetadata): kotlin.Int public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int - kotlin.deprecated(value = "message": kotlin.String) internal final fun member(): kotlin.Unit + kotlin.deprecated(value = "message") internal final fun member(): kotlin.Unit internal final fun set(/*0*/ instance: kotlin.Any, /*1*/ property: kotlin.PropertyMetadata, /*2*/ value: kotlin.Int): kotlin.Unit public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } diff --git a/compiler/testData/diagnostics/tests/deprecated/genericConstructorUsage.txt b/compiler/testData/diagnostics/tests/deprecated/genericConstructorUsage.txt index 90ef4ef937a..ec940af7bac 100644 --- a/compiler/testData/diagnostics/tests/deprecated/genericConstructorUsage.txt +++ b/compiler/testData/diagnostics/tests/deprecated/genericConstructorUsage.txt @@ -2,7 +2,7 @@ package internal open class C { public constructor C() - kotlin.deprecated(value = "": kotlin.String) public constructor C(/*0*/ p: kotlin.Int) + kotlin.deprecated(value = "") public constructor C(/*0*/ p: kotlin.Int) public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String diff --git a/compiler/testData/diagnostics/tests/deprecated/imports.txt b/compiler/testData/diagnostics/tests/deprecated/imports.txt index 4475e9ca7b8..c8de4a73173 100644 --- a/compiler/testData/diagnostics/tests/deprecated/imports.txt +++ b/compiler/testData/diagnostics/tests/deprecated/imports.txt @@ -2,7 +2,7 @@ package internal fun useAlias(/*0*/ c: C): kotlin.Unit -kotlin.deprecated(value = "obsolete": kotlin.String) internal final class C { +kotlin.deprecated(value = "obsolete") internal final class C { public constructor C() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int diff --git a/compiler/testData/diagnostics/tests/deprecated/iteratorUsage.txt b/compiler/testData/diagnostics/tests/deprecated/iteratorUsage.txt index 153a8b1c5ea..943d9ccf18b 100644 --- a/compiler/testData/diagnostics/tests/deprecated/iteratorUsage.txt +++ b/compiler/testData/diagnostics/tests/deprecated/iteratorUsage.txt @@ -6,7 +6,7 @@ internal final class Iter { public constructor Iter() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int - kotlin.deprecated(value = "text": kotlin.String) internal final fun iterator(): Iter.IterIterator + kotlin.deprecated(value = "text") internal final fun iterator(): Iter.IterIterator public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String internal final class IterIterator { @@ -29,9 +29,9 @@ internal final class Iter2 { internal final class Iter2Iterator { public constructor Iter2Iterator() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean - kotlin.deprecated(value = "text": kotlin.String) internal final fun hasNext(): kotlin.Boolean + kotlin.deprecated(value = "text") internal final fun hasNext(): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int - kotlin.deprecated(value = "text": kotlin.String) internal final fun next(): kotlin.String + kotlin.deprecated(value = "text") internal final fun next(): kotlin.String public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } } diff --git a/compiler/testData/diagnostics/tests/deprecated/javaDeprecated.txt b/compiler/testData/diagnostics/tests/deprecated/javaDeprecated.txt index 2cc812d515d..bb61ae68a9e 100644 --- a/compiler/testData/diagnostics/tests/deprecated/javaDeprecated.txt +++ b/compiler/testData/diagnostics/tests/deprecated/javaDeprecated.txt @@ -1,9 +1,9 @@ package -kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open class A { +kotlin.deprecated(value = "Deprecated in Java") public open class A { public constructor A() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open fun getFoo(/*0*/ text: kotlin.String!): kotlin.String! + kotlin.deprecated(value = "Deprecated in Java") public open fun getFoo(/*0*/ text: kotlin.String!): kotlin.String! public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } diff --git a/compiler/testData/diagnostics/tests/deprecated/nestedTypesUsage.txt b/compiler/testData/diagnostics/tests/deprecated/nestedTypesUsage.txt index 556574b85a8..8cc85242c81 100644 --- a/compiler/testData/diagnostics/tests/deprecated/nestedTypesUsage.txt +++ b/compiler/testData/diagnostics/tests/deprecated/nestedTypesUsage.txt @@ -8,7 +8,7 @@ internal final class TopLevel { public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String - kotlin.deprecated(value = "Nested": kotlin.String) internal final class Nested { + kotlin.deprecated(value = "Nested") internal final class Nested { public constructor Nested() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int diff --git a/compiler/testData/diagnostics/tests/deprecated/objectUsage.txt b/compiler/testData/diagnostics/tests/deprecated/objectUsage.txt index 1029207baab..49ac8683065 100644 --- a/compiler/testData/diagnostics/tests/deprecated/objectUsage.txt +++ b/compiler/testData/diagnostics/tests/deprecated/objectUsage.txt @@ -10,7 +10,7 @@ internal final class Another { public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String - kotlin.deprecated(value = "Object": kotlin.String) public companion object Companion { + kotlin.deprecated(value = "Object") public companion object Companion { private constructor Companion() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int @@ -19,7 +19,7 @@ internal final class Another { } } -kotlin.deprecated(value = "Object": kotlin.String) internal object Obsolete { +kotlin.deprecated(value = "Object") internal object Obsolete { private constructor Obsolete() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int diff --git a/compiler/testData/diagnostics/tests/deprecated/propertyUsage.txt b/compiler/testData/diagnostics/tests/deprecated/propertyUsage.txt index a51da5efb3e..f883c013070 100644 --- a/compiler/testData/diagnostics/tests/deprecated/propertyUsage.txt +++ b/compiler/testData/diagnostics/tests/deprecated/propertyUsage.txt @@ -7,22 +7,22 @@ internal fun PropertyHolder.extFunction(): kotlin.Unit internal final class Delegate { public constructor Delegate() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean - kotlin.deprecated(value = "text": kotlin.String) internal final fun get(/*0*/ instance: kotlin.Any, /*1*/ property: kotlin.PropertyMetadata): kotlin.Int + kotlin.deprecated(value = "text") internal final fun get(/*0*/ instance: kotlin.Any, /*1*/ property: kotlin.PropertyMetadata): kotlin.Int public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int - kotlin.deprecated(value = "text": kotlin.String) internal final fun set(/*0*/ instance: kotlin.Any, /*1*/ property: kotlin.PropertyMetadata, /*2*/ value: kotlin.Int): kotlin.Unit + kotlin.deprecated(value = "text") internal final fun set(/*0*/ instance: kotlin.Any, /*1*/ property: kotlin.PropertyMetadata, /*2*/ value: kotlin.Int): kotlin.Unit public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } internal final class PropertyHolder { public constructor PropertyHolder() - kotlin.deprecated(value = "text": kotlin.String) internal final var name: kotlin.String + kotlin.deprecated(value = "text") internal final var name: kotlin.String public final val test1: kotlin.String = "" public final var test2: kotlin.String public final var test3: kotlin.String public final var test4: kotlin.String internal final val valDelegate: kotlin.Int internal final var varDelegate: kotlin.Int - kotlin.deprecated(value = "text": kotlin.String) internal final val x: kotlin.Int = 1 + kotlin.deprecated(value = "text") internal final val x: kotlin.Int = 1 public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String diff --git a/compiler/testData/diagnostics/tests/deprecated/typeUsage.txt b/compiler/testData/diagnostics/tests/deprecated/typeUsage.txt index 7bcbcef0228..f95db548769 100644 --- a/compiler/testData/diagnostics/tests/deprecated/typeUsage.txt +++ b/compiler/testData/diagnostics/tests/deprecated/typeUsage.txt @@ -39,7 +39,7 @@ internal object Object : Obsolete { internal final override /*1*/ /*fake_override*/ fun use(): kotlin.Unit } -kotlin.deprecated(value = "Class": kotlin.String) internal open class Obsolete { +kotlin.deprecated(value = "Class") internal open class Obsolete { public constructor Obsolete() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int @@ -47,8 +47,8 @@ kotlin.deprecated(value = "Class": kotlin.String) internal open class Obsolete { internal final fun use(): kotlin.Unit } -kotlin.deprecated(value = "Class": kotlin.String) internal open class Obsolete2 { - kotlin.deprecated(value = "Constructor": kotlin.String) public constructor Obsolete2() +kotlin.deprecated(value = "Class") internal open class Obsolete2 { + kotlin.deprecated(value = "Constructor") public constructor Obsolete2() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String diff --git a/compiler/testData/diagnostics/tests/inline/nonLocalReturns/anonymousObjects.txt b/compiler/testData/diagnostics/tests/inline/nonLocalReturns/anonymousObjects.txt index 5819ec11199..8a8c27e14c5 100644 --- a/compiler/testData/diagnostics/tests/inline/nonLocalReturns/anonymousObjects.txt +++ b/compiler/testData/diagnostics/tests/inline/nonLocalReturns/anonymousObjects.txt @@ -1,4 +1,4 @@ package kotlin.inline() internal fun inlineFun(/*0*/ p: () -> R): kotlin.Unit -kotlin.inline() internal fun inlineFunOnlyLocal(/*0*/ kotlin.inlineOptions(value = {InlineOption.ONLY_LOCAL_RETURN}: kotlin.Array) p: () -> R): kotlin.Unit +kotlin.inline() internal fun inlineFunOnlyLocal(/*0*/ kotlin.inlineOptions(value = {InlineOption.ONLY_LOCAL_RETURN}) p: () -> R): kotlin.Unit diff --git a/compiler/testData/diagnostics/tests/inline/nonLocalReturns/anonymousObjectsNested.txt b/compiler/testData/diagnostics/tests/inline/nonLocalReturns/anonymousObjectsNested.txt index 96e62984331..e0451ddd439 100644 --- a/compiler/testData/diagnostics/tests/inline/nonLocalReturns/anonymousObjectsNested.txt +++ b/compiler/testData/diagnostics/tests/inline/nonLocalReturns/anonymousObjectsNested.txt @@ -2,4 +2,4 @@ package kotlin.inline() internal fun doCall(/*0*/ p: () -> R): kotlin.Unit kotlin.inline() internal fun inlineFun(/*0*/ p: () -> R): kotlin.Unit -kotlin.inline() internal fun inlineFunOnlyLocal(/*0*/ kotlin.inlineOptions(value = {InlineOption.ONLY_LOCAL_RETURN}: kotlin.Array) p: () -> R): kotlin.Unit +kotlin.inline() internal fun inlineFunOnlyLocal(/*0*/ kotlin.inlineOptions(value = {InlineOption.ONLY_LOCAL_RETURN}) p: () -> R): kotlin.Unit diff --git a/compiler/testData/diagnostics/tests/inline/nonLocalReturns/fromOnlyLocal.txt b/compiler/testData/diagnostics/tests/inline/nonLocalReturns/fromOnlyLocal.txt index ac811c189b9..ceff757cef2 100644 --- a/compiler/testData/diagnostics/tests/inline/nonLocalReturns/fromOnlyLocal.txt +++ b/compiler/testData/diagnostics/tests/inline/nonLocalReturns/fromOnlyLocal.txt @@ -1,4 +1,4 @@ package kotlin.inline() internal fun inlineAll(/*0*/ p: () -> R): kotlin.Unit -kotlin.inline() internal fun onlyLocal(/*0*/ kotlin.inlineOptions(value = {InlineOption.ONLY_LOCAL_RETURN}: kotlin.Array) p: () -> R): kotlin.Unit +kotlin.inline() internal fun onlyLocal(/*0*/ kotlin.inlineOptions(value = {InlineOption.ONLY_LOCAL_RETURN}) p: () -> R): kotlin.Unit diff --git a/compiler/testData/diagnostics/tests/inline/nonLocalReturns/inlineLambda.txt b/compiler/testData/diagnostics/tests/inline/nonLocalReturns/inlineLambda.txt index 2426c69366a..a106d564979 100644 --- a/compiler/testData/diagnostics/tests/inline/nonLocalReturns/inlineLambda.txt +++ b/compiler/testData/diagnostics/tests/inline/nonLocalReturns/inlineLambda.txt @@ -2,4 +2,4 @@ package kotlin.inline() internal fun inlineFun(/*0*/ p: () -> R): kotlin.Unit kotlin.inline() internal fun inlineFun2(/*0*/ p: () -> R): kotlin.Unit -kotlin.inline() internal fun inlineFunWithAnnotation(/*0*/ kotlin.inlineOptions(value = {InlineOption.ONLY_LOCAL_RETURN}: kotlin.Array) p: () -> R): kotlin.Unit +kotlin.inline() internal fun inlineFunWithAnnotation(/*0*/ kotlin.inlineOptions(value = {InlineOption.ONLY_LOCAL_RETURN}) p: () -> R): kotlin.Unit diff --git a/compiler/testData/diagnostics/tests/inline/nonLocalReturns/lambdaWithGlobalReturnsInsideOnlyLocalOne.txt b/compiler/testData/diagnostics/tests/inline/nonLocalReturns/lambdaWithGlobalReturnsInsideOnlyLocalOne.txt index 4b789b27f12..e9389f45d36 100644 --- a/compiler/testData/diagnostics/tests/inline/nonLocalReturns/lambdaWithGlobalReturnsInsideOnlyLocalOne.txt +++ b/compiler/testData/diagnostics/tests/inline/nonLocalReturns/lambdaWithGlobalReturnsInsideOnlyLocalOne.txt @@ -1,4 +1,4 @@ package -kotlin.inline() internal fun doWork(/*0*/ kotlin.inlineOptions(value = {InlineOption.ONLY_LOCAL_RETURN}: kotlin.Array) job: () -> R): R +kotlin.inline() internal fun doWork(/*0*/ kotlin.inlineOptions(value = {InlineOption.ONLY_LOCAL_RETURN}) job: () -> R): R kotlin.inline() internal fun testSameCaptured(/*0*/ lambdaWithResultCaptured: () -> kotlin.Unit): kotlin.String diff --git a/compiler/testData/diagnostics/tests/inline/nonLocalReturns/localFun.txt b/compiler/testData/diagnostics/tests/inline/nonLocalReturns/localFun.txt index 5819ec11199..8a8c27e14c5 100644 --- a/compiler/testData/diagnostics/tests/inline/nonLocalReturns/localFun.txt +++ b/compiler/testData/diagnostics/tests/inline/nonLocalReturns/localFun.txt @@ -1,4 +1,4 @@ package kotlin.inline() internal fun inlineFun(/*0*/ p: () -> R): kotlin.Unit -kotlin.inline() internal fun inlineFunOnlyLocal(/*0*/ kotlin.inlineOptions(value = {InlineOption.ONLY_LOCAL_RETURN}: kotlin.Array) p: () -> R): kotlin.Unit +kotlin.inline() internal fun inlineFunOnlyLocal(/*0*/ kotlin.inlineOptions(value = {InlineOption.ONLY_LOCAL_RETURN}) p: () -> R): kotlin.Unit diff --git a/compiler/testData/diagnostics/tests/inline/nonLocalReturns/noInlineLambda.txt b/compiler/testData/diagnostics/tests/inline/nonLocalReturns/noInlineLambda.txt index 5819ec11199..8a8c27e14c5 100644 --- a/compiler/testData/diagnostics/tests/inline/nonLocalReturns/noInlineLambda.txt +++ b/compiler/testData/diagnostics/tests/inline/nonLocalReturns/noInlineLambda.txt @@ -1,4 +1,4 @@ package kotlin.inline() internal fun inlineFun(/*0*/ p: () -> R): kotlin.Unit -kotlin.inline() internal fun inlineFunOnlyLocal(/*0*/ kotlin.inlineOptions(value = {InlineOption.ONLY_LOCAL_RETURN}: kotlin.Array) p: () -> R): kotlin.Unit +kotlin.inline() internal fun inlineFunOnlyLocal(/*0*/ kotlin.inlineOptions(value = {InlineOption.ONLY_LOCAL_RETURN}) p: () -> R): kotlin.Unit diff --git a/compiler/testData/diagnostics/tests/inline/nonLocalReturns/nonInlinedClass.txt b/compiler/testData/diagnostics/tests/inline/nonLocalReturns/nonInlinedClass.txt index 5819ec11199..8a8c27e14c5 100644 --- a/compiler/testData/diagnostics/tests/inline/nonLocalReturns/nonInlinedClass.txt +++ b/compiler/testData/diagnostics/tests/inline/nonLocalReturns/nonInlinedClass.txt @@ -1,4 +1,4 @@ package kotlin.inline() internal fun inlineFun(/*0*/ p: () -> R): kotlin.Unit -kotlin.inline() internal fun inlineFunOnlyLocal(/*0*/ kotlin.inlineOptions(value = {InlineOption.ONLY_LOCAL_RETURN}: kotlin.Array) p: () -> R): kotlin.Unit +kotlin.inline() internal fun inlineFunOnlyLocal(/*0*/ kotlin.inlineOptions(value = {InlineOption.ONLY_LOCAL_RETURN}) p: () -> R): kotlin.Unit diff --git a/compiler/testData/diagnostics/tests/inline/nonLocalReturns/onlyLocalReturnLambda.txt b/compiler/testData/diagnostics/tests/inline/nonLocalReturns/onlyLocalReturnLambda.txt index 7d39c20eb2c..8ccc08699ed 100644 --- a/compiler/testData/diagnostics/tests/inline/nonLocalReturns/onlyLocalReturnLambda.txt +++ b/compiler/testData/diagnostics/tests/inline/nonLocalReturns/onlyLocalReturnLambda.txt @@ -6,4 +6,4 @@ internal fun fun3(/*0*/ p: () -> R): kotlin.Unit internal fun fun3ValueArgument(/*0*/ p: () -> R): kotlin.Unit internal fun fun4(/*0*/ p: () -> R): kotlin.Unit internal fun fun4ValueArgument(/*0*/ p: () -> R): kotlin.Unit -kotlin.inline() internal fun inlineFun(/*0*/ kotlin.inlineOptions(value = {InlineOption.ONLY_LOCAL_RETURN}: kotlin.Array) p: () -> R): kotlin.Unit +kotlin.inline() internal fun inlineFun(/*0*/ kotlin.inlineOptions(value = {InlineOption.ONLY_LOCAL_RETURN}) p: () -> R): kotlin.Unit diff --git a/compiler/testData/diagnostics/tests/inline/nonLocalReturns/onlyLocalReturnLambdaBinaryExpr.txt b/compiler/testData/diagnostics/tests/inline/nonLocalReturns/onlyLocalReturnLambdaBinaryExpr.txt index 43298e0c4b5..239ed537153 100644 --- a/compiler/testData/diagnostics/tests/inline/nonLocalReturns/onlyLocalReturnLambdaBinaryExpr.txt +++ b/compiler/testData/diagnostics/tests/inline/nonLocalReturns/onlyLocalReturnLambdaBinaryExpr.txt @@ -8,6 +8,6 @@ internal final class Z { public constructor Z() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int - kotlin.inline() internal final fun inlineFun(/*0*/ kotlin.inlineOptions(value = {InlineOption.ONLY_LOCAL_RETURN}: kotlin.Array) p: () -> R): kotlin.Unit + kotlin.inline() internal final fun inlineFun(/*0*/ kotlin.inlineOptions(value = {InlineOption.ONLY_LOCAL_RETURN}) p: () -> R): kotlin.Unit public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } diff --git a/compiler/testData/diagnostics/tests/inline/nonLocalReturns/toOnlyLocal.txt b/compiler/testData/diagnostics/tests/inline/nonLocalReturns/toOnlyLocal.txt index 3caf1f16bb4..32c356d72dd 100644 --- a/compiler/testData/diagnostics/tests/inline/nonLocalReturns/toOnlyLocal.txt +++ b/compiler/testData/diagnostics/tests/inline/nonLocalReturns/toOnlyLocal.txt @@ -1,4 +1,4 @@ package kotlin.inline() internal fun inlineAll(/*0*/ p: () -> R): kotlin.Unit -kotlin.inline() internal fun toOnlyLocal(/*0*/ kotlin.inlineOptions(value = {InlineOption.ONLY_LOCAL_RETURN}: kotlin.Array) p: () -> R): kotlin.Unit +kotlin.inline() internal fun toOnlyLocal(/*0*/ kotlin.inlineOptions(value = {InlineOption.ONLY_LOCAL_RETURN}) p: () -> R): kotlin.Unit diff --git a/compiler/testData/diagnostics/tests/modifiers/IllegalModifiers.txt b/compiler/testData/diagnostics/tests/modifiers/IllegalModifiers.txt index 13b37b781eb..bb0511c48c6 100644 --- a/compiler/testData/diagnostics/tests/modifiers/IllegalModifiers.txt +++ b/compiler/testData/diagnostics/tests/modifiers/IllegalModifiers.txt @@ -73,7 +73,7 @@ package illegal_modifiers { } internal final class IllegalModifiers4 { - public constructor IllegalModifiers4(/*0*/ a: kotlin.Int, /*1*/ illegal_modifiers.annotated(text = "a text": kotlin.String) vararg v: kotlin.Int /*kotlin.IntArray*/) + public constructor IllegalModifiers4(/*0*/ a: kotlin.Int, /*1*/ illegal_modifiers.annotated(text = "a text") vararg v: kotlin.Int /*kotlin.IntArray*/) internal final val a: kotlin.Int public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int @@ -83,7 +83,7 @@ package illegal_modifiers { internal abstract class IllegalModifiers5 { public constructor IllegalModifiers5() internal abstract fun bar(/*0*/ a: kotlin.Int, /*1*/ vararg v: kotlin.String /*kotlin.Array*/): kotlin.Unit - internal abstract fun baz(/*0*/ illegal_modifiers.annotated(text = "a text": kotlin.String) a: kotlin.Int): kotlin.Unit + internal abstract fun baz(/*0*/ illegal_modifiers.annotated(text = "a text") a: kotlin.Int): kotlin.Unit public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean internal abstract fun foo(/*0*/ a: kotlin.Int, /*1*/ vararg v: kotlin.String /*kotlin.Array*/): kotlin.Unit public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int diff --git a/compiler/testData/diagnostics/tests/modifiers/primaryConstructorMissingKeyword.txt b/compiler/testData/diagnostics/tests/modifiers/primaryConstructorMissingKeyword.txt index 10225812ba5..48fa3a24d61 100644 --- a/compiler/testData/diagnostics/tests/modifiers/primaryConstructorMissingKeyword.txt +++ b/compiler/testData/diagnostics/tests/modifiers/primaryConstructorMissingKeyword.txt @@ -9,7 +9,7 @@ internal final class A { public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String internal final inner class B { - Ann(x = IntegerValueType(2): IntegerValueType(2)) public constructor B(/*0*/ y: kotlin.Int) + Ann(x = IntegerValueType(2)) public constructor B(/*0*/ y: kotlin.Int) internal final val y: kotlin.Int public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int diff --git a/compiler/testData/diagnostics/tests/namedArguments/allowForJavaAnnotation.txt b/compiler/testData/diagnostics/tests/namedArguments/allowForJavaAnnotation.txt index dbc762bfca9..a732ee60232 100644 --- a/compiler/testData/diagnostics/tests/namedArguments/allowForJavaAnnotation.txt +++ b/compiler/testData/diagnostics/tests/namedArguments/allowForJavaAnnotation.txt @@ -1,6 +1,6 @@ package -A(x = IntegerValueType(1): IntegerValueType(1), y = "2": kotlin.String) internal fun test(): kotlin.Unit +A(x = IntegerValueType(1), y = "2") internal fun test(): kotlin.Unit public final annotation class A : kotlin.Annotation { public constructor A(/*0*/ x: kotlin.Int, /*1*/ y: kotlin.String) diff --git a/compiler/testData/diagnostics/tests/regressions/kt1639-JFrame.txt b/compiler/testData/diagnostics/tests/regressions/kt1639-JFrame.txt index e88968bab2e..c78ad5184f8 100644 --- a/compiler/testData/diagnostics/tests/regressions/kt1639-JFrame.txt +++ b/compiler/testData/diagnostics/tests/regressions/kt1639-JFrame.txt @@ -129,7 +129,7 @@ package test { invisible_fake final override /*1*/ /*fake_override*/ var windowStateListener: [ERROR : Unresolved java classifier: WindowStateListener]! invisible_fake final override /*1*/ /*fake_override*/ var x: kotlin.Int invisible_fake final override /*1*/ /*fake_override*/ var y: kotlin.Int - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun action(/*0*/ p0: [ERROR : Unresolved java classifier: Event]!, /*1*/ p1: kotlin.Any!): kotlin.Boolean + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun action(/*0*/ p0: [ERROR : Unresolved java classifier: Event]!, /*1*/ p1: kotlin.Any!): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun add(/*0*/ p0: [ERROR : Unresolved java classifier: PopupMenu]!): kotlin.Unit public open override /*1*/ /*fake_override*/ fun add(/*0*/ p0: java.awt.Component!): java.awt.Component! public open override /*1*/ /*fake_override*/ fun add(/*0*/ p0: java.awt.Component!, /*1*/ p1: kotlin.Any!): kotlin.Unit @@ -164,13 +164,13 @@ package test { invisible_fake final override /*1*/ /*fake_override*/ fun applyCompoundShape(/*0*/ p0: [ERROR : Unresolved java classifier: Region]!): kotlin.Unit invisible_fake final override /*1*/ /*fake_override*/ fun applyCurrentShape(): kotlin.Unit invisible_fake final override /*1*/ /*fake_override*/ fun applyCurrentShapeBelowMe(): kotlin.Unit - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun applyResourceBundle(/*0*/ p0: [ERROR : Unresolved java classifier: ResourceBundle]!): kotlin.Unit - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun applyResourceBundle(/*0*/ p0: kotlin.String!): kotlin.Unit + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun applyResourceBundle(/*0*/ p0: [ERROR : Unresolved java classifier: ResourceBundle]!): kotlin.Unit + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun applyResourceBundle(/*0*/ p0: kotlin.String!): kotlin.Unit invisible_fake final override /*1*/ /*fake_override*/ fun areBoundsValid(): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun areFocusTraversalKeysSet(/*0*/ p0: kotlin.Int): kotlin.Boolean invisible_fake open override /*1*/ /*fake_override*/ fun areInputMethodsEnabled(): kotlin.Boolean invisible_fake open override /*1*/ /*fake_override*/ fun autoProcessMouseWheel(/*0*/ p0: [ERROR : Unresolved java classifier: MouseWheelEvent]!): kotlin.Unit - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun bounds(): [ERROR : Unresolved java classifier: Rectangle]! + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun bounds(): [ERROR : Unresolved java classifier: Rectangle]! invisible_fake open override /*1*/ /*fake_override*/ fun calculateCurrentShape(): [ERROR : Unresolved java classifier: Region]! invisible_fake open override /*1*/ /*fake_override*/ fun calculateSecurityWarningPosition(/*0*/ p0: kotlin.Double, /*1*/ p1: kotlin.Double, /*2*/ p2: kotlin.Double, /*3*/ p3: kotlin.Double): [ERROR : Unresolved java classifier: Point2D]! invisible_fake final override /*1*/ /*fake_override*/ fun canBeFocusOwner(): kotlin.Boolean @@ -194,7 +194,7 @@ package test { public open override /*1*/ /*fake_override*/ fun contains(/*0*/ p0: [ERROR : Unresolved java classifier: Point]!): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun contains(/*0*/ p0: kotlin.Int, /*1*/ p1: kotlin.Int): kotlin.Boolean invisible_fake final override /*1*/ /*fake_override*/ fun containsFocus(): kotlin.Boolean - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun countComponents(): kotlin.Int + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun countComponents(): kotlin.Int invisible_fake open override /*1*/ /*fake_override*/ fun countHierarchyMembers(): kotlin.Int public open override /*1*/ /*fake_override*/ fun createBufferStrategy(/*0*/ p0: kotlin.Int): kotlin.Unit public open override /*1*/ /*fake_override*/ fun createBufferStrategy(/*0*/ p0: kotlin.Int, /*1*/ p1: [ERROR : Unresolved java classifier: BufferCapabilities]!): kotlin.Unit @@ -206,10 +206,10 @@ package test { public open override /*1*/ /*fake_override*/ fun createVolatileImage(/*0*/ p0: kotlin.Int, /*1*/ p1: kotlin.Int): [ERROR : Unresolved java classifier: VolatileImage]! public open override /*1*/ /*fake_override*/ fun createVolatileImage(/*0*/ p0: kotlin.Int, /*1*/ p1: kotlin.Int, /*2*/ p2: [ERROR : Unresolved java classifier: ImageCapabilities]!): [ERROR : Unresolved java classifier: VolatileImage]! invisible_fake final override /*1*/ /*fake_override*/ fun decreaseComponentCount(/*0*/ p0: java.awt.Component!): kotlin.Unit - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun deliverEvent(/*0*/ p0: [ERROR : Unresolved java classifier: Event]!): kotlin.Unit + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun deliverEvent(/*0*/ p0: [ERROR : Unresolved java classifier: Event]!): kotlin.Unit invisible_fake open override /*1*/ /*fake_override*/ fun deliverMouseWheelToAncestor(/*0*/ p0: [ERROR : Unresolved java classifier: MouseWheelEvent]!): kotlin.Unit invisible_fake open override /*1*/ /*fake_override*/ fun deserializeResources(/*0*/ p0: java.io.ObjectInputStream!): kotlin.Unit - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun disable(): kotlin.Unit + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun disable(): kotlin.Unit protected/*protected and package*/ final override /*1*/ /*fake_override*/ fun disableEvents(/*0*/ p0: kotlin.Long): kotlin.Unit public final override /*1*/ /*fake_override*/ fun dispatchEvent(/*0*/ p0: [ERROR : Unresolved java classifier: AWTEvent]!): kotlin.Unit invisible_fake open override /*1*/ /*fake_override*/ fun dispatchEventImpl(/*0*/ p0: [ERROR : Unresolved java classifier: AWTEvent]!): kotlin.Unit @@ -220,8 +220,8 @@ package test { invisible_fake open override /*1*/ /*fake_override*/ fun doDispose(): kotlin.Unit public open override /*1*/ /*fake_override*/ fun doLayout(): kotlin.Unit invisible_fake open override /*1*/ /*fake_override*/ fun doSwingSerialization(): kotlin.Unit - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun enable(): kotlin.Unit - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun enable(/*0*/ p0: kotlin.Boolean): kotlin.Unit + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun enable(): kotlin.Unit + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun enable(/*0*/ p0: kotlin.Boolean): kotlin.Unit protected/*protected and package*/ final override /*1*/ /*fake_override*/ fun enableEvents(/*0*/ p0: kotlin.Long): kotlin.Unit public open override /*1*/ /*fake_override*/ fun enableInputMethods(/*0*/ p0: kotlin.Boolean): kotlin.Unit public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean @@ -278,7 +278,7 @@ package test { invisible_fake open override /*1*/ /*fake_override*/ fun getContainingWindow(): java.awt.Window! public open override /*1*/ /*fake_override*/ fun getContentPane(): java.awt.Container! public open override /*1*/ /*fake_override*/ fun getCursor(): [ERROR : Unresolved java classifier: Cursor]! - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun getCursorType(): kotlin.Int + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun getCursorType(): kotlin.Int invisible_fake final override /*1*/ /*fake_override*/ fun getCursor_NoClientCode(): [ERROR : Unresolved java classifier: Cursor]! public open override /*1*/ /*fake_override*/ fun getDefaultCloseOperation(): kotlin.Int invisible_fake open override /*1*/ /*fake_override*/ fun getDocumentRoot(): java.awt.Window! @@ -357,7 +357,7 @@ package test { invisible_fake final override /*1*/ /*fake_override*/ fun getOwner_NoClientCode(): java.awt.Window! public open override /*1*/ /*fake_override*/ fun getParent(): java.awt.Container! invisible_fake final override /*1*/ /*fake_override*/ fun getParent_NoClientCode(): java.awt.Container! - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun getPeer(): [ERROR : Unresolved java classifier: ComponentPeer]! + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun getPeer(): [ERROR : Unresolved java classifier: ComponentPeer]! public open override /*1*/ /*fake_override*/ fun getPreferredSize(): java.awt.Dimension! public open override /*1*/ /*fake_override*/ fun getPropertyChangeListeners(): kotlin.Array<(out) [ERROR : Unresolved java classifier: PropertyChangeListener]!>! public open override /*1*/ /*fake_override*/ fun getPropertyChangeListeners(/*0*/ p0: kotlin.String!): kotlin.Array<(out) [ERROR : Unresolved java classifier: PropertyChangeListener]!>! @@ -384,13 +384,13 @@ package test { public open override /*1*/ /*fake_override*/ fun getWindowStateListeners(): kotlin.Array<(out) [ERROR : Unresolved java classifier: WindowStateListener]!>! public open override /*1*/ /*fake_override*/ fun getX(): kotlin.Int public open override /*1*/ /*fake_override*/ fun getY(): kotlin.Int - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun gotFocus(/*0*/ p0: [ERROR : Unresolved java classifier: Event]!, /*1*/ p1: kotlin.Any!): kotlin.Boolean - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun handleEvent(/*0*/ p0: [ERROR : Unresolved java classifier: Event]!): kotlin.Boolean + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun gotFocus(/*0*/ p0: [ERROR : Unresolved java classifier: Event]!, /*1*/ p1: kotlin.Any!): kotlin.Boolean + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun handleEvent(/*0*/ p0: [ERROR : Unresolved java classifier: Event]!): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hasFocus(): kotlin.Boolean invisible_fake final override /*1*/ /*fake_override*/ fun hasHeavyweightDescendants(): kotlin.Boolean invisible_fake final override /*1*/ /*fake_override*/ fun hasLightweightDescendants(): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun hide(): kotlin.Unit + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun hide(): kotlin.Unit public open override /*1*/ /*fake_override*/ fun imageUpdate(/*0*/ p0: [ERROR : Unresolved java classifier: Image]!, /*1*/ p1: kotlin.Int, /*2*/ p2: kotlin.Int, /*3*/ p3: kotlin.Int, /*4*/ p4: kotlin.Int, /*5*/ p5: kotlin.Int): kotlin.Boolean invisible_fake final override /*1*/ /*fake_override*/ fun increaseComponentCount(/*0*/ p0: java.awt.Component!): kotlin.Unit invisible_fake open override /*1*/ /*fake_override*/ fun init(/*0*/ p0: [ERROR : Unresolved java classifier: GraphicsConfiguration]!): kotlin.Unit @@ -398,8 +398,8 @@ package test { invisible_fake open override /*1*/ /*fake_override*/ fun initDeserializedWindow(): kotlin.Unit invisible_fake open override /*1*/ /*fake_override*/ fun initGC(/*0*/ p0: [ERROR : Unresolved java classifier: GraphicsConfiguration]!): [ERROR : Unresolved java classifier: GraphicsConfiguration]! invisible_fake open override /*1*/ /*fake_override*/ fun initializeFocusTraversalKeys(): kotlin.Unit - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun insets(): [ERROR : Unresolved java classifier: Insets]! - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun inside(/*0*/ p0: kotlin.Int, /*1*/ p1: kotlin.Int): kotlin.Boolean + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun insets(): [ERROR : Unresolved java classifier: Insets]! + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun inside(/*0*/ p0: kotlin.Int, /*1*/ p1: kotlin.Int): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun invalidate(): kotlin.Unit invisible_fake final override /*1*/ /*fake_override*/ fun invalidateIfValid(): kotlin.Unit invisible_fake open override /*1*/ /*fake_override*/ fun invalidateParent(): kotlin.Unit @@ -421,7 +421,7 @@ package test { public final override /*1*/ /*fake_override*/ fun isFocusCycleRoot(): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun isFocusCycleRoot(/*0*/ p0: java.awt.Container!): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun isFocusOwner(): kotlin.Boolean - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun isFocusTraversable(): kotlin.Boolean + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun isFocusTraversable(): kotlin.Boolean invisible_fake final override /*1*/ /*fake_override*/ fun isFocusTraversableOverridden(): kotlin.Boolean public final override /*1*/ /*fake_override*/ fun isFocusTraversalPolicyProvider(): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun isFocusTraversalPolicySet(): kotlin.Boolean @@ -454,9 +454,9 @@ package test { public open override /*1*/ /*fake_override*/ fun isValidateRoot(): kotlin.Boolean [ERROR : java.beans.Transient]() public open override /*1*/ /*fake_override*/ fun isVisible(): kotlin.Boolean invisible_fake final override /*1*/ /*fake_override*/ fun isVisible_NoClientCode(): kotlin.Boolean - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun keyDown(/*0*/ p0: [ERROR : Unresolved java classifier: Event]!, /*1*/ p1: kotlin.Int): kotlin.Boolean - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun keyUp(/*0*/ p0: [ERROR : Unresolved java classifier: Event]!, /*1*/ p1: kotlin.Int): kotlin.Boolean - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun layout(): kotlin.Unit + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun keyDown(/*0*/ p0: [ERROR : Unresolved java classifier: Event]!, /*1*/ p1: kotlin.Int): kotlin.Boolean + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun keyUp(/*0*/ p0: [ERROR : Unresolved java classifier: Event]!, /*1*/ p1: kotlin.Int): kotlin.Boolean + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun layout(): kotlin.Unit invisible_fake open override /*1*/ /*fake_override*/ fun lightweightPaint(/*0*/ p0: [ERROR : Unresolved java classifier: Graphics]!): kotlin.Unit invisible_fake open override /*1*/ /*fake_override*/ fun lightweightPrint(/*0*/ p0: [ERROR : Unresolved java classifier: Graphics]!): kotlin.Unit public open override /*1*/ /*fake_override*/ fun list(): kotlin.Unit @@ -464,24 +464,24 @@ package test { public open override /*1*/ /*fake_override*/ fun list(/*0*/ p0: [ERROR : Unresolved java classifier: PrintWriter]!, /*1*/ p1: kotlin.Int): kotlin.Unit public open override /*1*/ /*fake_override*/ fun list(/*0*/ p0: java.io.PrintStream!): kotlin.Unit public open override /*1*/ /*fake_override*/ fun list(/*0*/ p0: java.io.PrintStream!, /*1*/ p1: kotlin.Int): kotlin.Unit - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun locate(/*0*/ p0: kotlin.Int, /*1*/ p1: kotlin.Int): java.awt.Component! - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun location(): [ERROR : Unresolved java classifier: Point]! + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun locate(/*0*/ p0: kotlin.Int, /*1*/ p1: kotlin.Int): java.awt.Component! + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun location(): [ERROR : Unresolved java classifier: Point]! invisible_fake open override /*1*/ /*fake_override*/ fun location_NoClientCode(): [ERROR : Unresolved java classifier: Point]! - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun lostFocus(/*0*/ p0: [ERROR : Unresolved java classifier: Event]!, /*1*/ p1: kotlin.Any!): kotlin.Boolean - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun minimumSize(): java.awt.Dimension! + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun lostFocus(/*0*/ p0: [ERROR : Unresolved java classifier: Event]!, /*1*/ p1: kotlin.Any!): kotlin.Boolean + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun minimumSize(): java.awt.Dimension! invisible_fake open override /*1*/ /*fake_override*/ fun mixOnHiding(/*0*/ p0: kotlin.Boolean): kotlin.Unit invisible_fake final override /*1*/ /*fake_override*/ fun mixOnReshaping(): kotlin.Unit invisible_fake open override /*1*/ /*fake_override*/ fun mixOnShowing(): kotlin.Unit invisible_fake open override /*1*/ /*fake_override*/ fun mixOnValidating(): kotlin.Unit invisible_fake open override /*1*/ /*fake_override*/ fun mixOnZOrderChanging(/*0*/ p0: kotlin.Int, /*1*/ p1: kotlin.Int): kotlin.Unit - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun mouseDown(/*0*/ p0: [ERROR : Unresolved java classifier: Event]!, /*1*/ p1: kotlin.Int, /*2*/ p2: kotlin.Int): kotlin.Boolean - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun mouseDrag(/*0*/ p0: [ERROR : Unresolved java classifier: Event]!, /*1*/ p1: kotlin.Int, /*2*/ p2: kotlin.Int): kotlin.Boolean - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun mouseEnter(/*0*/ p0: [ERROR : Unresolved java classifier: Event]!, /*1*/ p1: kotlin.Int, /*2*/ p2: kotlin.Int): kotlin.Boolean - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun mouseExit(/*0*/ p0: [ERROR : Unresolved java classifier: Event]!, /*1*/ p1: kotlin.Int, /*2*/ p2: kotlin.Int): kotlin.Boolean - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun mouseMove(/*0*/ p0: [ERROR : Unresolved java classifier: Event]!, /*1*/ p1: kotlin.Int, /*2*/ p2: kotlin.Int): kotlin.Boolean - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun mouseUp(/*0*/ p0: [ERROR : Unresolved java classifier: Event]!, /*1*/ p1: kotlin.Int, /*2*/ p2: kotlin.Int): kotlin.Boolean - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun move(/*0*/ p0: kotlin.Int, /*1*/ p1: kotlin.Int): kotlin.Unit - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun nextFocus(): kotlin.Unit + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun mouseDown(/*0*/ p0: [ERROR : Unresolved java classifier: Event]!, /*1*/ p1: kotlin.Int, /*2*/ p2: kotlin.Int): kotlin.Boolean + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun mouseDrag(/*0*/ p0: [ERROR : Unresolved java classifier: Event]!, /*1*/ p1: kotlin.Int, /*2*/ p2: kotlin.Int): kotlin.Boolean + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun mouseEnter(/*0*/ p0: [ERROR : Unresolved java classifier: Event]!, /*1*/ p1: kotlin.Int, /*2*/ p2: kotlin.Int): kotlin.Boolean + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun mouseExit(/*0*/ p0: [ERROR : Unresolved java classifier: Event]!, /*1*/ p1: kotlin.Int, /*2*/ p2: kotlin.Int): kotlin.Boolean + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun mouseMove(/*0*/ p0: [ERROR : Unresolved java classifier: Event]!, /*1*/ p1: kotlin.Int, /*2*/ p2: kotlin.Int): kotlin.Boolean + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun mouseUp(/*0*/ p0: [ERROR : Unresolved java classifier: Event]!, /*1*/ p1: kotlin.Int, /*2*/ p2: kotlin.Int): kotlin.Boolean + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun move(/*0*/ p0: kotlin.Int, /*1*/ p1: kotlin.Int): kotlin.Unit + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun nextFocus(): kotlin.Unit invisible_fake open override /*1*/ /*fake_override*/ fun notifyNewBounds(/*0*/ p0: kotlin.Boolean, /*1*/ p1: kotlin.Boolean): kotlin.Unit invisible_fake open override /*1*/ /*fake_override*/ fun numListening(/*0*/ p0: kotlin.Long): kotlin.Int invisible_fake open override /*1*/ /*fake_override*/ fun ownedInit(/*0*/ p0: java.awt.Window!): kotlin.Unit @@ -492,12 +492,12 @@ package test { invisible_fake open override /*1*/ /*fake_override*/ fun paintHeavyweightComponents(/*0*/ p0: [ERROR : Unresolved java classifier: Graphics]!): kotlin.Unit protected/*protected and package*/ open override /*1*/ /*fake_override*/ fun paramString(): kotlin.String! invisible_fake open override /*1*/ /*fake_override*/ fun pointRelativeToComponent(/*0*/ p0: [ERROR : Unresolved java classifier: Point]!): [ERROR : Unresolved java classifier: Point]! - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun postEvent(/*0*/ p0: [ERROR : Unresolved java classifier: Event]!): kotlin.Boolean + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun postEvent(/*0*/ p0: [ERROR : Unresolved java classifier: Event]!): kotlin.Boolean invisible_fake open override /*1*/ /*fake_override*/ fun postProcessKeyEvent(/*0*/ p0: [ERROR : Unresolved java classifier: KeyEvent]!): kotlin.Unit invisible_fake open override /*1*/ /*fake_override*/ fun postWindowEvent(/*0*/ p0: kotlin.Int): kotlin.Unit invisible_fake open override /*1*/ /*fake_override*/ fun postsOldMouseEvents(): kotlin.Boolean invisible_fake open override /*1*/ /*fake_override*/ fun preProcessKeyEvent(/*0*/ p0: [ERROR : Unresolved java classifier: KeyEvent]!): kotlin.Unit - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun preferredSize(): java.awt.Dimension! + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun preferredSize(): java.awt.Dimension! public open override /*1*/ /*fake_override*/ fun prepareImage(/*0*/ p0: [ERROR : Unresolved java classifier: Image]!, /*1*/ p1: [ERROR : Unresolved java classifier: ImageObserver]!): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun prepareImage(/*0*/ p0: [ERROR : Unresolved java classifier: Image]!, /*1*/ p1: kotlin.Int, /*2*/ p2: kotlin.Int, /*3*/ p3: [ERROR : Unresolved java classifier: ImageObserver]!): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun print(/*0*/ p0: [ERROR : Unresolved java classifier: Graphics]!): kotlin.Unit @@ -567,10 +567,10 @@ package test { public open override /*1*/ /*fake_override*/ fun requestFocusInWindow(): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun requestFocusInWindow(/*0*/ p0: [ERROR : Unresolved java classifier: Cause]!): kotlin.Boolean invisible_fake open override /*1*/ /*fake_override*/ fun requestFocusInWindow(/*0*/ p0: kotlin.Boolean, /*1*/ p1: [ERROR : Unresolved java classifier: Cause]!): kotlin.Boolean - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun reshape(/*0*/ p0: kotlin.Int, /*1*/ p1: kotlin.Int, /*2*/ p2: kotlin.Int, /*3*/ p3: kotlin.Int): kotlin.Unit + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun reshape(/*0*/ p0: kotlin.Int, /*1*/ p1: kotlin.Int, /*2*/ p2: kotlin.Int, /*3*/ p3: kotlin.Int): kotlin.Unit invisible_fake open override /*1*/ /*fake_override*/ fun reshapeNativePeer(/*0*/ p0: kotlin.Int, /*1*/ p1: kotlin.Int, /*2*/ p2: kotlin.Int, /*3*/ p3: kotlin.Int, /*4*/ p4: kotlin.Int): kotlin.Unit - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun resize(/*0*/ p0: java.awt.Dimension!): kotlin.Unit - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun resize(/*0*/ p0: kotlin.Int, /*1*/ p1: kotlin.Int): kotlin.Unit + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun resize(/*0*/ p0: java.awt.Dimension!): kotlin.Unit + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun resize(/*0*/ p0: kotlin.Int, /*1*/ p1: kotlin.Int): kotlin.Unit public open override /*1*/ /*fake_override*/ fun revalidate(): kotlin.Unit public final override /*1*/ /*fake_override*/ fun setAlwaysOnTop(/*0*/ p0: kotlin.Boolean): kotlin.Unit invisible_fake open override /*1*/ /*fake_override*/ fun setAutoFocusTransferOnDisposal(/*0*/ p0: kotlin.Boolean): kotlin.Unit @@ -583,7 +583,7 @@ package test { public open override /*1*/ /*fake_override*/ fun setComponentOrientation(/*0*/ p0: [ERROR : Unresolved java classifier: ComponentOrientation]!): kotlin.Unit public open override /*1*/ /*fake_override*/ fun setComponentZOrder(/*0*/ p0: java.awt.Component!, /*1*/ p1: kotlin.Int): kotlin.Unit public open override /*1*/ /*fake_override*/ fun setContentPane(/*0*/ p0: java.awt.Container!): kotlin.Unit - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun setCursor(/*0*/ p0: kotlin.Int): kotlin.Unit + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun setCursor(/*0*/ p0: kotlin.Int): kotlin.Unit public open override /*1*/ /*fake_override*/ fun setDefaultCloseOperation(/*0*/ p0: kotlin.Int): kotlin.Unit public open override /*1*/ /*fake_override*/ fun setDropTarget(/*0*/ p0: [ERROR : Unresolved java classifier: DropTarget]!): kotlin.Unit public open override /*1*/ /*fake_override*/ fun setEnabled(/*0*/ p0: kotlin.Boolean): kotlin.Unit @@ -634,9 +634,9 @@ package test { public open override /*1*/ /*fake_override*/ fun setUndecorated(/*0*/ p0: kotlin.Boolean): kotlin.Unit public open override /*1*/ /*fake_override*/ fun setVisible(/*0*/ p0: kotlin.Boolean): kotlin.Unit invisible_fake open override /*1*/ /*fake_override*/ fun setWarningString(): kotlin.Unit - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun show(): kotlin.Unit - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun show(/*0*/ p0: kotlin.Boolean): kotlin.Unit - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun size(): java.awt.Dimension! + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun show(): kotlin.Unit + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun show(/*0*/ p0: kotlin.Boolean): kotlin.Unit + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun size(): java.awt.Dimension! invisible_fake open override /*1*/ /*fake_override*/ fun startLWModal(): kotlin.Unit invisible_fake open override /*1*/ /*fake_override*/ fun stopLWModal(): kotlin.Unit invisible_fake final override /*1*/ /*fake_override*/ fun subtractAndApplyShape(/*0*/ p0: [ERROR : Unresolved java classifier: Region]!): kotlin.Unit diff --git a/compiler/testData/diagnostics/tests/regressions/kt588.txt b/compiler/testData/diagnostics/tests/regressions/kt588.txt index 2147ae14b7a..a6169143ac2 100644 --- a/compiler/testData/diagnostics/tests/regressions/kt588.txt +++ b/compiler/testData/diagnostics/tests/regressions/kt588.txt @@ -26,8 +26,8 @@ internal final class Test : java.lang.Thread { invisible_fake open override /*1*/ /*fake_override*/ fun blockedOn(/*0*/ p0: [ERROR : Unresolved java classifier: Interruptible]!): kotlin.Unit public final override /*1*/ /*fake_override*/ fun checkAccess(): kotlin.Unit protected/*protected and package*/ open override /*1*/ /*fake_override*/ fun clone(): kotlin.Any! - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun countStackFrames(): kotlin.Int - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun destroy(): kotlin.Unit + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun countStackFrames(): kotlin.Int + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun destroy(): kotlin.Unit invisible_fake open override /*1*/ /*fake_override*/ fun dispatchUncaughtException(/*0*/ p0: kotlin.Throwable!): kotlin.Unit public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean invisible_fake open override /*1*/ /*fake_override*/ fun exit(): kotlin.Unit @@ -51,7 +51,7 @@ internal final class Test : java.lang.Thread { public final override /*1*/ /*fake_override*/ fun join(): kotlin.Unit public final override /*1*/ /*fake_override*/ fun join(/*0*/ p0: kotlin.Long): kotlin.Unit public final override /*1*/ /*fake_override*/ fun join(/*0*/ p0: kotlin.Long, /*1*/ p1: kotlin.Int): kotlin.Unit - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public final override /*1*/ /*fake_override*/ fun resume(): kotlin.Unit + kotlin.deprecated(value = "Deprecated in Java") public final override /*1*/ /*fake_override*/ fun resume(): kotlin.Unit invisible_fake open override /*1*/ /*fake_override*/ fun resume0(): kotlin.Unit public open override /*1*/ fun run(): kotlin.Unit public open override /*1*/ /*fake_override*/ fun setContextClassLoader(/*0*/ p0: java.lang.ClassLoader!): kotlin.Unit @@ -64,10 +64,10 @@ internal final class Test : java.lang.Thread { public open override /*1*/ /*fake_override*/ fun setUncaughtExceptionHandler(/*0*/ p0: java.lang.Thread.UncaughtExceptionHandler!): kotlin.Unit public open override /*1*/ /*fake_override*/ fun start(): kotlin.Unit invisible_fake open override /*1*/ /*fake_override*/ fun start0(): kotlin.Unit - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public final override /*1*/ /*fake_override*/ fun stop(): kotlin.Unit - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public final override /*1*/ /*fake_override*/ fun stop(/*0*/ p0: kotlin.Throwable!): kotlin.Unit + kotlin.deprecated(value = "Deprecated in Java") public final override /*1*/ /*fake_override*/ fun stop(): kotlin.Unit + kotlin.deprecated(value = "Deprecated in Java") public final override /*1*/ /*fake_override*/ fun stop(/*0*/ p0: kotlin.Throwable!): kotlin.Unit invisible_fake open override /*1*/ /*fake_override*/ fun stop0(/*0*/ p0: kotlin.Any!): kotlin.Unit - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public final override /*1*/ /*fake_override*/ fun suspend(): kotlin.Unit + kotlin.deprecated(value = "Deprecated in Java") public final override /*1*/ /*fake_override*/ fun suspend(): kotlin.Unit invisible_fake open override /*1*/ /*fake_override*/ fun suspend0(): kotlin.Unit public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String! diff --git a/compiler/testData/diagnostics/tests/secondaryConstructors/ctrsAnnotationResolve.txt b/compiler/testData/diagnostics/tests/secondaryConstructors/ctrsAnnotationResolve.txt index a6ade97ce81..fe82d9818f9 100644 --- a/compiler/testData/diagnostics/tests/secondaryConstructors/ctrsAnnotationResolve.txt +++ b/compiler/testData/diagnostics/tests/secondaryConstructors/ctrsAnnotationResolve.txt @@ -3,7 +3,7 @@ package internal final class A { Ann1() public constructor A() Ann2() public constructor A(/*0*/ x1: kotlin.Int) - Ann2(x = IntegerValueType(2): IntegerValueType(2)) public constructor A(/*0*/ x1: kotlin.Int, /*1*/ x2: kotlin.Int) + Ann2(x = IntegerValueType(2)) public constructor A(/*0*/ x1: kotlin.Int, /*1*/ x2: kotlin.Int) public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String diff --git a/compiler/testData/diagnostics/tests/suppress/allWarnings/suppressWarningsOnClass.txt b/compiler/testData/diagnostics/tests/suppress/allWarnings/suppressWarningsOnClass.txt index 32609ed1a4e..c3fc9434b71 100644 --- a/compiler/testData/diagnostics/tests/suppress/allWarnings/suppressWarningsOnClass.txt +++ b/compiler/testData/diagnostics/tests/suppress/allWarnings/suppressWarningsOnClass.txt @@ -1,6 +1,6 @@ package -kotlin.suppress(names = {"warnings"}: kotlin.Array) internal final class C { +kotlin.suppress(names = {"warnings"}) internal final class C { public constructor C() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean internal final fun foo(/*0*/ p: kotlin.String?): kotlin.Unit diff --git a/compiler/testData/diagnostics/tests/suppress/allWarnings/suppressWarningsOnClassObject.txt b/compiler/testData/diagnostics/tests/suppress/allWarnings/suppressWarningsOnClassObject.txt index 4dc4885e370..860d6f87d4d 100644 --- a/compiler/testData/diagnostics/tests/suppress/allWarnings/suppressWarningsOnClassObject.txt +++ b/compiler/testData/diagnostics/tests/suppress/allWarnings/suppressWarningsOnClassObject.txt @@ -6,7 +6,7 @@ internal final class C { public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String - kotlin.suppress(names = {"warnings"}: kotlin.Array) public companion object Companion { + kotlin.suppress(names = {"warnings"}) public companion object Companion { private constructor Companion() internal final val foo: kotlin.String? = null public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean diff --git a/compiler/testData/diagnostics/tests/suppress/allWarnings/suppressWarningsOnFunction.txt b/compiler/testData/diagnostics/tests/suppress/allWarnings/suppressWarningsOnFunction.txt index ef079d3c01d..45d1239780f 100644 --- a/compiler/testData/diagnostics/tests/suppress/allWarnings/suppressWarningsOnFunction.txt +++ b/compiler/testData/diagnostics/tests/suppress/allWarnings/suppressWarningsOnFunction.txt @@ -3,7 +3,7 @@ package internal final class C { public constructor C() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean - kotlin.suppress(names = {"warnings"}: kotlin.Array) internal final fun foo(/*0*/ p: kotlin.String?): kotlin.Unit + kotlin.suppress(names = {"warnings"}) internal final fun foo(/*0*/ p: kotlin.String?): kotlin.Unit public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } diff --git a/compiler/testData/diagnostics/tests/suppress/allWarnings/suppressWarningsOnObject.txt b/compiler/testData/diagnostics/tests/suppress/allWarnings/suppressWarningsOnObject.txt index f049df2cb8e..27b71b9d0ee 100644 --- a/compiler/testData/diagnostics/tests/suppress/allWarnings/suppressWarningsOnObject.txt +++ b/compiler/testData/diagnostics/tests/suppress/allWarnings/suppressWarningsOnObject.txt @@ -1,6 +1,6 @@ package -kotlin.suppress(names = {"warnings"}: kotlin.Array) internal object C { +kotlin.suppress(names = {"warnings"}) internal object C { private constructor C() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean internal final fun foo(/*0*/ p: kotlin.String?): kotlin.Unit diff --git a/compiler/testData/diagnostics/tests/suppress/allWarnings/suppressWarningsOnParameter.txt b/compiler/testData/diagnostics/tests/suppress/allWarnings/suppressWarningsOnParameter.txt index 0846b889e4b..55d9e127f2d 100644 --- a/compiler/testData/diagnostics/tests/suppress/allWarnings/suppressWarningsOnParameter.txt +++ b/compiler/testData/diagnostics/tests/suppress/allWarnings/suppressWarningsOnParameter.txt @@ -3,7 +3,7 @@ package internal final class C { public constructor C() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean - internal final fun foo(/*0*/ kotlin.suppress(names = {"warnings"}: kotlin.Array) p: kotlin.String? = ...): kotlin.Unit + internal final fun foo(/*0*/ kotlin.suppress(names = {"warnings"}) p: kotlin.String? = ...): kotlin.Unit public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } diff --git a/compiler/testData/diagnostics/tests/suppress/allWarnings/suppressWarningsOnProperty.txt b/compiler/testData/diagnostics/tests/suppress/allWarnings/suppressWarningsOnProperty.txt index daf6b23cdcc..9f990142fe8 100644 --- a/compiler/testData/diagnostics/tests/suppress/allWarnings/suppressWarningsOnProperty.txt +++ b/compiler/testData/diagnostics/tests/suppress/allWarnings/suppressWarningsOnProperty.txt @@ -2,7 +2,7 @@ package internal final class C { public constructor C() - kotlin.suppress(names = {"warnings"}: kotlin.Array) internal final val foo: kotlin.String? = null + kotlin.suppress(names = {"warnings"}) internal final val foo: kotlin.String? = null public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String diff --git a/compiler/testData/diagnostics/tests/suppress/manyWarnings/mixed.txt b/compiler/testData/diagnostics/tests/suppress/manyWarnings/mixed.txt index 4b11629ff4a..a8afbfdfa50 100644 --- a/compiler/testData/diagnostics/tests/suppress/manyWarnings/mixed.txt +++ b/compiler/testData/diagnostics/tests/suppress/manyWarnings/mixed.txt @@ -1,9 +1,9 @@ package -kotlin.suppress(names = {"REDUNDANT_NULLABLE"}: kotlin.Array) internal final class C { +kotlin.suppress(names = {"REDUNDANT_NULLABLE"}) internal final class C { public constructor C() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean - kotlin.suppress(names = {"UNNECESSARY_NOT_NULL_ASSERTION"}: kotlin.Array) internal final fun foo(): kotlin.String? + kotlin.suppress(names = {"UNNECESSARY_NOT_NULL_ASSERTION"}) internal final fun foo(): kotlin.String? public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } diff --git a/compiler/testData/diagnostics/tests/suppress/manyWarnings/onClass.txt b/compiler/testData/diagnostics/tests/suppress/manyWarnings/onClass.txt index 3c7ab031280..900d1667150 100644 --- a/compiler/testData/diagnostics/tests/suppress/manyWarnings/onClass.txt +++ b/compiler/testData/diagnostics/tests/suppress/manyWarnings/onClass.txt @@ -1,6 +1,6 @@ package -kotlin.suppress(names = {"REDUNDANT_NULLABLE", "UNNECESSARY_NOT_NULL_ASSERTION"}: kotlin.Array) internal final class C { +kotlin.suppress(names = {"REDUNDANT_NULLABLE", "UNNECESSARY_NOT_NULL_ASSERTION"}) internal final class C { public constructor C() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean internal final fun foo(): kotlin.String? diff --git a/compiler/testData/diagnostics/tests/suppress/manyWarnings/onClassObject.txt b/compiler/testData/diagnostics/tests/suppress/manyWarnings/onClassObject.txt index bcee0c2d38b..66c27d6a84d 100644 --- a/compiler/testData/diagnostics/tests/suppress/manyWarnings/onClassObject.txt +++ b/compiler/testData/diagnostics/tests/suppress/manyWarnings/onClassObject.txt @@ -6,7 +6,7 @@ internal final class C { public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String - kotlin.suppress(names = {"REDUNDANT_NULLABLE", "UNNECESSARY_NOT_NULL_ASSERTION"}: kotlin.Array) public companion object Companion { + kotlin.suppress(names = {"REDUNDANT_NULLABLE", "UNNECESSARY_NOT_NULL_ASSERTION"}) public companion object Companion { private constructor Companion() internal final val foo: kotlin.String? public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean diff --git a/compiler/testData/diagnostics/tests/suppress/manyWarnings/onFunction.txt b/compiler/testData/diagnostics/tests/suppress/manyWarnings/onFunction.txt index d52fa1405ff..52f0b8ba5e2 100644 --- a/compiler/testData/diagnostics/tests/suppress/manyWarnings/onFunction.txt +++ b/compiler/testData/diagnostics/tests/suppress/manyWarnings/onFunction.txt @@ -3,7 +3,7 @@ package internal final class C { public constructor C() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean - kotlin.suppress(names = {"REDUNDANT_NULLABLE", "UNNECESSARY_NOT_NULL_ASSERTION"}: kotlin.Array) internal final fun foo(): kotlin.String? + kotlin.suppress(names = {"REDUNDANT_NULLABLE", "UNNECESSARY_NOT_NULL_ASSERTION"}) internal final fun foo(): kotlin.String? public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } diff --git a/compiler/testData/diagnostics/tests/suppress/manyWarnings/onObject.txt b/compiler/testData/diagnostics/tests/suppress/manyWarnings/onObject.txt index 0f3c9dfd009..f61cdf55dde 100644 --- a/compiler/testData/diagnostics/tests/suppress/manyWarnings/onObject.txt +++ b/compiler/testData/diagnostics/tests/suppress/manyWarnings/onObject.txt @@ -1,6 +1,6 @@ package -kotlin.suppress(names = {"REDUNDANT_NULLABLE", "UNNECESSARY_NOT_NULL_ASSERTION"}: kotlin.Array) internal object C { +kotlin.suppress(names = {"REDUNDANT_NULLABLE", "UNNECESSARY_NOT_NULL_ASSERTION"}) internal object C { private constructor C() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean internal final fun foo(): kotlin.String? diff --git a/compiler/testData/diagnostics/tests/suppress/manyWarnings/onParameter.txt b/compiler/testData/diagnostics/tests/suppress/manyWarnings/onParameter.txt index 62062f20944..38b46df3133 100644 --- a/compiler/testData/diagnostics/tests/suppress/manyWarnings/onParameter.txt +++ b/compiler/testData/diagnostics/tests/suppress/manyWarnings/onParameter.txt @@ -3,7 +3,7 @@ package internal final class C { public constructor C() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean - internal final fun foo(/*0*/ kotlin.suppress(names = {"REDUNDANT_NULLABLE", "UNNECESSARY_NOT_NULL_ASSERTION"}: kotlin.Array) p: kotlin.String? = ...): kotlin.String? + internal final fun foo(/*0*/ kotlin.suppress(names = {"REDUNDANT_NULLABLE", "UNNECESSARY_NOT_NULL_ASSERTION"}) p: kotlin.String? = ...): kotlin.String? public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } diff --git a/compiler/testData/diagnostics/tests/suppress/manyWarnings/onProperty.txt b/compiler/testData/diagnostics/tests/suppress/manyWarnings/onProperty.txt index 16d4baa8761..2ebff560245 100644 --- a/compiler/testData/diagnostics/tests/suppress/manyWarnings/onProperty.txt +++ b/compiler/testData/diagnostics/tests/suppress/manyWarnings/onProperty.txt @@ -2,7 +2,7 @@ package internal final class C { public constructor C() - kotlin.suppress(names = {"REDUNDANT_NULLABLE", "UNNECESSARY_NOT_NULL_ASSERTION"}: kotlin.Array) internal final val foo: kotlin.String? + kotlin.suppress(names = {"REDUNDANT_NULLABLE", "UNNECESSARY_NOT_NULL_ASSERTION"}) internal final val foo: kotlin.String? public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String diff --git a/compiler/testData/diagnostics/tests/suppress/oneWarning/onClass.txt b/compiler/testData/diagnostics/tests/suppress/oneWarning/onClass.txt index dd3782ccc2d..583fd58f7fe 100644 --- a/compiler/testData/diagnostics/tests/suppress/oneWarning/onClass.txt +++ b/compiler/testData/diagnostics/tests/suppress/oneWarning/onClass.txt @@ -1,6 +1,6 @@ package -kotlin.suppress(names = {"REDUNDANT_NULLABLE"}: kotlin.Array) internal final class C { +kotlin.suppress(names = {"REDUNDANT_NULLABLE"}) internal final class C { public constructor C() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean internal final fun foo(): kotlin.String? diff --git a/compiler/testData/diagnostics/tests/suppress/oneWarning/onClassObject.txt b/compiler/testData/diagnostics/tests/suppress/oneWarning/onClassObject.txt index 2022b7bfcb0..e395709a024 100644 --- a/compiler/testData/diagnostics/tests/suppress/oneWarning/onClassObject.txt +++ b/compiler/testData/diagnostics/tests/suppress/oneWarning/onClassObject.txt @@ -6,7 +6,7 @@ internal final class C { public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String - kotlin.suppress(names = {"REDUNDANT_NULLABLE"}: kotlin.Array) public companion object Companion { + kotlin.suppress(names = {"REDUNDANT_NULLABLE"}) public companion object Companion { private constructor Companion() internal final val foo: kotlin.String? = null public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean diff --git a/compiler/testData/diagnostics/tests/suppress/oneWarning/onFunction.txt b/compiler/testData/diagnostics/tests/suppress/oneWarning/onFunction.txt index 1c92466e71d..a8361855ee7 100644 --- a/compiler/testData/diagnostics/tests/suppress/oneWarning/onFunction.txt +++ b/compiler/testData/diagnostics/tests/suppress/oneWarning/onFunction.txt @@ -3,7 +3,7 @@ package internal final class C { public constructor C() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean - kotlin.suppress(names = {"REDUNDANT_NULLABLE"}: kotlin.Array) internal final fun foo(): kotlin.String? + kotlin.suppress(names = {"REDUNDANT_NULLABLE"}) internal final fun foo(): kotlin.String? public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } diff --git a/compiler/testData/diagnostics/tests/suppress/oneWarning/onObject.txt b/compiler/testData/diagnostics/tests/suppress/oneWarning/onObject.txt index 7caa41d1509..4121a21e575 100644 --- a/compiler/testData/diagnostics/tests/suppress/oneWarning/onObject.txt +++ b/compiler/testData/diagnostics/tests/suppress/oneWarning/onObject.txt @@ -1,6 +1,6 @@ package -kotlin.suppress(names = {"REDUNDANT_NULLABLE"}: kotlin.Array) internal object C { +kotlin.suppress(names = {"REDUNDANT_NULLABLE"}) internal object C { private constructor C() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean internal final fun foo(): kotlin.String? diff --git a/compiler/testData/diagnostics/tests/suppress/oneWarning/onParameter.txt b/compiler/testData/diagnostics/tests/suppress/oneWarning/onParameter.txt index 53ad9bc5a82..659746d6fe8 100644 --- a/compiler/testData/diagnostics/tests/suppress/oneWarning/onParameter.txt +++ b/compiler/testData/diagnostics/tests/suppress/oneWarning/onParameter.txt @@ -3,7 +3,7 @@ package internal final class C { public constructor C() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean - internal final fun foo(/*0*/ kotlin.suppress(names = {"REDUNDANT_NULLABLE"}: kotlin.Array) p: kotlin.String? = ...): kotlin.String? + internal final fun foo(/*0*/ kotlin.suppress(names = {"REDUNDANT_NULLABLE"}) p: kotlin.String? = ...): kotlin.String? public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } diff --git a/compiler/testData/diagnostics/tests/suppress/oneWarning/onProperty.txt b/compiler/testData/diagnostics/tests/suppress/oneWarning/onProperty.txt index 54fe78ad923..a9d6a4c8e3a 100644 --- a/compiler/testData/diagnostics/tests/suppress/oneWarning/onProperty.txt +++ b/compiler/testData/diagnostics/tests/suppress/oneWarning/onProperty.txt @@ -2,7 +2,7 @@ package internal final class C { public constructor C() - kotlin.suppress(names = {"REDUNDANT_NULLABLE"}: kotlin.Array) internal final val foo: kotlin.String? = null + kotlin.suppress(names = {"REDUNDANT_NULLABLE"}) internal final val foo: kotlin.String? = null public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String diff --git a/compiler/testData/diagnostics/testsWithStdLib/annotations/ClassObjectAnnotatedWithItsKClass.txt b/compiler/testData/diagnostics/testsWithStdLib/annotations/ClassObjectAnnotatedWithItsKClass.txt index d6d7c8da0e3..b6f5edd1e9b 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/annotations/ClassObjectAnnotatedWithItsKClass.txt +++ b/compiler/testData/diagnostics/testsWithStdLib/annotations/ClassObjectAnnotatedWithItsKClass.txt @@ -16,7 +16,7 @@ package test { public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String - test.AnnClass(a = test.MyClass::class: kotlin.reflect.KClass) public companion object Companion { + test.AnnClass(a = test.MyClass::class) public companion object Companion { private constructor Companion() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int diff --git a/compiler/testData/diagnostics/testsWithStdLib/annotations/annotationApplicability/illegalPlatformName.txt b/compiler/testData/diagnostics/testsWithStdLib/annotations/annotationApplicability/illegalPlatformName.txt index b7abfc4041d..f253034bb18 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/annotations/annotationApplicability/illegalPlatformName.txt +++ b/compiler/testData/diagnostics/testsWithStdLib/annotations/annotationApplicability/illegalPlatformName.txt @@ -1,6 +1,6 @@ package -kotlin.platform.platformName(name = ".": kotlin.String) internal fun foo(): kotlin.Unit -kotlin.platform.platformName(name = "": kotlin.String) internal fun foo(/*0*/ a: kotlin.Any): kotlin.Unit -kotlin.platform.platformName(name = "<": kotlin.String) internal fun fooLT(): kotlin.Unit -kotlin.platform.platformName(name = "/": kotlin.String) internal fun fooSlash(): kotlin.Unit +kotlin.platform.platformName(name = ".") internal fun foo(): kotlin.Unit +kotlin.platform.platformName(name = "") internal fun foo(/*0*/ a: kotlin.Any): kotlin.Unit +kotlin.platform.platformName(name = "<") internal fun fooLT(): kotlin.Unit +kotlin.platform.platformName(name = "/") internal fun fooSlash(): kotlin.Unit diff --git a/compiler/testData/diagnostics/testsWithStdLib/annotations/annotationApplicability/platformName.txt b/compiler/testData/diagnostics/testsWithStdLib/annotations/annotationApplicability/platformName.txt index a9dcf8aeccf..b2f8f3c2d62 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/annotations/annotationApplicability/platformName.txt +++ b/compiler/testData/diagnostics/testsWithStdLib/annotations/annotationApplicability/platformName.txt @@ -1,45 +1,45 @@ package -kotlin.platform.platformName(name = "c": kotlin.String) internal val px: kotlin.Int = 1 +kotlin.platform.platformName(name = "c") internal val px: kotlin.Int = 1 internal val valx: kotlin.Int internal var vardef: kotlin.Int internal var varx: kotlin.Int -kotlin.platform.platformName(name = "d": kotlin.String) internal val kotlin.Any.px: kotlin.Int -kotlin.platform.platformName(name = "a": kotlin.String) internal fun foo(): kotlin.Unit +kotlin.platform.platformName(name = "d") internal val kotlin.Any.px: kotlin.Int +kotlin.platform.platformName(name = "a") internal fun foo(): kotlin.Unit internal fun foo1(): kotlin.Unit -kotlin.platform.platformName(name = "b": kotlin.String) internal fun kotlin.Any.foo(): kotlin.Unit +kotlin.platform.platformName(name = "b") internal fun kotlin.Any.foo(): kotlin.Unit internal abstract class AB { public constructor AB() - kotlin.platform.platformName(name = "AB_absFun1": kotlin.String) internal abstract fun absFun1(): kotlin.Unit + kotlin.platform.platformName(name = "AB_absFun1") internal abstract fun absFun1(): kotlin.Unit internal abstract fun absFun2(): kotlin.Unit public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int - kotlin.platform.platformName(name = "AB_openFun": kotlin.String) internal open fun openFun(): kotlin.Unit + kotlin.platform.platformName(name = "AB_openFun") internal open fun openFun(): kotlin.Unit public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } -kotlin.platform.platformName(name = "C": kotlin.String) internal final class C { - kotlin.platform.platformName(name = "primary": kotlin.String) public constructor C() - kotlin.platform.platformName(name = "ctr": kotlin.String) public constructor C(/*0*/ x: kotlin.Int) - kotlin.platform.platformName(name = "c": kotlin.String) internal final val px: kotlin.Int = 1 +kotlin.platform.platformName(name = "C") internal final class C { + kotlin.platform.platformName(name = "primary") public constructor C() + kotlin.platform.platformName(name = "ctr") public constructor C(/*0*/ x: kotlin.Int) + kotlin.platform.platformName(name = "c") internal final val px: kotlin.Int = 1 internal final val valx: kotlin.Int internal final var varx: kotlin.Int - kotlin.platform.platformName(name = "d": kotlin.String) internal final val kotlin.Any.px: kotlin.Int + kotlin.platform.platformName(name = "d") internal final val kotlin.Any.px: kotlin.Int public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean - kotlin.platform.platformName(name = "a": kotlin.String) internal final fun foo(): kotlin.Unit + kotlin.platform.platformName(name = "a") internal final fun foo(): kotlin.Unit public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String - kotlin.platform.platformName(name = "b": kotlin.String) internal final fun kotlin.Any.foo(): kotlin.Unit + kotlin.platform.platformName(name = "b") internal final fun kotlin.Any.foo(): kotlin.Unit } internal final class D : AB { public constructor D() internal open override /*1*/ fun absFun1(): kotlin.Unit - kotlin.platform.platformName(name = "D_absFun2": kotlin.String) internal open override /*1*/ fun absFun2(): kotlin.Unit + kotlin.platform.platformName(name = "D_absFun2") internal open override /*1*/ fun absFun2(): kotlin.Unit public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean - kotlin.platform.platformName(name = "D_finalFun": kotlin.String) internal final fun finalFun(): kotlin.Unit + kotlin.platform.platformName(name = "D_finalFun") internal final fun finalFun(): kotlin.Unit public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int - kotlin.platform.platformName(name = "D_openFun": kotlin.String) internal final override /*1*/ fun openFun(): kotlin.Unit + kotlin.platform.platformName(name = "D_openFun") internal final override /*1*/ fun openFun(): kotlin.Unit public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } diff --git a/compiler/testData/diagnostics/testsWithStdLib/annotations/annotationClassMethodCall.txt b/compiler/testData/diagnostics/testsWithStdLib/annotations/annotationClassMethodCall.txt index d4f7f9dd305..cb1cabf4374 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/annotations/annotationClassMethodCall.txt +++ b/compiler/testData/diagnostics/testsWithStdLib/annotations/annotationClassMethodCall.txt @@ -14,7 +14,7 @@ public final annotation class A : kotlin.Annotation { public abstract fun value(): kotlin.String } -A(arg = IntegerValueType(1): IntegerValueType(1), value = "a": kotlin.String) internal final class MyClass { +A(arg = IntegerValueType(1), value = "a") internal final class MyClass { public constructor MyClass() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int diff --git a/compiler/testData/diagnostics/testsWithStdLib/annotations/annotationParameterMustBeConstant/array.txt b/compiler/testData/diagnostics/testsWithStdLib/annotations/annotationParameterMustBeConstant/array.txt index f240fd6bcb1..db00d009415 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/annotations/annotationParameterMustBeConstant/array.txt +++ b/compiler/testData/diagnostics/testsWithStdLib/annotations/annotationParameterMustBeConstant/array.txt @@ -22,14 +22,14 @@ internal final annotation class AnnAnn : kotlin.Annotation { public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } -Ann(i = {}: kotlin.IntArray) Ann(i = {1}: kotlin.IntArray) Ann(i = {}: kotlin.IntArray) Ann(i = {1}: kotlin.IntArray) Ann(i = {{1}}: kotlin.IntArray) internal final class Test { +Ann(i = {}) Ann(i = {1}) Ann(i = {}) Ann(i = {1}) Ann(i = {{1}}) internal final class Test { public constructor Test() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } -AnnAnn(i = {Ann(i = {IntegerValueType(1)}: kotlin.IntArray)}: kotlin.Array) AnnAnn(i = {}: kotlin.Array) internal final class TestAnn { +AnnAnn(i = {Ann(i = {IntegerValueType(1)})}) AnnAnn(i = {}) internal final class TestAnn { public constructor TestAnn() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int diff --git a/compiler/testData/diagnostics/testsWithStdLib/annotations/annotationParameterMustBeConstant/simple.txt b/compiler/testData/diagnostics/testsWithStdLib/annotations/annotationParameterMustBeConstant/simple.txt index 35f9b6c69ac..fa1d18de8ab 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/annotations/annotationParameterMustBeConstant/simple.txt +++ b/compiler/testData/diagnostics/testsWithStdLib/annotations/annotationParameterMustBeConstant/simple.txt @@ -45,10 +45,10 @@ internal final class MyClass { public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } -Ann(i = 1: kotlin.Int) Ann() Ann() AnnIA() AnnSA() internal final class Test { +Ann(i = 1) Ann() Ann() AnnIA() AnnSA() internal final class Test { public constructor Test() internal final val i: kotlin.Int = 1 - Ann(i = 1: kotlin.Int) internal final val i2: kotlin.Int = 1 + Ann(i = 1) internal final val i2: kotlin.Int = 1 public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String diff --git a/compiler/testData/diagnostics/testsWithStdLib/annotations/annotationParameterMustBeConstant/vararg.txt b/compiler/testData/diagnostics/testsWithStdLib/annotations/annotationParameterMustBeConstant/vararg.txt index cbb59d4c3e5..6e2588a7779 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/annotations/annotationParameterMustBeConstant/vararg.txt +++ b/compiler/testData/diagnostics/testsWithStdLib/annotations/annotationParameterMustBeConstant/vararg.txt @@ -22,14 +22,14 @@ internal final annotation class AnnAnn : kotlin.Annotation { public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } -Ann(i = {}: kotlin.IntArray) Ann(i = {1}: kotlin.IntArray) Ann(i = {}: kotlin.IntArray) Ann(i = {1}: kotlin.IntArray) Ann(i = {}: kotlin.IntArray) Ann(i = {1}: kotlin.IntArray) Ann(i = {}: kotlin.IntArray) Ann(i = {1}: kotlin.IntArray) internal final class Test { +Ann(i = {}) Ann(i = {1}) Ann(i = {}) Ann(i = {1}) Ann(i = {}) Ann(i = {1}) Ann(i = {}) Ann(i = {1}) internal final class Test { public constructor Test() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } -AnnAnn(i = {Ann(i = {IntegerValueType(1)}: kotlin.IntArray)}: kotlin.Array) AnnAnn(i = {}: kotlin.Array) internal final class TestAnn { +AnnAnn(i = {Ann(i = {IntegerValueType(1)})}) AnnAnn(i = {}) internal final class TestAnn { public constructor TestAnn() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int diff --git a/compiler/testData/diagnostics/testsWithStdLib/annotations/annotationParameters/valueArray.txt b/compiler/testData/diagnostics/testsWithStdLib/annotations/annotationParameters/valueArray.txt index c75f9743c82..c5af1272f2e 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/annotations/annotationParameters/valueArray.txt +++ b/compiler/testData/diagnostics/testsWithStdLib/annotations/annotationParameters/valueArray.txt @@ -1,13 +1,13 @@ package -A(value = {"1", "2", "3"}: kotlin.Array, y = IntegerValueType(1): IntegerValueType(1)) internal fun test1(): kotlin.Unit -A(value = {"4"}: kotlin.Array, y = IntegerValueType(2): IntegerValueType(2)) internal fun test2(): kotlin.Unit -A(value = {{"5", "6"}, "7"}: kotlin.Array, y = IntegerValueType(3): IntegerValueType(3)) internal fun test3(): kotlin.Unit -A(value = {"1", "2", "3"}: kotlin.Array, x = kotlin.String::class: kotlin.reflect.KClass, y = IntegerValueType(4): IntegerValueType(4)) internal fun test4(): kotlin.Unit -A(value = {"4"}: kotlin.Array, y = IntegerValueType(5): IntegerValueType(5)) internal fun test5(): kotlin.Unit -A(value = {{"5", "6"}, "7"}: kotlin.Array, x = kotlin.Any::class: kotlin.reflect.KClass, y = IntegerValueType(6): IntegerValueType(6)) internal fun test6(): kotlin.Unit -A(value = {}: kotlin.Array, y = IntegerValueType(7): IntegerValueType(7)) internal fun test7(): kotlin.Unit -A(value = {"8", "9", "10"}: kotlin.Array) internal fun test8(): kotlin.Unit +A(value = {"1", "2", "3"}, y = IntegerValueType(1)) internal fun test1(): kotlin.Unit +A(value = {"4"}, y = IntegerValueType(2)) internal fun test2(): kotlin.Unit +A(value = {{"5", "6"}, "7"}, y = IntegerValueType(3)) internal fun test3(): kotlin.Unit +A(value = {"1", "2", "3"}, x = kotlin.String::class, y = IntegerValueType(4)) internal fun test4(): kotlin.Unit +A(value = {"4"}, y = IntegerValueType(5)) internal fun test5(): kotlin.Unit +A(value = {{"5", "6"}, "7"}, x = kotlin.Any::class, y = IntegerValueType(6)) internal fun test6(): kotlin.Unit +A(value = {}, y = IntegerValueType(7)) internal fun test7(): kotlin.Unit +A(value = {"8", "9", "10"}) internal fun test8(): kotlin.Unit public final annotation class A : kotlin.Annotation { public constructor A(/*0*/ vararg value: kotlin.String /*kotlin.Array*/, /*1*/ x: kotlin.reflect.KClass<*> = ..., /*2*/ y: kotlin.Int) diff --git a/compiler/testData/diagnostics/testsWithStdLib/annotations/annotationParameters/valueArrayAndOtherDefault.txt b/compiler/testData/diagnostics/testsWithStdLib/annotations/annotationParameters/valueArrayAndOtherDefault.txt index 406b9293b45..3a0f8acfd92 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/annotations/annotationParameters/valueArrayAndOtherDefault.txt +++ b/compiler/testData/diagnostics/testsWithStdLib/annotations/annotationParameters/valueArrayAndOtherDefault.txt @@ -1,16 +1,16 @@ package -A(value = {"1", "2", "3"}: kotlin.Array) internal fun test1(): kotlin.Unit -A(value = {"5", "6"}: kotlin.Array, x = kotlin.Any::class: kotlin.reflect.KClass, y = IntegerValueType(3): IntegerValueType(3)) internal fun test10(): kotlin.Unit -A(value = {"5", "6", "7"}: kotlin.Array, x = kotlin.Any::class: kotlin.reflect.KClass, y = IntegerValueType(3): IntegerValueType(3)) internal fun test11(): kotlin.Unit -A(value = {"4"}: kotlin.Array) internal fun test2(): kotlin.Unit -A(value = {{"5", "6"}, "7"}: kotlin.Array) internal fun test3(): kotlin.Unit -A(value = {"1", "2", "3"}: kotlin.Array, x = kotlin.String::class: kotlin.reflect.KClass) internal fun test4(): kotlin.Unit -A(value = {"4"}: kotlin.Array, y = IntegerValueType(2): IntegerValueType(2)) internal fun test5(): kotlin.Unit -A(value = {{"5", "6"}, "7"}: kotlin.Array, x = kotlin.Any::class: kotlin.reflect.KClass, y = IntegerValueType(3): IntegerValueType(3)) internal fun test6(): kotlin.Unit -A(value = {}: kotlin.Array) internal fun test7(): kotlin.Unit -A(value = {}: kotlin.Array) internal fun test8(): kotlin.Unit -A(value = {}: kotlin.Array, x = kotlin.Any::class: kotlin.reflect.KClass, y = IntegerValueType(3): IntegerValueType(3)) internal fun test9(): kotlin.Unit +A(value = {"1", "2", "3"}) internal fun test1(): kotlin.Unit +A(value = {"5", "6"}, x = kotlin.Any::class, y = IntegerValueType(3)) internal fun test10(): kotlin.Unit +A(value = {"5", "6", "7"}, x = kotlin.Any::class, y = IntegerValueType(3)) internal fun test11(): kotlin.Unit +A(value = {"4"}) internal fun test2(): kotlin.Unit +A(value = {{"5", "6"}, "7"}) internal fun test3(): kotlin.Unit +A(value = {"1", "2", "3"}, x = kotlin.String::class) internal fun test4(): kotlin.Unit +A(value = {"4"}, y = IntegerValueType(2)) internal fun test5(): kotlin.Unit +A(value = {{"5", "6"}, "7"}, x = kotlin.Any::class, y = IntegerValueType(3)) internal fun test6(): kotlin.Unit +A(value = {}) internal fun test7(): kotlin.Unit +A(value = {}) internal fun test8(): kotlin.Unit +A(value = {}, x = kotlin.Any::class, y = IntegerValueType(3)) internal fun test9(): kotlin.Unit public final annotation class A : kotlin.Annotation { public constructor A(/*0*/ vararg value: kotlin.String /*kotlin.Array*/, /*1*/ x: kotlin.reflect.KClass<*> = ..., /*2*/ y: kotlin.Int = ...) diff --git a/compiler/testData/diagnostics/testsWithStdLib/annotations/annotationParameters/valueArrayOnly.txt b/compiler/testData/diagnostics/testsWithStdLib/annotations/annotationParameters/valueArrayOnly.txt index 941327b32c1..bc2cf56de7a 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/annotations/annotationParameters/valueArrayOnly.txt +++ b/compiler/testData/diagnostics/testsWithStdLib/annotations/annotationParameters/valueArrayOnly.txt @@ -1,10 +1,10 @@ package -A(value = {"1", "2", "3"}: kotlin.Array) internal fun test1(): kotlin.Unit -A(value = {"4"}: kotlin.Array) internal fun test2(): kotlin.Unit -A(value = {{"5", "6"}, "7"}: kotlin.Array) internal fun test3(): kotlin.Unit -A(value = {}: kotlin.Array) internal fun test4(): kotlin.Unit -A(value = {}: kotlin.Array) internal fun test5(): kotlin.Unit +A(value = {"1", "2", "3"}) internal fun test1(): kotlin.Unit +A(value = {"4"}) internal fun test2(): kotlin.Unit +A(value = {{"5", "6"}, "7"}) internal fun test3(): kotlin.Unit +A(value = {}) internal fun test4(): kotlin.Unit +A(value = {}) internal fun test5(): kotlin.Unit public final annotation class A : kotlin.Annotation { public constructor A(/*0*/ vararg value: kotlin.String /*kotlin.Array*/) diff --git a/compiler/testData/diagnostics/testsWithStdLib/annotations/annotationParameters/valueArrayWithDefault.txt b/compiler/testData/diagnostics/testsWithStdLib/annotations/annotationParameters/valueArrayWithDefault.txt index fa78097c9e5..ffaeaa870ba 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/annotations/annotationParameters/valueArrayWithDefault.txt +++ b/compiler/testData/diagnostics/testsWithStdLib/annotations/annotationParameters/valueArrayWithDefault.txt @@ -1,8 +1,8 @@ package -A(value = {"1", "2", "3"}: kotlin.Array) internal fun test1(): kotlin.Unit -A(value = {"4"}: kotlin.Array) internal fun test2(): kotlin.Unit -A(value = {{"5", "6"}, "7"}: kotlin.Array) internal fun test3(): kotlin.Unit +A(value = {"1", "2", "3"}) internal fun test1(): kotlin.Unit +A(value = {"4"}) internal fun test2(): kotlin.Unit +A(value = {{"5", "6"}, "7"}) internal fun test3(): kotlin.Unit A() internal fun test4(): kotlin.Unit A() internal fun test5(): kotlin.Unit diff --git a/compiler/testData/diagnostics/testsWithStdLib/annotations/annotationWithVarargParameter/javaAnnotationWithVarargArgument.txt b/compiler/testData/diagnostics/testsWithStdLib/annotations/annotationWithVarargParameter/javaAnnotationWithVarargArgument.txt index d3b8c9c1f40..8493cb21b51 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/annotations/annotationWithVarargParameter/javaAnnotationWithVarargArgument.txt +++ b/compiler/testData/diagnostics/testsWithStdLib/annotations/annotationWithVarargParameter/javaAnnotationWithVarargArgument.txt @@ -1,6 +1,6 @@ package -A(value = {IntegerValueType(1), "b"}: kotlin.Array) internal fun test(): kotlin.Unit +A(value = {IntegerValueType(1), "b"}) internal fun test(): kotlin.Unit public final annotation class A : kotlin.Annotation { public constructor A(/*0*/ vararg value: kotlin.String /*kotlin.Array*/) diff --git a/compiler/testData/diagnostics/testsWithStdLib/annotations/annotationWithVarargParameter/kotlinAnnotationWithVarargArgument.txt b/compiler/testData/diagnostics/testsWithStdLib/annotations/annotationWithVarargParameter/kotlinAnnotationWithVarargArgument.txt index b722ae02e81..b721ac4d876 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/annotations/annotationWithVarargParameter/kotlinAnnotationWithVarargArgument.txt +++ b/compiler/testData/diagnostics/testsWithStdLib/annotations/annotationWithVarargParameter/kotlinAnnotationWithVarargArgument.txt @@ -1,6 +1,6 @@ package -B(args = {IntegerValueType(1), "b"}: kotlin.Array) internal fun test(): kotlin.Unit +B(args = {IntegerValueType(1), "b"}) internal fun test(): kotlin.Unit internal final annotation class B : kotlin.Annotation { public constructor B(/*0*/ vararg args: kotlin.String /*kotlin.Array*/) diff --git a/compiler/testData/diagnostics/testsWithStdLib/annotations/javaAnnotationsWithKClassParameter/annotationAsArgument.txt b/compiler/testData/diagnostics/testsWithStdLib/annotations/javaAnnotationsWithKClassParameter/annotationAsArgument.txt index 8d102d2b2cb..12130f57a1f 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/annotations/javaAnnotationsWithKClassParameter/annotationAsArgument.txt +++ b/compiler/testData/diagnostics/testsWithStdLib/annotations/javaAnnotationsWithKClassParameter/annotationAsArgument.txt @@ -24,21 +24,21 @@ public final annotation class B : kotlin.Annotation { public abstract fun y(): kotlin.Int } -A(arg = kotlin.String::class: kotlin.reflect.KClass, b = B(y = IntegerValueType(1): IntegerValueType(1)): B) internal final class MyClass1 { +A(arg = kotlin.String::class, b = B(y = IntegerValueType(1))) internal final class MyClass1 { public constructor MyClass1() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } -A(b = B(y = IntegerValueType(3): IntegerValueType(3)): B) internal final class MyClass2 { +A(b = B(y = IntegerValueType(3))) internal final class MyClass2 { public constructor MyClass2() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } -A(arg = kotlin.String::class: kotlin.reflect.KClass, b = B(arg = kotlin.Boolean::class: kotlin.reflect.KClass): B) internal final class MyClass3 { +A(arg = kotlin.String::class, b = B(arg = kotlin.Boolean::class)) internal final class MyClass3 { public constructor MyClass3() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int diff --git a/compiler/testData/diagnostics/testsWithStdLib/annotations/javaAnnotationsWithKClassParameter/arg.txt b/compiler/testData/diagnostics/testsWithStdLib/annotations/javaAnnotationsWithKClassParameter/arg.txt index 631dcd09ee9..e4717d047f2 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/annotations/javaAnnotationsWithKClassParameter/arg.txt +++ b/compiler/testData/diagnostics/testsWithStdLib/annotations/javaAnnotationsWithKClassParameter/arg.txt @@ -9,7 +9,7 @@ public final annotation class A : kotlin.Annotation { public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } -A(arg = kotlin.String::class: kotlin.reflect.KClass) internal final class MyClass3 { +A(arg = kotlin.String::class) internal final class MyClass3 { public constructor MyClass3() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int diff --git a/compiler/testData/diagnostics/testsWithStdLib/annotations/javaAnnotationsWithKClassParameter/argAndOtherDefault.txt b/compiler/testData/diagnostics/testsWithStdLib/annotations/javaAnnotationsWithKClassParameter/argAndOtherDefault.txt index 1540a77d953..4f2666750ec 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/annotations/javaAnnotationsWithKClassParameter/argAndOtherDefault.txt +++ b/compiler/testData/diagnostics/testsWithStdLib/annotations/javaAnnotationsWithKClassParameter/argAndOtherDefault.txt @@ -11,14 +11,14 @@ public final annotation class A : kotlin.Annotation { public abstract fun x(): kotlin.Int } -A(arg = kotlin.String::class: kotlin.reflect.KClass) internal final class MyClass1 { +A(arg = kotlin.String::class) internal final class MyClass1 { public constructor MyClass1() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } -A(arg = kotlin.String::class: kotlin.reflect.KClass, x = IntegerValueType(2): IntegerValueType(2)) internal final class MyClass2 { +A(arg = kotlin.String::class, x = IntegerValueType(2)) internal final class MyClass2 { public constructor MyClass2() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int diff --git a/compiler/testData/diagnostics/testsWithStdLib/annotations/javaAnnotationsWithKClassParameter/argArray.txt b/compiler/testData/diagnostics/testsWithStdLib/annotations/javaAnnotationsWithKClassParameter/argArray.txt index 48e96760457..ad9fc65193e 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/annotations/javaAnnotationsWithKClassParameter/argArray.txt +++ b/compiler/testData/diagnostics/testsWithStdLib/annotations/javaAnnotationsWithKClassParameter/argArray.txt @@ -9,7 +9,7 @@ public final annotation class A : kotlin.Annotation { public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } -A(arg = {kotlin.String::class, kotlin.Int::class}: kotlin.Array>) internal final class MyClass { +A(arg = {kotlin.String::class, kotlin.Int::class}) internal final class MyClass { public constructor MyClass() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int diff --git a/compiler/testData/diagnostics/testsWithStdLib/annotations/javaAnnotationsWithKClassParameter/argWithDefault.txt b/compiler/testData/diagnostics/testsWithStdLib/annotations/javaAnnotationsWithKClassParameter/argWithDefault.txt index 5c1da464297..dfe18e08c97 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/annotations/javaAnnotationsWithKClassParameter/argWithDefault.txt +++ b/compiler/testData/diagnostics/testsWithStdLib/annotations/javaAnnotationsWithKClassParameter/argWithDefault.txt @@ -9,7 +9,7 @@ public final annotation class A : kotlin.Annotation { public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } -A(arg = kotlin.String::class: kotlin.reflect.KClass) internal final class MyClass1 { +A(arg = kotlin.String::class) internal final class MyClass1 { public constructor MyClass1() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int diff --git a/compiler/testData/diagnostics/testsWithStdLib/annotations/javaAnnotationsWithKClassParameter/argWithDefaultAndOther.txt b/compiler/testData/diagnostics/testsWithStdLib/annotations/javaAnnotationsWithKClassParameter/argWithDefaultAndOther.txt index 30359b05a67..4585128b24c 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/annotations/javaAnnotationsWithKClassParameter/argWithDefaultAndOther.txt +++ b/compiler/testData/diagnostics/testsWithStdLib/annotations/javaAnnotationsWithKClassParameter/argWithDefaultAndOther.txt @@ -11,14 +11,14 @@ public final annotation class A : kotlin.Annotation { public abstract fun x(): kotlin.Int } -A(arg = kotlin.String::class: kotlin.reflect.KClass, x = IntegerValueType(4): IntegerValueType(4)) internal final class MyClass2 { +A(arg = kotlin.String::class, x = IntegerValueType(4)) internal final class MyClass2 { public constructor MyClass2() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } -A(x = IntegerValueType(5): IntegerValueType(5)) internal final class MyClass3 { +A(x = IntegerValueType(5)) internal final class MyClass3 { public constructor MyClass3() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int diff --git a/compiler/testData/diagnostics/testsWithStdLib/annotations/javaAnnotationsWithKClassParameter/twoArgs.txt b/compiler/testData/diagnostics/testsWithStdLib/annotations/javaAnnotationsWithKClassParameter/twoArgs.txt index 2fb26f1f70c..cf23b3bef0b 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/annotations/javaAnnotationsWithKClassParameter/twoArgs.txt +++ b/compiler/testData/diagnostics/testsWithStdLib/annotations/javaAnnotationsWithKClassParameter/twoArgs.txt @@ -11,7 +11,7 @@ public final annotation class A : kotlin.Annotation { public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } -A(arg1 = kotlin.String::class: kotlin.reflect.KClass, arg2 = kotlin.Int::class: kotlin.reflect.KClass) internal final class MyClass { +A(arg1 = kotlin.String::class, arg2 = kotlin.Int::class) internal final class MyClass { public constructor MyClass() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int diff --git a/compiler/testData/diagnostics/testsWithStdLib/annotations/javaAnnotationsWithKClassParameter/value.txt b/compiler/testData/diagnostics/testsWithStdLib/annotations/javaAnnotationsWithKClassParameter/value.txt index c8a4d1be80f..ce33baa7cb8 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/annotations/javaAnnotationsWithKClassParameter/value.txt +++ b/compiler/testData/diagnostics/testsWithStdLib/annotations/javaAnnotationsWithKClassParameter/value.txt @@ -9,14 +9,14 @@ public final annotation class A : kotlin.Annotation { public abstract fun value(): kotlin.reflect.KClass<*> } -A(value = kotlin.String::class: kotlin.reflect.KClass) internal final class MyClass1 { +A(value = kotlin.String::class) internal final class MyClass1 { public constructor MyClass1() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } -A(value = kotlin.String::class: kotlin.reflect.KClass) internal final class MyClass2 { +A(value = kotlin.String::class) internal final class MyClass2 { public constructor MyClass2() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int diff --git a/compiler/testData/diagnostics/testsWithStdLib/annotations/javaAnnotationsWithKClassParameter/valueAndOtherDefault.txt b/compiler/testData/diagnostics/testsWithStdLib/annotations/javaAnnotationsWithKClassParameter/valueAndOtherDefault.txt index 1dbf8aefd33..8a7894a5aea 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/annotations/javaAnnotationsWithKClassParameter/valueAndOtherDefault.txt +++ b/compiler/testData/diagnostics/testsWithStdLib/annotations/javaAnnotationsWithKClassParameter/valueAndOtherDefault.txt @@ -11,28 +11,28 @@ public final annotation class A : kotlin.Annotation { public abstract fun x(): kotlin.Int } -A(value = kotlin.String::class: kotlin.reflect.KClass) internal final class MyClass1 { +A(value = kotlin.String::class) internal final class MyClass1 { public constructor MyClass1() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } -A(value = kotlin.String::class: kotlin.reflect.KClass) internal final class MyClass2 { +A(value = kotlin.String::class) internal final class MyClass2 { public constructor MyClass2() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } -A(value = kotlin.String::class: kotlin.reflect.KClass, x = IntegerValueType(2): IntegerValueType(2)) internal final class MyClass3 { +A(value = kotlin.String::class, x = IntegerValueType(2)) internal final class MyClass3 { public constructor MyClass3() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } -A(value = kotlin.String::class: kotlin.reflect.KClass, x = IntegerValueType(4): IntegerValueType(4)) internal final class MyClass4 { +A(value = kotlin.String::class, x = IntegerValueType(4)) internal final class MyClass4 { public constructor MyClass4() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int diff --git a/compiler/testData/diagnostics/testsWithStdLib/annotations/javaAnnotationsWithKClassParameter/valueArray.txt b/compiler/testData/diagnostics/testsWithStdLib/annotations/javaAnnotationsWithKClassParameter/valueArray.txt index f639e0681ae..404b8943c43 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/annotations/javaAnnotationsWithKClassParameter/valueArray.txt +++ b/compiler/testData/diagnostics/testsWithStdLib/annotations/javaAnnotationsWithKClassParameter/valueArray.txt @@ -9,21 +9,21 @@ public final annotation class A : kotlin.Annotation { public abstract fun value(): kotlin.Array> } -A(value = {kotlin.String::class, kotlin.Int::class}: kotlin.Array>) internal final class MyClass1 { +A(value = {kotlin.String::class, kotlin.Int::class}) internal final class MyClass1 { public constructor MyClass1() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } -A(value = {kotlin.String::class, kotlin.Int::class}: kotlin.Array>>) internal final class MyClass2 { +A(value = {kotlin.String::class, kotlin.Int::class}) internal final class MyClass2 { public constructor MyClass2() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } -A(value = {kotlin.String::class, kotlin.Int::class}: kotlin.Array>>) internal final class MyClass3 { +A(value = {kotlin.String::class, kotlin.Int::class}) internal final class MyClass3 { public constructor MyClass3() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int diff --git a/compiler/testData/diagnostics/testsWithStdLib/annotations/javaAnnotationsWithKClassParameter/valueWithDefault.txt b/compiler/testData/diagnostics/testsWithStdLib/annotations/javaAnnotationsWithKClassParameter/valueWithDefault.txt index cead2117d1b..b2d4e88c8c1 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/annotations/javaAnnotationsWithKClassParameter/valueWithDefault.txt +++ b/compiler/testData/diagnostics/testsWithStdLib/annotations/javaAnnotationsWithKClassParameter/valueWithDefault.txt @@ -9,14 +9,14 @@ public final annotation class A : kotlin.Annotation { public abstract fun value(): kotlin.reflect.KClass<*> } -A(value = kotlin.String::class: kotlin.reflect.KClass) internal final class MyClass1 { +A(value = kotlin.String::class) internal final class MyClass1 { public constructor MyClass1() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } -A(value = kotlin.String::class: kotlin.reflect.KClass) internal final class MyClass2 { +A(value = kotlin.String::class) internal final class MyClass2 { public constructor MyClass2() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int diff --git a/compiler/testData/diagnostics/testsWithStdLib/annotations/javaAnnotationsWithKClassParameter/valueWithDefaultAndOther.txt b/compiler/testData/diagnostics/testsWithStdLib/annotations/javaAnnotationsWithKClassParameter/valueWithDefaultAndOther.txt index 88318b6a0ef..72d973e8303 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/annotations/javaAnnotationsWithKClassParameter/valueWithDefaultAndOther.txt +++ b/compiler/testData/diagnostics/testsWithStdLib/annotations/javaAnnotationsWithKClassParameter/valueWithDefaultAndOther.txt @@ -11,21 +11,21 @@ public final annotation class A : kotlin.Annotation { public abstract fun x(): kotlin.Int } -A(value = kotlin.String::class: kotlin.reflect.KClass, x = IntegerValueType(2): IntegerValueType(2)) internal final class MyClass1 { +A(value = kotlin.String::class, x = IntegerValueType(2)) internal final class MyClass1 { public constructor MyClass1() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } -A(value = kotlin.String::class: kotlin.reflect.KClass, x = IntegerValueType(4): IntegerValueType(4)) internal final class MyClass2 { +A(value = kotlin.String::class, x = IntegerValueType(4)) internal final class MyClass2 { public constructor MyClass2() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } -A(x = IntegerValueType(5): IntegerValueType(5)) internal final class MyClass3 { +A(x = IntegerValueType(5)) internal final class MyClass3 { public constructor MyClass3() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int diff --git a/compiler/testData/diagnostics/testsWithStdLib/annotations/kClass/kClassArrayInAnnotationsInVariance.txt b/compiler/testData/diagnostics/testsWithStdLib/annotations/kClass/kClassArrayInAnnotationsInVariance.txt index fcef8bc12f3..a6765ac3675 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/annotations/kClass/kClassArrayInAnnotationsInVariance.txt +++ b/compiler/testData/diagnostics/testsWithStdLib/annotations/kClass/kClassArrayInAnnotationsInVariance.txt @@ -37,42 +37,42 @@ internal final class B2 : A { public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } -Ann1(arg = {A::class}: kotlin.Array>) internal final class MyClass1 { +Ann1(arg = {A::class}) internal final class MyClass1 { public constructor MyClass1() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } -Ann1(arg = {kotlin.Any::class}: kotlin.Array>) internal final class MyClass1a { +Ann1(arg = {kotlin.Any::class}) internal final class MyClass1a { public constructor MyClass1a() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } -Ann1(arg = {B1::class}: kotlin.Array) internal final class MyClass2 { +Ann1(arg = {B1::class}) internal final class MyClass2 { public constructor MyClass2() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } -Ann2(arg = {A::class}: kotlin.Array>) internal final class MyClass3 { +Ann2(arg = {A::class}) internal final class MyClass3 { public constructor MyClass3() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } -Ann2(arg = {B1::class}: kotlin.Array>) internal final class MyClass4 { +Ann2(arg = {B1::class}) internal final class MyClass4 { public constructor MyClass4() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } -Ann2(arg = {B2::class}: kotlin.Array) internal final class MyClass5 { +Ann2(arg = {B2::class}) internal final class MyClass5 { public constructor MyClass5() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int diff --git a/compiler/testData/diagnostics/testsWithStdLib/annotations/kClass/kClassArrayInAnnotationsOutVariance.txt b/compiler/testData/diagnostics/testsWithStdLib/annotations/kClass/kClassArrayInAnnotationsOutVariance.txt index fa9773731bb..c0ec82f6272 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/annotations/kClass/kClassArrayInAnnotationsOutVariance.txt +++ b/compiler/testData/diagnostics/testsWithStdLib/annotations/kClass/kClassArrayInAnnotationsOutVariance.txt @@ -37,42 +37,42 @@ internal final class B2 : A { public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } -Ann1(arg = {A::class}: kotlin.Array>) internal final class MyClass1 { +Ann1(arg = {A::class}) internal final class MyClass1 { public constructor MyClass1() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } -Ann1(arg = {kotlin.Any::class}: kotlin.Array) internal final class MyClass1a { +Ann1(arg = {kotlin.Any::class}) internal final class MyClass1a { public constructor MyClass1a() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } -Ann1(arg = {B1::class}: kotlin.Array>) internal final class MyClass2 { +Ann1(arg = {B1::class}) internal final class MyClass2 { public constructor MyClass2() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } -Ann2(arg = {A::class}: kotlin.Array) internal final class MyClass3 { +Ann2(arg = {A::class}) internal final class MyClass3 { public constructor MyClass3() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } -Ann2(arg = {B1::class}: kotlin.Array>) internal final class MyClass4 { +Ann2(arg = {B1::class}) internal final class MyClass4 { public constructor MyClass4() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } -Ann2(arg = {B2::class}: kotlin.Array) internal final class MyClass5 { +Ann2(arg = {B2::class}) internal final class MyClass5 { public constructor MyClass5() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int diff --git a/compiler/testData/diagnostics/testsWithStdLib/annotations/kClass/kClassInAnnotation.txt b/compiler/testData/diagnostics/testsWithStdLib/annotations/kClass/kClassInAnnotation.txt index f7444a13c9f..e40b008836d 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/annotations/kClass/kClassInAnnotation.txt +++ b/compiler/testData/diagnostics/testsWithStdLib/annotations/kClass/kClassInAnnotation.txt @@ -40,7 +40,7 @@ internal final annotation class Ann3 : kotlin.Annotation { public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } -Ann1(arg = A1::class: kotlin.reflect.KClass) Ann2(arg = {A1::class, A2::class}: kotlin.Array>) Ann3(arg = {A1::class, A2::class}: kotlin.Array>) internal final class MyClass1 { +Ann1(arg = A1::class) Ann2(arg = {A1::class, A2::class}) Ann3(arg = {A1::class, A2::class}) internal final class MyClass1 { public constructor MyClass1() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int diff --git a/compiler/testData/diagnostics/testsWithStdLib/annotations/kClass/kClassInAnnotationsInVariance.txt b/compiler/testData/diagnostics/testsWithStdLib/annotations/kClass/kClassInAnnotationsInVariance.txt index cab51658641..16b953e974c 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/annotations/kClass/kClassInAnnotationsInVariance.txt +++ b/compiler/testData/diagnostics/testsWithStdLib/annotations/kClass/kClassInAnnotationsInVariance.txt @@ -37,42 +37,42 @@ internal final class B2 : A { public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } -Ann1(arg = A::class: kotlin.reflect.KClass) internal final class MyClass1 { +Ann1(arg = A::class) internal final class MyClass1 { public constructor MyClass1() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } -Ann1(arg = kotlin.Any::class: kotlin.reflect.KClass) internal final class MyClass1a { +Ann1(arg = kotlin.Any::class) internal final class MyClass1a { public constructor MyClass1a() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } -Ann1(arg = B1::class: kotlin.reflect.KClass) internal final class MyClass2 { +Ann1(arg = B1::class) internal final class MyClass2 { public constructor MyClass2() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } -Ann2(arg = A::class: kotlin.reflect.KClass) internal final class MyClass3 { +Ann2(arg = A::class) internal final class MyClass3 { public constructor MyClass3() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } -Ann2(arg = B1::class: kotlin.reflect.KClass) internal final class MyClass4 { +Ann2(arg = B1::class) internal final class MyClass4 { public constructor MyClass4() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } -Ann2(arg = B2::class: kotlin.reflect.KClass) internal final class MyClass5 { +Ann2(arg = B2::class) internal final class MyClass5 { public constructor MyClass5() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int diff --git a/compiler/testData/diagnostics/testsWithStdLib/annotations/kClass/kClassInAnnotationsOutVariance.txt b/compiler/testData/diagnostics/testsWithStdLib/annotations/kClass/kClassInAnnotationsOutVariance.txt index a147794db52..69adfb817a3 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/annotations/kClass/kClassInAnnotationsOutVariance.txt +++ b/compiler/testData/diagnostics/testsWithStdLib/annotations/kClass/kClassInAnnotationsOutVariance.txt @@ -37,42 +37,42 @@ internal final class B2 : A { public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } -Ann1(arg = A::class: kotlin.reflect.KClass) internal final class MyClass1 { +Ann1(arg = A::class) internal final class MyClass1 { public constructor MyClass1() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } -Ann1(arg = kotlin.Any::class: kotlin.reflect.KClass) internal final class MyClass1a { +Ann1(arg = kotlin.Any::class) internal final class MyClass1a { public constructor MyClass1a() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } -Ann1(arg = B1::class: kotlin.reflect.KClass) internal final class MyClass2 { +Ann1(arg = B1::class) internal final class MyClass2 { public constructor MyClass2() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } -Ann2(arg = A::class: kotlin.reflect.KClass) internal final class MyClass3 { +Ann2(arg = A::class) internal final class MyClass3 { public constructor MyClass3() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } -Ann2(arg = B1::class: kotlin.reflect.KClass) internal final class MyClass4 { +Ann2(arg = B1::class) internal final class MyClass4 { public constructor MyClass4() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } -Ann2(arg = B2::class: kotlin.reflect.KClass) internal final class MyClass5 { +Ann2(arg = B2::class) internal final class MyClass5 { public constructor MyClass5() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int diff --git a/compiler/testData/diagnostics/testsWithStdLib/annotations/kClass/kClassInvariantTP.txt b/compiler/testData/diagnostics/testsWithStdLib/annotations/kClass/kClassInvariantTP.txt index 2901b0c2941..4b1b1e7b528 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/annotations/kClass/kClassInvariantTP.txt +++ b/compiler/testData/diagnostics/testsWithStdLib/annotations/kClass/kClassInvariantTP.txt @@ -30,35 +30,35 @@ internal final class B : A { public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } -Ann1(arg = A::class: kotlin.reflect.KClass) internal final class MyClass1 { +Ann1(arg = A::class) internal final class MyClass1 { public constructor MyClass1() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } -Ann1(arg = kotlin.Any::class: kotlin.reflect.KClass) internal final class MyClass1a { +Ann1(arg = kotlin.Any::class) internal final class MyClass1a { public constructor MyClass1a() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } -Ann1(arg = B::class: kotlin.reflect.KClass) internal final class MyClass2 { +Ann1(arg = B::class) internal final class MyClass2 { public constructor MyClass2() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } -Ann2(arg = A::class: kotlin.reflect.KClass) internal final class MyClass3 { +Ann2(arg = A::class) internal final class MyClass3 { public constructor MyClass3() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } -Ann2(arg = B::class: kotlin.reflect.KClass) internal final class MyClass4 { +Ann2(arg = B::class) internal final class MyClass4 { public constructor MyClass4() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int diff --git a/compiler/testData/diagnostics/testsWithStdLib/annotations/prohibitPositionedArgument/kotlinAnnotation.txt b/compiler/testData/diagnostics/testsWithStdLib/annotations/prohibitPositionedArgument/kotlinAnnotation.txt index 5701694df5c..c655e78749f 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/annotations/prohibitPositionedArgument/kotlinAnnotation.txt +++ b/compiler/testData/diagnostics/testsWithStdLib/annotations/prohibitPositionedArgument/kotlinAnnotation.txt @@ -1,8 +1,8 @@ package -Ann(value = "a": kotlin.String, x = IntegerValueType(1): IntegerValueType(1), y = 1.0.toDouble(): kotlin.Double) internal fun foo1(): kotlin.Unit -Ann(value = "b": kotlin.String, x = IntegerValueType(2): IntegerValueType(2), y = 2.0.toDouble(): kotlin.Double) internal fun foo2(): kotlin.Unit -Ann(value = "c": kotlin.String, x = IntegerValueType(3): IntegerValueType(3), y = 2.0.toDouble(): kotlin.Double) internal fun foo3(): kotlin.Unit +Ann(value = "a", x = IntegerValueType(1), y = 1.0.toDouble()) internal fun foo1(): kotlin.Unit +Ann(value = "b", x = IntegerValueType(2), y = 2.0.toDouble()) internal fun foo2(): kotlin.Unit +Ann(value = "c", x = IntegerValueType(3), y = 2.0.toDouble()) internal fun foo3(): kotlin.Unit internal final annotation class Ann : kotlin.Annotation { public constructor Ann(/*0*/ x: kotlin.Int, /*1*/ value: kotlin.String, /*2*/ y: kotlin.Double) diff --git a/compiler/testData/diagnostics/testsWithStdLib/annotations/prohibitPositionedArgument/tooManyArgs.txt b/compiler/testData/diagnostics/testsWithStdLib/annotations/prohibitPositionedArgument/tooManyArgs.txt index fa34032450a..699fa97cffe 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/annotations/prohibitPositionedArgument/tooManyArgs.txt +++ b/compiler/testData/diagnostics/testsWithStdLib/annotations/prohibitPositionedArgument/tooManyArgs.txt @@ -1,6 +1,6 @@ package -A(a = false: kotlin.Boolean, b = 1.0.toDouble(): kotlin.Double, x = false: kotlin.Boolean) internal fun foo1(): kotlin.Unit +A(a = false, b = 1.0.toDouble(), x = false) internal fun foo1(): kotlin.Unit public final annotation class A : kotlin.Annotation { public constructor A(/*0*/ a: kotlin.Int, /*1*/ b: kotlin.Double, /*2*/ x: kotlin.Boolean) diff --git a/compiler/testData/diagnostics/testsWithStdLib/annotations/prohibitPositionedArgument/typeMismatch.txt b/compiler/testData/diagnostics/testsWithStdLib/annotations/prohibitPositionedArgument/typeMismatch.txt index d3e04b0ec10..a64bbd54aa0 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/annotations/prohibitPositionedArgument/typeMismatch.txt +++ b/compiler/testData/diagnostics/testsWithStdLib/annotations/prohibitPositionedArgument/typeMismatch.txt @@ -1,7 +1,7 @@ package -A(a = false: kotlin.Boolean, b = 1.0.toDouble(): kotlin.Double, x = false: kotlin.Boolean) internal fun foo1(): kotlin.Unit -A(a = 2.0.toDouble(): kotlin.Double, b = 2.0.toDouble(): kotlin.Double, x = true: kotlin.Boolean) internal fun foo2(): kotlin.Unit +A(a = false, b = 1.0.toDouble(), x = false) internal fun foo1(): kotlin.Unit +A(a = 2.0.toDouble(), b = 2.0.toDouble(), x = true) internal fun foo2(): kotlin.Unit public final annotation class A : kotlin.Annotation { public constructor A(/*0*/ a: kotlin.Int, /*1*/ b: kotlin.Double, /*2*/ x: kotlin.Boolean) diff --git a/compiler/testData/diagnostics/testsWithStdLib/annotations/prohibitPositionedArgument/withValue.txt b/compiler/testData/diagnostics/testsWithStdLib/annotations/prohibitPositionedArgument/withValue.txt index 2073959bce8..f4fbbf7c874 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/annotations/prohibitPositionedArgument/withValue.txt +++ b/compiler/testData/diagnostics/testsWithStdLib/annotations/prohibitPositionedArgument/withValue.txt @@ -1,9 +1,9 @@ package -A(a = IntegerValueType(1): IntegerValueType(1), b = 1.0.toDouble(): kotlin.Double, value = "v1": kotlin.String, x = false: kotlin.Boolean) internal fun foo1(): kotlin.Unit -A(a = IntegerValueType(2): IntegerValueType(2), b = 2.0.toDouble(): kotlin.Double, value = "v2": kotlin.String, x = true: kotlin.Boolean) internal fun foo2(): kotlin.Unit -A(a = IntegerValueType(4): IntegerValueType(4), b = 3.0.toDouble(): kotlin.Double, value = "v2": kotlin.String, x = true: kotlin.Boolean) internal fun foo3(): kotlin.Unit -A(a = IntegerValueType(4): IntegerValueType(4), b = 3.0.toDouble(): kotlin.Double, value = "v2": kotlin.String, x = true: kotlin.Boolean) internal fun foo4(): kotlin.Unit +A(a = IntegerValueType(1), b = 1.0.toDouble(), value = "v1", x = false) internal fun foo1(): kotlin.Unit +A(a = IntegerValueType(2), b = 2.0.toDouble(), value = "v2", x = true) internal fun foo2(): kotlin.Unit +A(a = IntegerValueType(4), b = 3.0.toDouble(), value = "v2", x = true) internal fun foo3(): kotlin.Unit +A(a = IntegerValueType(4), b = 3.0.toDouble(), value = "v2", x = true) internal fun foo4(): kotlin.Unit public final annotation class A : kotlin.Annotation { public constructor A(/*0*/ value: kotlin.String, /*1*/ a: kotlin.Int, /*2*/ b: kotlin.Double, /*3*/ x: kotlin.Boolean) diff --git a/compiler/testData/diagnostics/testsWithStdLib/annotations/prohibitPositionedArgument/withoutValue.txt b/compiler/testData/diagnostics/testsWithStdLib/annotations/prohibitPositionedArgument/withoutValue.txt index 29ad2348871..6c282e4da72 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/annotations/prohibitPositionedArgument/withoutValue.txt +++ b/compiler/testData/diagnostics/testsWithStdLib/annotations/prohibitPositionedArgument/withoutValue.txt @@ -1,8 +1,8 @@ package -A(a = IntegerValueType(1): IntegerValueType(1), b = 1.0.toDouble(): kotlin.Double, x = false: kotlin.Boolean) internal fun foo1(): kotlin.Unit -A(a = IntegerValueType(2): IntegerValueType(2), b = 2.0.toDouble(): kotlin.Double, x = true: kotlin.Boolean) internal fun foo2(): kotlin.Unit -A(a = IntegerValueType(4): IntegerValueType(4), b = 3.0.toDouble(): kotlin.Double, x = true: kotlin.Boolean) internal fun foo3(): kotlin.Unit +A(a = IntegerValueType(1), b = 1.0.toDouble(), x = false) internal fun foo1(): kotlin.Unit +A(a = IntegerValueType(2), b = 2.0.toDouble(), x = true) internal fun foo2(): kotlin.Unit +A(a = IntegerValueType(4), b = 3.0.toDouble(), x = true) internal fun foo3(): kotlin.Unit public final annotation class A : kotlin.Annotation { public constructor A(/*0*/ a: kotlin.Int, /*1*/ b: kotlin.Double, /*2*/ x: kotlin.Boolean) diff --git a/compiler/testData/diagnostics/testsWithStdLib/annotations/qualifiedCallValue.txt b/compiler/testData/diagnostics/testsWithStdLib/annotations/qualifiedCallValue.txt index 3e5c364b0f3..55ed1ce17e4 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/annotations/qualifiedCallValue.txt +++ b/compiler/testData/diagnostics/testsWithStdLib/annotations/qualifiedCallValue.txt @@ -5,7 +5,7 @@ package a { package a.b { package a.b.c { - kotlin.deprecated(value = "aaa": kotlin.String) a.b.c.ann1(p = kotlin.deprecated(value = "aaa": kotlin.String): kotlin.deprecated) a.b.c.ann1() a.b.c.ann2(p = a.b.c.ann1(): a.b.c.ann1) a.b.c.A.IAnn() a.b.c.ann3(p = a.b.c.A.IAnn(): a.b.c.A.IAnn) a.b.c.A.IAnn() a.b.c.ann3(p = a.b.c.A.IAnn(): a.b.c.A.IAnn) a.b.c.annArray(p = {"a"}: kotlin.Array) internal fun test(): kotlin.Int + kotlin.deprecated(value = "aaa") a.b.c.ann1(p = kotlin.deprecated(value = "aaa")) a.b.c.ann1() a.b.c.ann2(p = a.b.c.ann1()) a.b.c.A.IAnn() a.b.c.ann3(p = a.b.c.A.IAnn()) a.b.c.A.IAnn() a.b.c.ann3(p = a.b.c.A.IAnn()) a.b.c.annArray(p = {"a"}) internal fun test(): kotlin.Int internal final class A { public constructor A() diff --git a/compiler/testData/diagnostics/testsWithStdLib/duplicateJvmSignature/platformNames.txt b/compiler/testData/diagnostics/testsWithStdLib/duplicateJvmSignature/platformNames.txt index ea1dac0d222..02428f4341f 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/duplicateJvmSignature/platformNames.txt +++ b/compiler/testData/diagnostics/testsWithStdLib/duplicateJvmSignature/platformNames.txt @@ -1,8 +1,8 @@ package -kotlin.platform.platformName(name = "barInt": kotlin.String) internal fun bar(/*0*/ x: kotlin.List): kotlin.Unit -kotlin.platform.platformName(name = "barStr": kotlin.String) internal fun bar(/*0*/ x: kotlin.List): kotlin.Unit -kotlin.platform.platformName(name = "bar": kotlin.String) internal fun foo(/*0*/ a: kotlin.Any): kotlin.Unit +kotlin.platform.platformName(name = "barInt") internal fun bar(/*0*/ x: kotlin.List): kotlin.Unit +kotlin.platform.platformName(name = "barStr") internal fun bar(/*0*/ x: kotlin.List): kotlin.Unit +kotlin.platform.platformName(name = "bar") internal fun foo(/*0*/ a: kotlin.Any): kotlin.Unit internal fun kotlin.Any.foo(): kotlin.Unit internal final class C { diff --git a/compiler/testData/diagnostics/testsWithStdLib/duplicateJvmSignature/platformNamesDuplicate.txt b/compiler/testData/diagnostics/testsWithStdLib/duplicateJvmSignature/platformNamesDuplicate.txt index 5395ff40cd3..ad2e4ac283e 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/duplicateJvmSignature/platformNamesDuplicate.txt +++ b/compiler/testData/diagnostics/testsWithStdLib/duplicateJvmSignature/platformNamesDuplicate.txt @@ -1,12 +1,12 @@ package internal fun bar(/*0*/ a: kotlin.Any): kotlin.Unit -kotlin.platform.platformName(name = "bar": kotlin.String) internal fun foo(/*0*/ a: kotlin.Any): kotlin.Unit +kotlin.platform.platformName(name = "bar") internal fun foo(/*0*/ a: kotlin.Any): kotlin.Unit internal open class A1 { public constructor A1() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean - kotlin.platform.platformName(name = "bar": kotlin.String) internal open fun foo(): kotlin.Unit + kotlin.platform.platformName(name = "bar") internal open fun foo(): kotlin.Unit public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } @@ -14,7 +14,7 @@ internal open class A1 { internal open class A2 { public constructor A2() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean - kotlin.platform.platformName(name = "bar": kotlin.String) internal open fun foo(): kotlin.Unit + kotlin.platform.platformName(name = "bar") internal open fun foo(): kotlin.Unit public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } @@ -22,7 +22,7 @@ internal open class A2 { internal open class A3 { public constructor A3() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean - kotlin.platform.platformName(name = "bar": kotlin.String) internal open fun foo(): kotlin.Unit + kotlin.platform.platformName(name = "bar") internal open fun foo(): kotlin.Unit public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } @@ -31,7 +31,7 @@ internal final class B1 : A1 { public constructor B1() internal final fun bar(): kotlin.Unit public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean - kotlin.platform.platformName(name = "bar": kotlin.String) internal open override /*1*/ /*fake_override*/ fun foo(): kotlin.Unit + kotlin.platform.platformName(name = "bar") internal open override /*1*/ /*fake_override*/ fun foo(): kotlin.Unit public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } @@ -48,7 +48,7 @@ internal final class B2 : A2 { internal open class B3 : A3 { public constructor B3() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean - kotlin.platform.platformName(name = "bar": kotlin.String) internal open override /*1*/ /*fake_override*/ fun foo(): kotlin.Unit + kotlin.platform.platformName(name = "bar") internal open override /*1*/ /*fake_override*/ fun foo(): kotlin.Unit public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } @@ -56,8 +56,8 @@ internal open class B3 : A3 { internal final class C { public constructor C() public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean - kotlin.platform.platformName(name = "foo1": kotlin.String) internal final fun foo(/*0*/ list: kotlin.List): kotlin.Unit - kotlin.platform.platformName(name = "foo1": kotlin.String) internal final fun foo(/*0*/ list: kotlin.List): kotlin.Unit + kotlin.platform.platformName(name = "foo1") internal final fun foo(/*0*/ list: kotlin.List): kotlin.Unit + kotlin.platform.platformName(name = "foo1") internal final fun foo(/*0*/ list: kotlin.List): kotlin.Unit public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } @@ -66,7 +66,7 @@ internal final class C3 : B3 { public constructor C3() internal final fun bar(): kotlin.Unit public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean - kotlin.platform.platformName(name = "bar": kotlin.String) internal open override /*1*/ /*fake_override*/ fun foo(): kotlin.Unit + kotlin.platform.platformName(name = "bar") internal open override /*1*/ /*fake_override*/ fun foo(): kotlin.Unit public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } diff --git a/compiler/testData/loadJava/compiledJava/ClassDoesNotOverrideMethod.txt b/compiler/testData/loadJava/compiledJava/ClassDoesNotOverrideMethod.txt index 22fb85990f9..25e55faf381 100644 --- a/compiler/testData/loadJava/compiledJava/ClassDoesNotOverrideMethod.txt +++ b/compiler/testData/loadJava/compiledJava/ClassDoesNotOverrideMethod.txt @@ -9,27 +9,27 @@ public abstract class ClassDoesNotOverrideMethod : java.util.Date { public open override /*1*/ /*fake_override*/ fun clone(): kotlin.Any! public open override /*1*/ /*fake_override*/ fun compareTo(/*0*/ other: java.util.Date!): kotlin.Int invisible_fake final override /*1*/ /*fake_override*/ fun getCalendarDate(): sun.util.calendar.BaseCalendar.Date! - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun getDate(): kotlin.Int - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun getDay(): kotlin.Int - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun getHours(): kotlin.Int - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun getMinutes(): kotlin.Int - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun getMonth(): kotlin.Int - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun getSeconds(): kotlin.Int + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun getDate(): kotlin.Int + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun getDay(): kotlin.Int + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun getHours(): kotlin.Int + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun getMinutes(): kotlin.Int + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun getMonth(): kotlin.Int + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun getSeconds(): kotlin.Int public open override /*1*/ /*fake_override*/ fun getTime(): kotlin.Long invisible_fake final override /*1*/ /*fake_override*/ fun getTimeImpl(): kotlin.Long - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun getTimezoneOffset(): kotlin.Int - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun getYear(): kotlin.Int + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun getTimezoneOffset(): kotlin.Int + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun getYear(): kotlin.Int invisible_fake final override /*1*/ /*fake_override*/ fun normalize(): sun.util.calendar.BaseCalendar.Date! invisible_fake final override /*1*/ /*fake_override*/ fun normalize(/*0*/ p0: sun.util.calendar.BaseCalendar.Date!): sun.util.calendar.BaseCalendar.Date! invisible_fake open override /*1*/ /*fake_override*/ fun readObject(/*0*/ p0: java.io.ObjectInputStream!): kotlin.Unit - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun setDate(/*0*/ p0: kotlin.Int): kotlin.Unit - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun setHours(/*0*/ p0: kotlin.Int): kotlin.Unit - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun setMinutes(/*0*/ p0: kotlin.Int): kotlin.Unit - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun setMonth(/*0*/ p0: kotlin.Int): kotlin.Unit - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun setSeconds(/*0*/ p0: kotlin.Int): kotlin.Unit + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun setDate(/*0*/ p0: kotlin.Int): kotlin.Unit + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun setHours(/*0*/ p0: kotlin.Int): kotlin.Unit + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun setMinutes(/*0*/ p0: kotlin.Int): kotlin.Unit + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun setMonth(/*0*/ p0: kotlin.Int): kotlin.Unit + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun setSeconds(/*0*/ p0: kotlin.Int): kotlin.Unit public open override /*1*/ /*fake_override*/ fun setTime(/*0*/ p0: kotlin.Long): kotlin.Unit - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun setYear(/*0*/ p0: kotlin.Int): kotlin.Unit - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun toGMTString(): kotlin.String! - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun toLocaleString(): kotlin.String! + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun setYear(/*0*/ p0: kotlin.Int): kotlin.Unit + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun toGMTString(): kotlin.String! + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun toLocaleString(): kotlin.String! invisible_fake open override /*1*/ /*fake_override*/ fun writeObject(/*0*/ p0: java.io.ObjectOutputStream!): kotlin.Unit } diff --git a/compiler/testData/loadJava/compiledJava/annotations/AnnotatedConstructor.txt b/compiler/testData/loadJava/compiledJava/annotations/AnnotatedConstructor.txt index 3bb0ca2a048..95dca11e461 100644 --- a/compiler/testData/loadJava/compiledJava/annotations/AnnotatedConstructor.txt +++ b/compiler/testData/loadJava/compiledJava/annotations/AnnotatedConstructor.txt @@ -1,7 +1,7 @@ package test public open class AnnotatedConstructor { - test.AnnotatedConstructor.Anno(value = "constructor": kotlin.String) public constructor AnnotatedConstructor() + test.AnnotatedConstructor.Anno(value = "constructor") public constructor AnnotatedConstructor() public final annotation class Anno : kotlin.Annotation { public constructor Anno(/*0*/ value: kotlin.String) diff --git a/compiler/testData/loadJava/compiledJava/annotations/AnnotatedField.txt b/compiler/testData/loadJava/compiledJava/annotations/AnnotatedField.txt index 042ffef19d5..10e51ea5c51 100644 --- a/compiler/testData/loadJava/compiledJava/annotations/AnnotatedField.txt +++ b/compiler/testData/loadJava/compiledJava/annotations/AnnotatedField.txt @@ -2,7 +2,7 @@ package test public open class AnnotatedField { public constructor AnnotatedField() - test.AnnotatedField.Anno(value = "member": kotlin.String) public final val y: kotlin.Int = 0 + test.AnnotatedField.Anno(value = "member") public final val y: kotlin.Int = 0 public final annotation class Anno : kotlin.Annotation { public constructor Anno(/*0*/ value: kotlin.String) @@ -11,5 +11,5 @@ public open class AnnotatedField { } // Static members - test.AnnotatedField.Anno(value = "static": kotlin.String) public final val x: kotlin.Int = 0 + test.AnnotatedField.Anno(value = "static") public final val x: kotlin.Int = 0 } diff --git a/compiler/testData/loadJava/compiledJava/annotations/AnnotatedMethod.txt b/compiler/testData/loadJava/compiledJava/annotations/AnnotatedMethod.txt index 69ee12ab6dd..3289d27d40d 100644 --- a/compiler/testData/loadJava/compiledJava/annotations/AnnotatedMethod.txt +++ b/compiler/testData/loadJava/compiledJava/annotations/AnnotatedMethod.txt @@ -2,7 +2,7 @@ package test public open class AnnotatedMethod { public constructor AnnotatedMethod() - test.AnnotatedMethod.Anno(value = 42: kotlin.Int) public open fun f(): kotlin.Unit + test.AnnotatedMethod.Anno(value = 42) public open fun f(): kotlin.Unit public final annotation class Anno : kotlin.Annotation { public constructor Anno(/*0*/ value: kotlin.Int) diff --git a/compiler/testData/loadJava/compiledJava/annotations/AnnotatedValueParameter.txt b/compiler/testData/loadJava/compiledJava/annotations/AnnotatedValueParameter.txt index c890e96fe0d..16ceafcc8b5 100644 --- a/compiler/testData/loadJava/compiledJava/annotations/AnnotatedValueParameter.txt +++ b/compiler/testData/loadJava/compiledJava/annotations/AnnotatedValueParameter.txt @@ -2,7 +2,7 @@ package test public open class AnnotatedValueParameter { public constructor AnnotatedValueParameter() - public open fun f(/*0*/ test.AnnotatedValueParameter.Anno(value = "non-empty": kotlin.String) p0: kotlin.(Mutable)List!): kotlin.Unit + public open fun f(/*0*/ test.AnnotatedValueParameter.Anno(value = "non-empty") p0: kotlin.(Mutable)List!): kotlin.Unit public final annotation class Anno : kotlin.Annotation { public constructor Anno(/*0*/ value: kotlin.String) diff --git a/compiler/testData/loadJava/compiledJava/annotations/AnnotationInParam.txt b/compiler/testData/loadJava/compiledJava/annotations/AnnotationInParam.txt index c9d26fa2fc3..6a571b0e9d0 100644 --- a/compiler/testData/loadJava/compiledJava/annotations/AnnotationInParam.txt +++ b/compiler/testData/loadJava/compiledJava/annotations/AnnotationInParam.txt @@ -2,15 +2,15 @@ package test public interface AnnotationInParam { - test.AnnotationInParam.MyAnnotationWithParam(value = test.AnnotationInParam.MyAnnotation(value = "test": kotlin.String): test.AnnotationInParam.MyAnnotation) public open class A { + test.AnnotationInParam.MyAnnotationWithParam(value = test.AnnotationInParam.MyAnnotation(value = "test")) public open class A { public constructor A() } - test.AnnotationInParam.MyAnnotationWithParam2(value = test.AnnotationInParam.MyAnnotation2(value = {"test", "test2"}: kotlin.Array): test.AnnotationInParam.MyAnnotation2) public open class B { + test.AnnotationInParam.MyAnnotationWithParam2(value = test.AnnotationInParam.MyAnnotation2(value = {"test", "test2"})) public open class B { public constructor B() } - test.AnnotationInParam.MyAnnotationWithParam3(value = test.AnnotationInParam.MyAnnotation3(first = "f": kotlin.String, second = "s": kotlin.String): test.AnnotationInParam.MyAnnotation3) public open class C { + test.AnnotationInParam.MyAnnotationWithParam3(value = test.AnnotationInParam.MyAnnotation3(first = "f", second = "s")) public open class C { public constructor C() } diff --git a/compiler/testData/loadJava/compiledJava/annotations/ArithmeticExpressionInParam.txt b/compiler/testData/loadJava/compiledJava/annotations/ArithmeticExpressionInParam.txt index 1ced10fb348..2018810e8e4 100644 --- a/compiler/testData/loadJava/compiledJava/annotations/ArithmeticExpressionInParam.txt +++ b/compiler/testData/loadJava/compiledJava/annotations/ArithmeticExpressionInParam.txt @@ -9,7 +9,7 @@ public open class ArithmeticExpressionInParam { public abstract fun value(): kotlin.Int } - test.ArithmeticExpressionInParam.Anno(value = 42: kotlin.Int) public open class Class { + test.ArithmeticExpressionInParam.Anno(value = 42) public open class Class { public constructor Class() } } diff --git a/compiler/testData/loadJava/compiledJava/annotations/ArrayOfEnumInParam.txt b/compiler/testData/loadJava/compiledJava/annotations/ArrayOfEnumInParam.txt index 0fa8e21f2e9..e8f1e248e0a 100644 --- a/compiler/testData/loadJava/compiledJava/annotations/ArrayOfEnumInParam.txt +++ b/compiler/testData/loadJava/compiledJava/annotations/ArrayOfEnumInParam.txt @@ -2,7 +2,7 @@ package test public interface ArrayOfEnumInParam { - java.lang.annotation.Target(value = {ElementType.FIELD, ElementType.CONSTRUCTOR}: kotlin.Array) public final annotation class targetAnnotation : kotlin.Annotation { + java.lang.annotation.Target(value = {ElementType.FIELD, ElementType.CONSTRUCTOR}) public final annotation class targetAnnotation : kotlin.Annotation { public constructor targetAnnotation(/*0*/ value: kotlin.String) public final val value: kotlin.String public abstract fun value(): kotlin.String diff --git a/compiler/testData/loadJava/compiledJava/annotations/ArrayOfStringInParam.txt b/compiler/testData/loadJava/compiledJava/annotations/ArrayOfStringInParam.txt index 8da86225697..6ea8dbd0b25 100644 --- a/compiler/testData/loadJava/compiledJava/annotations/ArrayOfStringInParam.txt +++ b/compiler/testData/loadJava/compiledJava/annotations/ArrayOfStringInParam.txt @@ -2,7 +2,7 @@ package test public interface ArrayOfStringInParam { - test.ArrayOfStringInParam.MyAnnotation(value = {"a", "b", "c"}: kotlin.Array) public open class A { + test.ArrayOfStringInParam.MyAnnotation(value = {"a", "b", "c"}) public open class A { public constructor A() } diff --git a/compiler/testData/loadJava/compiledJava/annotations/ClassObjectArrayInParam.txt b/compiler/testData/loadJava/compiledJava/annotations/ClassObjectArrayInParam.txt index 5439f74082f..9ab3346d4b5 100644 --- a/compiler/testData/loadJava/compiledJava/annotations/ClassObjectArrayInParam.txt +++ b/compiler/testData/loadJava/compiledJava/annotations/ClassObjectArrayInParam.txt @@ -9,7 +9,7 @@ public open class ClassObjectArrayInParam { public abstract fun value(): kotlin.Array> } - test.ClassObjectArrayInParam.Anno(value = {test.ClassObjectArrayInParam::class, test.ClassObjectArrayInParam.Nested::class, kotlin.String::class}: kotlin.Array>) public open class Nested { + test.ClassObjectArrayInParam.Anno(value = {test.ClassObjectArrayInParam::class, test.ClassObjectArrayInParam.Nested::class, kotlin.String::class}) public open class Nested { public constructor Nested() } } diff --git a/compiler/testData/loadJava/compiledJava/annotations/ClassObjectInParam.txt b/compiler/testData/loadJava/compiledJava/annotations/ClassObjectInParam.txt index 45db5d4b4b0..30b7148f686 100644 --- a/compiler/testData/loadJava/compiledJava/annotations/ClassObjectInParam.txt +++ b/compiler/testData/loadJava/compiledJava/annotations/ClassObjectInParam.txt @@ -9,7 +9,7 @@ public open class ClassObjectInParam { public abstract fun value(): kotlin.reflect.KClass<*> } - test.ClassObjectInParam.Anno(value = test.ClassObjectInParam::class: java.lang.Class) public open class Nested { + test.ClassObjectInParam.Anno(value = test.ClassObjectInParam::class) public open class Nested { public constructor Nested() } } diff --git a/compiler/testData/loadJava/compiledJava/annotations/ClassObjectInParamRaw.txt b/compiler/testData/loadJava/compiledJava/annotations/ClassObjectInParamRaw.txt index 9ff63a4cae1..884d7d88a9e 100644 --- a/compiler/testData/loadJava/compiledJava/annotations/ClassObjectInParamRaw.txt +++ b/compiler/testData/loadJava/compiledJava/annotations/ClassObjectInParamRaw.txt @@ -11,7 +11,7 @@ public open class ClassObjectInParamRaw { public abstract fun value(): kotlin.reflect.KClass<*> } - test.ClassObjectInParamRaw.Anno(arg = {}: kotlin.Array>, value = test.ClassObjectInParamRaw::class: java.lang.Class) public open class Nested { + test.ClassObjectInParamRaw.Anno(arg = {}, value = test.ClassObjectInParamRaw::class) public open class Nested { public constructor Nested() } } diff --git a/compiler/testData/loadJava/compiledJava/annotations/CustomAnnotation.txt b/compiler/testData/loadJava/compiledJava/annotations/CustomAnnotation.txt index 8ecdf54a28a..ad2240254a2 100644 --- a/compiler/testData/loadJava/compiledJava/annotations/CustomAnnotation.txt +++ b/compiler/testData/loadJava/compiledJava/annotations/CustomAnnotation.txt @@ -26,7 +26,7 @@ public interface CustomAnnotation { public final /*synthesized*/ fun values(): kotlin.Array } - test.CustomAnnotation.MyAnnotation(value = MyEnum.ONE: test.CustomAnnotation.MyEnum) public open class MyTest { + test.CustomAnnotation.MyAnnotation(value = MyEnum.ONE) public open class MyTest { public constructor MyTest() } } diff --git a/compiler/testData/loadJava/compiledJava/annotations/CustomAnnotationWithDefaultParameter.txt b/compiler/testData/loadJava/compiledJava/annotations/CustomAnnotationWithDefaultParameter.txt index 1ae1ba060d5..0aeb32d87e9 100644 --- a/compiler/testData/loadJava/compiledJava/annotations/CustomAnnotationWithDefaultParameter.txt +++ b/compiler/testData/loadJava/compiledJava/annotations/CustomAnnotationWithDefaultParameter.txt @@ -10,7 +10,7 @@ public interface CustomAnnotationWithDefaultParameter { public abstract fun second(): kotlin.String } - test.CustomAnnotationWithDefaultParameter.MyAnnotation(first = "f": kotlin.String, second = "s": kotlin.String) public open class MyTest { + test.CustomAnnotationWithDefaultParameter.MyAnnotation(first = "f", second = "s") public open class MyTest { public constructor MyTest() } } diff --git a/compiler/testData/loadJava/compiledJava/annotations/EmptyArrayInParam.txt b/compiler/testData/loadJava/compiledJava/annotations/EmptyArrayInParam.txt index d539c8e275c..67585145f3f 100644 --- a/compiler/testData/loadJava/compiledJava/annotations/EmptyArrayInParam.txt +++ b/compiler/testData/loadJava/compiledJava/annotations/EmptyArrayInParam.txt @@ -2,7 +2,7 @@ package test public interface EmptyArrayInParam { - test.EmptyArrayInParam.MyAnnotation(value = {}: kotlin.Array) public open class A { + test.EmptyArrayInParam.MyAnnotation(value = {}) public open class A { public constructor A() } diff --git a/compiler/testData/loadJava/compiledJava/annotations/EnumArgumentWithCustomToString.txt b/compiler/testData/loadJava/compiledJava/annotations/EnumArgumentWithCustomToString.txt index b057b0c6912..dc660338c96 100644 --- a/compiler/testData/loadJava/compiledJava/annotations/EnumArgumentWithCustomToString.txt +++ b/compiler/testData/loadJava/compiledJava/annotations/EnumArgumentWithCustomToString.txt @@ -2,7 +2,7 @@ package test public open class EnumArgumentWithCustomToString { public constructor EnumArgumentWithCustomToString() - test.EnumArgumentWithCustomToString.EnumAnno(value = E.CAKE: test.EnumArgumentWithCustomToString.E) test.EnumArgumentWithCustomToString.EnumArrayAnno(value = {E.CAKE, E.CAKE}: kotlin.Array) public/*package*/ open fun annotated(): kotlin.Unit + test.EnumArgumentWithCustomToString.EnumAnno(value = E.CAKE) test.EnumArgumentWithCustomToString.EnumArrayAnno(value = {E.CAKE, E.CAKE}) public/*package*/ open fun annotated(): kotlin.Unit public open enum class E : kotlin.Enum { public enum entry CAKE : test.EnumArgumentWithCustomToString.E { diff --git a/compiler/testData/loadJava/compiledJava/annotations/EnumConstructorParameter.txt b/compiler/testData/loadJava/compiledJava/annotations/EnumConstructorParameter.txt index 58273909ae1..aa5d3e430a5 100644 --- a/compiler/testData/loadJava/compiledJava/annotations/EnumConstructorParameter.txt +++ b/compiler/testData/loadJava/compiledJava/annotations/EnumConstructorParameter.txt @@ -9,7 +9,7 @@ public final enum class EnumConstructorParameter : kotlin.Enum): test.StringOptions, o2 = test.EnumOption(option = E.ENTRY: test.E): test.EnumOption) public final class AnnotationInAnnotationArguments { +test.OptionGroups(o1 = test.StringOptions(option = {"abc", "d", "ef"}), o2 = test.EnumOption(option = E.ENTRY)) public final class AnnotationInAnnotationArguments { /*primary*/ public constructor AnnotationInAnnotationArguments() } diff --git a/compiler/testData/loadJava/compiledKotlin/annotations/EnumArgumentWithCustomToString.txt b/compiler/testData/loadJava/compiledKotlin/annotations/EnumArgumentWithCustomToString.txt index 844e3493b8c..74a4ece988e 100644 --- a/compiler/testData/loadJava/compiledKotlin/annotations/EnumArgumentWithCustomToString.txt +++ b/compiler/testData/loadJava/compiledKotlin/annotations/EnumArgumentWithCustomToString.txt @@ -26,7 +26,7 @@ internal final annotation class EnumAnno : kotlin.Annotation { public final class EnumArgumentWithCustomToString { /*primary*/ public constructor EnumArgumentWithCustomToString() - test.EnumAnno(value = E.CAKE: test.E) test.EnumArrayAnno(value = {E.CAKE, E.CAKE}: kotlin.Array) internal final fun annotated(): kotlin.Unit + test.EnumAnno(value = E.CAKE) test.EnumArrayAnno(value = {E.CAKE, E.CAKE}) internal final fun annotated(): kotlin.Unit } internal final annotation class EnumArrayAnno : kotlin.Annotation { diff --git a/compiler/testData/loadJava/compiledKotlin/annotations/MultiDimensionalArrayMethod.txt b/compiler/testData/loadJava/compiledKotlin/annotations/MultiDimensionalArrayMethod.txt index f7bf6db8209..457fe635eee 100644 --- a/compiler/testData/loadJava/compiledKotlin/annotations/MultiDimensionalArrayMethod.txt +++ b/compiler/testData/loadJava/compiledKotlin/annotations/MultiDimensionalArrayMethod.txt @@ -7,7 +7,7 @@ internal final annotation class Anno : kotlin.Annotation { } internal interface T { - test.Anno(s = "bar": kotlin.String) internal abstract val bar: kotlin.Array> + test.Anno(s = "bar") internal abstract val bar: kotlin.Array> internal abstract fun (): kotlin.Array> - test.Anno(s = "foo": kotlin.String) internal abstract fun foo(): kotlin.Array>> + test.Anno(s = "foo") internal abstract fun foo(): kotlin.Array>> } diff --git a/compiler/testData/loadJava/compiledKotlin/annotations/classMembers/Constructor.txt b/compiler/testData/loadJava/compiledKotlin/annotations/classMembers/Constructor.txt index 037859eaf04..7632f8e8dc0 100644 --- a/compiler/testData/loadJava/compiledKotlin/annotations/classMembers/Constructor.txt +++ b/compiler/testData/loadJava/compiledKotlin/annotations/classMembers/Constructor.txt @@ -7,5 +7,5 @@ internal final annotation class Anno : kotlin.Annotation { } internal final class Constructor { - /*primary*/ test.Anno(value = "string": kotlin.String) public constructor Constructor() + /*primary*/ test.Anno(value = "string") public constructor Constructor() } diff --git a/compiler/testData/loadJava/compiledKotlin/annotations/classMembers/EnumArgument.txt b/compiler/testData/loadJava/compiledKotlin/annotations/classMembers/EnumArgument.txt index 7d89c1eb860..c8637c254e2 100644 --- a/compiler/testData/loadJava/compiledKotlin/annotations/classMembers/EnumArgument.txt +++ b/compiler/testData/loadJava/compiledKotlin/annotations/classMembers/EnumArgument.txt @@ -8,8 +8,8 @@ internal final annotation class Anno : kotlin.Annotation { internal final class Class { /*primary*/ public constructor Class() - test.Anno(t = ElementType.FIELD: java.lang.annotation.ElementType) internal final var bar: kotlin.Int + test.Anno(t = ElementType.FIELD) internal final var bar: kotlin.Int internal final fun (): kotlin.Int internal final fun (/*0*/ : kotlin.Int): kotlin.Unit - test.Anno(t = ElementType.METHOD: java.lang.annotation.ElementType) internal final fun foo(): kotlin.Unit + test.Anno(t = ElementType.METHOD) internal final fun foo(): kotlin.Unit } diff --git a/compiler/testData/loadJava/compiledKotlin/annotations/classes/Deprecated.txt b/compiler/testData/loadJava/compiledKotlin/annotations/classes/Deprecated.txt index 75981febbc1..6f0e52de578 100644 --- a/compiler/testData/loadJava/compiledKotlin/annotations/classes/Deprecated.txt +++ b/compiler/testData/loadJava/compiledKotlin/annotations/classes/Deprecated.txt @@ -1,17 +1,17 @@ package test -kotlin.deprecated(value = "Class": kotlin.String) internal final class Class { +kotlin.deprecated(value = "Class") internal final class Class { /*primary*/ public constructor Class() - kotlin.deprecated(value = "companion object": kotlin.String) public companion object Companion { + kotlin.deprecated(value = "companion object") public companion object Companion { /*primary*/ private constructor Companion() } - kotlin.deprecated(value = "Inner": kotlin.String) internal final inner class Inner { + kotlin.deprecated(value = "Inner") internal final inner class Inner { /*primary*/ public constructor Inner() } - kotlin.deprecated(value = "Nested": kotlin.String) internal final class Nested { + kotlin.deprecated(value = "Nested") internal final class Nested { /*primary*/ public constructor Nested() } } diff --git a/compiler/testData/loadJava/compiledKotlin/annotations/classes/EnumArgument.txt b/compiler/testData/loadJava/compiledKotlin/annotations/classes/EnumArgument.txt index 20a1353c449..3c830300993 100644 --- a/compiler/testData/loadJava/compiledKotlin/annotations/classes/EnumArgument.txt +++ b/compiler/testData/loadJava/compiledKotlin/annotations/classes/EnumArgument.txt @@ -6,18 +6,18 @@ internal final annotation class Anno : kotlin.Annotation { internal final fun (): java.lang.annotation.ElementType } -test.Anno(t = ElementType.METHOD: java.lang.annotation.ElementType) internal final class Class { +test.Anno(t = ElementType.METHOD) internal final class Class { /*primary*/ public constructor Class() - test.Anno(t = ElementType.ANNOTATION_TYPE: java.lang.annotation.ElementType) public companion object Companion { + test.Anno(t = ElementType.ANNOTATION_TYPE) public companion object Companion { /*primary*/ private constructor Companion() } - test.Anno(t = ElementType.PARAMETER: java.lang.annotation.ElementType) internal final inner class Inner { + test.Anno(t = ElementType.PARAMETER) internal final inner class Inner { /*primary*/ public constructor Inner() } - test.Anno(t = ElementType.TYPE: java.lang.annotation.ElementType) internal final class Nested { + test.Anno(t = ElementType.TYPE) internal final class Nested { /*primary*/ public constructor Nested() } } diff --git a/compiler/testData/loadJava/compiledKotlin/annotations/classes/Retention.txt b/compiler/testData/loadJava/compiledKotlin/annotations/classes/Retention.txt index 07abea7869c..6ff485396f2 100644 --- a/compiler/testData/loadJava/compiledKotlin/annotations/classes/Retention.txt +++ b/compiler/testData/loadJava/compiledKotlin/annotations/classes/Retention.txt @@ -1,5 +1,5 @@ package test -java.lang.annotation.Retention(value = RetentionPolicy.RUNTIME: java.lang.annotation.RetentionPolicy) internal final annotation class Anno : kotlin.Annotation { +java.lang.annotation.Retention(value = RetentionPolicy.RUNTIME) internal final annotation class Anno : kotlin.Annotation { /*primary*/ public constructor Anno() } diff --git a/compiler/testData/loadJava/compiledKotlin/annotations/classes/WithArgument.txt b/compiler/testData/loadJava/compiledKotlin/annotations/classes/WithArgument.txt index d44ea204f78..c0287d9def2 100644 --- a/compiler/testData/loadJava/compiledKotlin/annotations/classes/WithArgument.txt +++ b/compiler/testData/loadJava/compiledKotlin/annotations/classes/WithArgument.txt @@ -18,7 +18,7 @@ internal final annotation class CharAnno : kotlin.Annotation { internal final fun (): kotlin.Char } -test.IntAnno(value = 42: kotlin.Int) test.ShortAnno(value = 42.toShort(): kotlin.Short) test.ByteAnno(value = 42.toByte(): kotlin.Byte) test.LongAnno(value = 42.toLong(): kotlin.Long) test.CharAnno(value = \u0041 ('A'): kotlin.Char) test.BooleanAnno(value = false: kotlin.Boolean) test.FloatAnno(value = 3.14.toFloat(): kotlin.Float) test.DoubleAnno(value = 3.14.toDouble(): kotlin.Double) internal final class Class { +test.IntAnno(value = 42) test.ShortAnno(value = 42.toShort()) test.ByteAnno(value = 42.toByte()) test.LongAnno(value = 42.toLong()) test.CharAnno(value = \u0041 ('A')) test.BooleanAnno(value = false) test.FloatAnno(value = 3.14.toFloat()) test.DoubleAnno(value = 3.14.toDouble()) internal final class Class { /*primary*/ public constructor Class() } diff --git a/compiler/testData/loadJava/compiledKotlin/annotations/classes/WithMultipleArguments.txt b/compiler/testData/loadJava/compiledKotlin/annotations/classes/WithMultipleArguments.txt index 1c8c0d7b6a0..8c56ddfb41d 100644 --- a/compiler/testData/loadJava/compiledKotlin/annotations/classes/WithMultipleArguments.txt +++ b/compiler/testData/loadJava/compiledKotlin/annotations/classes/WithMultipleArguments.txt @@ -10,6 +10,6 @@ internal final annotation class Anno : kotlin.Annotation { internal final fun (): kotlin.String } -test.Anno(double = 3.14.toDouble(): kotlin.Double, int = 42: kotlin.Int, string = "OK": kotlin.String) internal final class Class { +test.Anno(double = 3.14.toDouble(), int = 42, string = "OK") internal final class Class { /*primary*/ public constructor Class() } diff --git a/compiler/testData/loadJava/compiledKotlin/annotations/packageMembers/EnumArgument.txt b/compiler/testData/loadJava/compiledKotlin/annotations/packageMembers/EnumArgument.txt index 203fba4da78..0aff1f871e6 100644 --- a/compiler/testData/loadJava/compiledKotlin/annotations/packageMembers/EnumArgument.txt +++ b/compiler/testData/loadJava/compiledKotlin/annotations/packageMembers/EnumArgument.txt @@ -1,8 +1,8 @@ package test -test.Anno(t = ElementType.FIELD: java.lang.annotation.ElementType) internal val bar: kotlin.Int = 42 +test.Anno(t = ElementType.FIELD) internal val bar: kotlin.Int = 42 internal fun (): kotlin.Int -test.Anno(t = ElementType.METHOD: java.lang.annotation.ElementType) internal fun foo(): kotlin.Unit +test.Anno(t = ElementType.METHOD) internal fun foo(): kotlin.Unit internal final annotation class Anno : kotlin.Annotation { /*primary*/ public constructor Anno(/*0*/ t: java.lang.annotation.ElementType) diff --git a/compiler/testData/loadJava/compiledKotlin/annotations/packageMembers/EnumArrayArgument.txt b/compiler/testData/loadJava/compiledKotlin/annotations/packageMembers/EnumArrayArgument.txt index 3f2a11ef5eb..9039fb35eda 100644 --- a/compiler/testData/loadJava/compiledKotlin/annotations/packageMembers/EnumArrayArgument.txt +++ b/compiler/testData/loadJava/compiledKotlin/annotations/packageMembers/EnumArrayArgument.txt @@ -1,9 +1,9 @@ package test -test.Anno(t = {ElementType.PACKAGE}: kotlin.Array) internal val bar: kotlin.Int = 42 +test.Anno(t = {ElementType.PACKAGE}) internal val bar: kotlin.Int = 42 internal fun (): kotlin.Int -test.Anno(t = {}: kotlin.Array) internal fun baz(): kotlin.Unit -test.Anno(t = {ElementType.METHOD, ElementType.FIELD}: kotlin.Array) internal fun foo(): kotlin.Unit +test.Anno(t = {}) internal fun baz(): kotlin.Unit +test.Anno(t = {ElementType.METHOD, ElementType.FIELD}) internal fun foo(): kotlin.Unit internal final annotation class Anno : kotlin.Annotation { /*primary*/ public constructor Anno(/*0*/ vararg t: java.lang.annotation.ElementType /*kotlin.Array*/) diff --git a/compiler/testData/loadJava/compiledKotlin/annotations/packageMembers/StringArrayArgument.txt b/compiler/testData/loadJava/compiledKotlin/annotations/packageMembers/StringArrayArgument.txt index 393ad8f6997..b0b4765b8bf 100644 --- a/compiler/testData/loadJava/compiledKotlin/annotations/packageMembers/StringArrayArgument.txt +++ b/compiler/testData/loadJava/compiledKotlin/annotations/packageMembers/StringArrayArgument.txt @@ -1,9 +1,9 @@ package test -test.Anno(t = {"prosper"}: kotlin.Array) internal val bar: kotlin.Int = 42 +test.Anno(t = {"prosper"}) internal val bar: kotlin.Int = 42 internal fun (): kotlin.Int -test.Anno(t = {}: kotlin.Array) internal fun baz(): kotlin.Unit -test.Anno(t = {"live", "long"}: kotlin.Array) internal fun foo(): kotlin.Unit +test.Anno(t = {}) internal fun baz(): kotlin.Unit +test.Anno(t = {"live", "long"}) internal fun foo(): kotlin.Unit internal final annotation class Anno : kotlin.Annotation { /*primary*/ public constructor Anno(/*0*/ vararg t: kotlin.String /*kotlin.Array*/) diff --git a/compiler/testData/loadJava/compiledKotlin/annotations/parameters/InnerClassConstructor.txt b/compiler/testData/loadJava/compiledKotlin/annotations/parameters/InnerClassConstructor.txt index 9f81c2d6ca8..d1546823bc5 100644 --- a/compiler/testData/loadJava/compiledKotlin/annotations/parameters/InnerClassConstructor.txt +++ b/compiler/testData/loadJava/compiledKotlin/annotations/parameters/InnerClassConstructor.txt @@ -10,14 +10,14 @@ internal final class Outer { /*primary*/ public constructor Outer() internal final inner class Inner { - /*primary*/ public constructor Inner(/*0*/ test.A(s = "inner": kotlin.String) y: kotlin.String) - test.A(s = "inner": kotlin.String) internal final val y: kotlin.String + /*primary*/ public constructor Inner(/*0*/ test.A(s = "inner") y: kotlin.String) + test.A(s = "inner") internal final val y: kotlin.String internal final fun (): kotlin.String } internal final class Nested { - /*primary*/ public constructor Nested(/*0*/ test.A(s = "nested": kotlin.String) x: kotlin.String) - test.A(s = "nested": kotlin.String) internal final val x: kotlin.String + /*primary*/ public constructor Nested(/*0*/ test.A(s = "nested") x: kotlin.String) + test.A(s = "nested") internal final val x: kotlin.String internal final fun (): kotlin.String } } diff --git a/compiler/testData/loadJava/compiledKotlin/annotations/types/TypeAnnotationWithArguments.txt b/compiler/testData/loadJava/compiledKotlin/annotations/types/TypeAnnotationWithArguments.txt index d1f101cacc0..5e6e5a4658c 100644 --- a/compiler/testData/loadJava/compiledKotlin/annotations/types/TypeAnnotationWithArguments.txt +++ b/compiler/testData/loadJava/compiledKotlin/annotations/types/TypeAnnotationWithArguments.txt @@ -10,5 +10,5 @@ internal final annotation class Ann : kotlin.Annotation { internal final class TypeAnnotationWithArguments { /*primary*/ public constructor TypeAnnotationWithArguments() - internal final fun foo(/*0*/ param: @[test.Ann(x = "param": kotlin.String, y = 3.14.toDouble(): kotlin.Double)] kotlin.IntRange): @[test.Ann(x = "fun": kotlin.String, y = 2.72.toDouble(): kotlin.Double)] kotlin.Unit + internal final fun foo(/*0*/ param: @[test.Ann(x = "param", y = 3.14.toDouble())] kotlin.IntRange): @[test.Ann(x = "fun", y = 2.72.toDouble())] kotlin.Unit } diff --git a/compiler/testData/loadJava/compiledKotlin/fromLoadJava/ClassDoesNotOverrideMethod.txt b/compiler/testData/loadJava/compiledKotlin/fromLoadJava/ClassDoesNotOverrideMethod.txt index f6726c1fe26..436e31f8308 100644 --- a/compiler/testData/loadJava/compiledKotlin/fromLoadJava/ClassDoesNotOverrideMethod.txt +++ b/compiler/testData/loadJava/compiledKotlin/fromLoadJava/ClassDoesNotOverrideMethod.txt @@ -9,27 +9,27 @@ public abstract class ClassDoesNotOverrideMethod : java.util.Date { public open override /*1*/ /*fake_override*/ fun clone(): kotlin.Any! public open override /*1*/ /*fake_override*/ fun compareTo(/*0*/ other: java.util.Date!): kotlin.Int invisible_fake final override /*1*/ /*fake_override*/ fun getCalendarDate(): sun.util.calendar.BaseCalendar.Date! - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun getDate(): kotlin.Int - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun getDay(): kotlin.Int - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun getHours(): kotlin.Int - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun getMinutes(): kotlin.Int - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun getMonth(): kotlin.Int - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun getSeconds(): kotlin.Int + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun getDate(): kotlin.Int + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun getDay(): kotlin.Int + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun getHours(): kotlin.Int + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun getMinutes(): kotlin.Int + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun getMonth(): kotlin.Int + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun getSeconds(): kotlin.Int public open override /*1*/ /*fake_override*/ fun getTime(): kotlin.Long invisible_fake final override /*1*/ /*fake_override*/ fun getTimeImpl(): kotlin.Long - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun getTimezoneOffset(): kotlin.Int - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun getYear(): kotlin.Int + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun getTimezoneOffset(): kotlin.Int + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun getYear(): kotlin.Int invisible_fake final override /*1*/ /*fake_override*/ fun normalize(): sun.util.calendar.BaseCalendar.Date! invisible_fake final override /*1*/ /*fake_override*/ fun normalize(/*0*/ p0: sun.util.calendar.BaseCalendar.Date!): sun.util.calendar.BaseCalendar.Date! invisible_fake open override /*1*/ /*fake_override*/ fun readObject(/*0*/ p0: java.io.ObjectInputStream!): kotlin.Unit - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun setDate(/*0*/ p0: kotlin.Int): kotlin.Unit - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun setHours(/*0*/ p0: kotlin.Int): kotlin.Unit - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun setMinutes(/*0*/ p0: kotlin.Int): kotlin.Unit - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun setMonth(/*0*/ p0: kotlin.Int): kotlin.Unit - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun setSeconds(/*0*/ p0: kotlin.Int): kotlin.Unit + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun setDate(/*0*/ p0: kotlin.Int): kotlin.Unit + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun setHours(/*0*/ p0: kotlin.Int): kotlin.Unit + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun setMinutes(/*0*/ p0: kotlin.Int): kotlin.Unit + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun setMonth(/*0*/ p0: kotlin.Int): kotlin.Unit + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun setSeconds(/*0*/ p0: kotlin.Int): kotlin.Unit public open override /*1*/ /*fake_override*/ fun setTime(/*0*/ p0: kotlin.Long): kotlin.Unit - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun setYear(/*0*/ p0: kotlin.Int): kotlin.Unit - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun toGMTString(): kotlin.String! - kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun toLocaleString(): kotlin.String! + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun setYear(/*0*/ p0: kotlin.Int): kotlin.Unit + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun toGMTString(): kotlin.String! + kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun toLocaleString(): kotlin.String! invisible_fake open override /*1*/ /*fake_override*/ fun writeObject(/*0*/ p0: java.io.ObjectOutputStream!): kotlin.Unit } diff --git a/compiler/testData/loadJava/compiledKotlin/inline/inlineFunction.txt b/compiler/testData/loadJava/compiledKotlin/inline/inlineFunction.txt index f07716589a7..0e11c6baac6 100644 --- a/compiler/testData/loadJava/compiledKotlin/inline/inlineFunction.txt +++ b/compiler/testData/loadJava/compiledKotlin/inline/inlineFunction.txt @@ -1,6 +1,6 @@ package test kotlin.inline() internal fun a(): kotlin.Unit -kotlin.inline(strategy = InlineStrategy.AS_FUNCTION: kotlin.InlineStrategy) internal fun b(): kotlin.Unit -kotlin.inline(strategy = InlineStrategy.IN_PLACE: kotlin.InlineStrategy) internal fun c(): kotlin.Unit -kotlin.inline(strategy = InlineStrategy.IN_PLACE: kotlin.InlineStrategy) internal fun d(): kotlin.Unit +kotlin.inline(strategy = InlineStrategy.AS_FUNCTION) internal fun b(): kotlin.Unit +kotlin.inline(strategy = InlineStrategy.IN_PLACE) internal fun c(): kotlin.Unit +kotlin.inline(strategy = InlineStrategy.IN_PLACE) internal fun d(): kotlin.Unit diff --git a/compiler/testData/loadJava/compiledKotlinWithStdlib/platformNames/functionName.txt b/compiler/testData/loadJava/compiledKotlinWithStdlib/platformNames/functionName.txt index 4b7b943097c..c35cd5a3556 100644 --- a/compiler/testData/loadJava/compiledKotlinWithStdlib/platformNames/functionName.txt +++ b/compiler/testData/loadJava/compiledKotlinWithStdlib/platformNames/functionName.txt @@ -1,9 +1,9 @@ package test -test.A(s = "2": kotlin.String) internal var v: kotlin.Int - kotlin.platform.platformName(name = "vget": kotlin.String) test.A(s = "3": kotlin.String) internal fun (): kotlin.Int - kotlin.platform.platformName(name = "vset": kotlin.String) test.A(s = "4": kotlin.String) internal fun (/*0*/ : kotlin.Int): kotlin.Unit -kotlin.platform.platformName(name = "bar": kotlin.String) test.A(s = "1": kotlin.String) internal fun foo(): kotlin.String +test.A(s = "2") internal var v: kotlin.Int + kotlin.platform.platformName(name = "vget") test.A(s = "3") internal fun (): kotlin.Int + kotlin.platform.platformName(name = "vset") test.A(s = "4") internal fun (/*0*/ : kotlin.Int): kotlin.Unit +kotlin.platform.platformName(name = "bar") test.A(s = "1") internal fun foo(): kotlin.String internal final annotation class A : kotlin.Annotation { /*primary*/ public constructor A(/*0*/ s: kotlin.String) diff --git a/compiler/testData/loadJava/sourceJava/NullInAnnotation.txt b/compiler/testData/loadJava/sourceJava/NullInAnnotation.txt index f5f7b0b5c58..6faf51d956c 100644 --- a/compiler/testData/loadJava/sourceJava/NullInAnnotation.txt +++ b/compiler/testData/loadJava/sourceJava/NullInAnnotation.txt @@ -3,7 +3,7 @@ package test public /*synthesized*/ fun NullInAnnotation(/*0*/ function: () -> kotlin.Unit): test.NullInAnnotation public interface NullInAnnotation { - test.NullInAnnotation.Ann(a = null: kotlin.Nothing?, b = {null}: kotlin.Array) public abstract fun foo(): kotlin.Unit + test.NullInAnnotation.Ann(a = null, b = {null}) public abstract fun foo(): kotlin.Unit public final annotation class Ann : kotlin.Annotation { public constructor Ann(/*0*/ a: kotlin.String, /*1*/ b: kotlin.Array) diff --git a/compiler/testData/renderFunctionDescriptorInExpression/basicFunExpr.kt b/compiler/testData/renderFunctionDescriptorInExpression/basicFunExpr.kt index 840aca6000d..e7db8feb851 100644 --- a/compiler/testData/renderFunctionDescriptorInExpression/basicFunExpr.kt +++ b/compiler/testData/renderFunctionDescriptorInExpression/basicFunExpr.kt @@ -6,4 +6,4 @@ fun box() { foo( @Ann("OK1") fun() {}) } -//Ann(x = "OK1": kotlin.String) local final fun (): kotlin.Unit defined in box \ No newline at end of file +//Ann(x = "OK1") local final fun (): kotlin.Unit defined in box \ No newline at end of file diff --git a/compiler/testData/renderFunctionDescriptorInExpression/basicFunExprArgs.kt b/compiler/testData/renderFunctionDescriptorInExpression/basicFunExprArgs.kt index 2a4d5708c63..e2cf5372517 100644 --- a/compiler/testData/renderFunctionDescriptorInExpression/basicFunExprArgs.kt +++ b/compiler/testData/renderFunctionDescriptorInExpression/basicFunExprArgs.kt @@ -6,4 +6,4 @@ fun box() { foo( @Ann("OK1") fun(@Ann("1") x: Int, @Ann("2") y: String) {}) } -//Ann(x = "OK1": kotlin.String) local final fun (/*0*/ Ann(x = "1": kotlin.String) x: kotlin.Int, /*1*/ Ann(x = "2": kotlin.String) y: kotlin.String): kotlin.Unit defined in box \ No newline at end of file +//Ann(x = "OK1") local final fun (/*0*/ Ann(x = "1") x: kotlin.Int, /*1*/ Ann(x = "2") y: kotlin.String): kotlin.Unit defined in box \ No newline at end of file diff --git a/compiler/testData/renderFunctionDescriptorInExpression/basicLambda.kt b/compiler/testData/renderFunctionDescriptorInExpression/basicLambda.kt index 6109ff196ac..90606c4c2e3 100644 --- a/compiler/testData/renderFunctionDescriptorInExpression/basicLambda.kt +++ b/compiler/testData/renderFunctionDescriptorInExpression/basicLambda.kt @@ -8,5 +8,5 @@ fun box() { foo() @Ann("OK2") { } } -//Ann(x = "OK1": kotlin.String) local final fun (): kotlin.Unit defined in box -//Ann(x = "OK2": kotlin.String) local final fun (): kotlin.Unit defined in box +//Ann(x = "OK1") local final fun (): kotlin.Unit defined in box +//Ann(x = "OK2") local final fun (): kotlin.Unit defined in box diff --git a/compiler/testData/renderFunctionDescriptorInExpression/labeledLambda.kt b/compiler/testData/renderFunctionDescriptorInExpression/labeledLambda.kt index 30a78fdc556..1269fe53fb1 100644 --- a/compiler/testData/renderFunctionDescriptorInExpression/labeledLambda.kt +++ b/compiler/testData/renderFunctionDescriptorInExpression/labeledLambda.kt @@ -8,5 +8,5 @@ fun box() { foo() @Ann("OK2") label@{ } } -//Ann(x = "OK1": kotlin.String) local final fun (): kotlin.Unit defined in box -//Ann(x = "OK2": kotlin.String) local final fun (): kotlin.Unit defined in box +//Ann(x = "OK1") local final fun (): kotlin.Unit defined in box +//Ann(x = "OK2") local final fun (): kotlin.Unit defined in box diff --git a/compiler/testData/resolveAnnotations/parameters/byte.kt b/compiler/testData/resolveAnnotations/parameters/byte.kt index 755b7113a7d..975bd272817 100644 --- a/compiler/testData/resolveAnnotations/parameters/byte.kt +++ b/compiler/testData/resolveAnnotations/parameters/byte.kt @@ -9,4 +9,4 @@ annotation class Ann( Ann(1, 1.toByte(), 128.toByte(), 128) class MyClass -// EXPECTED: Ann(b1 = IntegerValueType(1): IntegerValueType(1), b2 = 1.toByte(): Byte, b3 = -128.toByte(): Byte, b4 = IntegerValueType(128): IntegerValueType(128)) \ No newline at end of file +// EXPECTED: Ann(b1 = IntegerValueType(1), b2 = 1.toByte(), b3 = -128.toByte(), b4 = IntegerValueType(128)) \ No newline at end of file diff --git a/compiler/testData/resolveAnnotations/parameters/char.kt b/compiler/testData/resolveAnnotations/parameters/char.kt index f9b69485099..8f40cf237ca 100644 --- a/compiler/testData/resolveAnnotations/parameters/char.kt +++ b/compiler/testData/resolveAnnotations/parameters/char.kt @@ -13,4 +13,4 @@ annotation class Ann( Ann('c', 99.toChar(), 'c'.toInt(), 'c'.toLong(), 'c'.toByte(), 'c'.toShort(), 'c'.toDouble(), 'c'.toFloat()) class MyClass -// EXPECTED: Ann(b1 = \u0063 ('c'): Char, b2 = \u0063 ('c'): Char, b3 = 99: Int, b4 = 99.toLong(): Long, b5 = 99.toByte(): Byte, b6 = 99.toShort(): Short, b7 = 99.0.toDouble(): Double, b8 = 99.0.toFloat(): Float) \ No newline at end of file +// EXPECTED: Ann(b1 = \u0063 ('c'), b2 = \u0063 ('c'), b3 = 99, b4 = 99.toLong(), b5 = 99.toByte(), b6 = 99.toShort(), b7 = 99.0.toDouble(), b8 = 99.0.toFloat()) \ No newline at end of file diff --git a/compiler/testData/resolveAnnotations/parameters/double.kt b/compiler/testData/resolveAnnotations/parameters/double.kt index 02e7eb31536..a46d740390b 100644 --- a/compiler/testData/resolveAnnotations/parameters/double.kt +++ b/compiler/testData/resolveAnnotations/parameters/double.kt @@ -9,4 +9,4 @@ annotation class Ann( Ann(1.0, 1.toDouble(), 1.7976931348623157E309.toDouble(), 1.7976931348623157E309) class MyClass -// EXPECTED: Ann(b1 = 1.0.toDouble(): Double, b2 = 1.0.toDouble(): Double, b3 = Infinity.toDouble(): Double, b4 = Infinity.toDouble(): Double) \ No newline at end of file +// EXPECTED: Ann(b1 = 1.0.toDouble(), b2 = 1.0.toDouble(), b3 = Infinity.toDouble(), b4 = Infinity.toDouble()) \ No newline at end of file diff --git a/compiler/testData/resolveAnnotations/parameters/expressions/andAnd.kt b/compiler/testData/resolveAnnotations/parameters/expressions/andAnd.kt index ed845cb7f07..113d913bdfb 100644 --- a/compiler/testData/resolveAnnotations/parameters/expressions/andAnd.kt +++ b/compiler/testData/resolveAnnotations/parameters/expressions/andAnd.kt @@ -7,4 +7,4 @@ annotation class Ann( Ann(true && false, true && true) class MyClass -// EXPECTED: Ann(b1 = false: Boolean, b2 = true: Boolean) +// EXPECTED: Ann(b1 = false, b2 = true) diff --git a/compiler/testData/resolveAnnotations/parameters/expressions/boolean.kt b/compiler/testData/resolveAnnotations/parameters/expressions/boolean.kt index a8ddb42cc96..2a681219867 100644 --- a/compiler/testData/resolveAnnotations/parameters/expressions/boolean.kt +++ b/compiler/testData/resolveAnnotations/parameters/expressions/boolean.kt @@ -8,4 +8,4 @@ annotation class Ann( Ann(true and false, false or true, true xor false) class MyClass -// EXPECTED: Ann(b1 = false: Boolean, b2 = true: Boolean, b3 = true: Boolean) +// EXPECTED: Ann(b1 = false, b2 = true, b3 = true) diff --git a/compiler/testData/resolveAnnotations/parameters/expressions/char.kt b/compiler/testData/resolveAnnotations/parameters/expressions/char.kt index 736f98d16b0..2be63e20012 100644 --- a/compiler/testData/resolveAnnotations/parameters/expressions/char.kt +++ b/compiler/testData/resolveAnnotations/parameters/expressions/char.kt @@ -4,4 +4,4 @@ annotation class Ann(val c1: Char) Ann('a' - 'a') class MyClass -// EXPECTED: Ann(c1 = IntegerValueType(0): IntegerValueType(0)) +// EXPECTED: Ann(c1 = IntegerValueType(0)) diff --git a/compiler/testData/resolveAnnotations/parameters/expressions/compositeCallBinary.kt b/compiler/testData/resolveAnnotations/parameters/expressions/compositeCallBinary.kt index 4eb0bbb1f36..71241670ca1 100644 --- a/compiler/testData/resolveAnnotations/parameters/expressions/compositeCallBinary.kt +++ b/compiler/testData/resolveAnnotations/parameters/expressions/compositeCallBinary.kt @@ -8,4 +8,4 @@ annotation class Ann( Ann(1.toInt().plus(1), 1.minus(1.toInt()), 1.toInt().times(1.toInt())) class MyClass -// EXPECTED: Ann(p1 = 2: Int, p2 = 0: Int, p3 = 1: Int) +// EXPECTED: Ann(p1 = 2, p2 = 0, p3 = 1) diff --git a/compiler/testData/resolveAnnotations/parameters/expressions/divide.kt b/compiler/testData/resolveAnnotations/parameters/expressions/divide.kt index 73014a22e5c..5a146c2e77f 100644 --- a/compiler/testData/resolveAnnotations/parameters/expressions/divide.kt +++ b/compiler/testData/resolveAnnotations/parameters/expressions/divide.kt @@ -9,4 +9,4 @@ annotation class Ann( Ann(1 / 1, 1 / 1, 1 / 1, 1 / 1) class MyClass -// EXPECTED: Ann(b = IntegerValueType(1): IntegerValueType(1), i = IntegerValueType(1): IntegerValueType(1), l = IntegerValueType(1): IntegerValueType(1), s = IntegerValueType(1): IntegerValueType(1)) +// EXPECTED: Ann(b = IntegerValueType(1), i = IntegerValueType(1), l = IntegerValueType(1), s = IntegerValueType(1)) diff --git a/compiler/testData/resolveAnnotations/parameters/expressions/double.kt b/compiler/testData/resolveAnnotations/parameters/expressions/double.kt index eb7e77692fb..ef343b56f63 100644 --- a/compiler/testData/resolveAnnotations/parameters/expressions/double.kt +++ b/compiler/testData/resolveAnnotations/parameters/expressions/double.kt @@ -8,4 +8,4 @@ annotation class Ann( Ann(1.0 + 1.0, 1.0 + 1, 1 + 1.0) class MyClass -// EXPECTED: Ann(d1 = 2.0.toDouble(): Double, d2 = 2.0.toDouble(): Double, d3 = 2.0.toDouble(): Double) +// EXPECTED: Ann(d1 = 2.0.toDouble(), d2 = 2.0.toDouble(), d3 = 2.0.toDouble()) diff --git a/compiler/testData/resolveAnnotations/parameters/expressions/eqeq.kt b/compiler/testData/resolveAnnotations/parameters/expressions/eqeq.kt index dc615c55a75..8c9fa5e889a 100644 --- a/compiler/testData/resolveAnnotations/parameters/expressions/eqeq.kt +++ b/compiler/testData/resolveAnnotations/parameters/expressions/eqeq.kt @@ -10,4 +10,4 @@ annotation class Ann( Ann(1 == 2, 1.0 == 2.0, 'b' == 'a', "a" == "b", "a" == "a") class MyClass -// EXPECTED: Ann(b1 = false: Boolean, b2 = false: Boolean, b3 = false: Boolean, b4 = false: Boolean, b5 = true: Boolean) +// EXPECTED: Ann(b1 = false, b2 = false, b3 = false, b4 = false, b5 = true) diff --git a/compiler/testData/resolveAnnotations/parameters/expressions/escapedString.kt b/compiler/testData/resolveAnnotations/parameters/expressions/escapedString.kt index d06a61b0acb..8b332a768bb 100644 --- a/compiler/testData/resolveAnnotations/parameters/expressions/escapedString.kt +++ b/compiler/testData/resolveAnnotations/parameters/expressions/escapedString.kt @@ -4,4 +4,4 @@ annotation class Ann(val s1: String) Ann(s1 = "\$ab") class MyClass -// EXPECTED: Ann(s1 = "$ab": String) +// EXPECTED: Ann(s1 = "$ab") diff --git a/compiler/testData/resolveAnnotations/parameters/expressions/float.kt b/compiler/testData/resolveAnnotations/parameters/expressions/float.kt index bd84e17c9b6..576b9bcd274 100644 --- a/compiler/testData/resolveAnnotations/parameters/expressions/float.kt +++ b/compiler/testData/resolveAnnotations/parameters/expressions/float.kt @@ -9,4 +9,4 @@ annotation class Ann( Ann(1.toFloat() + 1.toFloat(), 1.toFloat() + 1, 1.toFloat() + 1.0) class MyClass -// EXPECTED: Ann(d1 = 2.0.toFloat(): Float, d2 = 2.0.toFloat(): Float, d3 = 2.0.toDouble(): Double) +// EXPECTED: Ann(d1 = 2.0.toFloat(), d2 = 2.0.toFloat(), d3 = 2.0.toDouble()) diff --git a/compiler/testData/resolveAnnotations/parameters/expressions/gt.kt b/compiler/testData/resolveAnnotations/parameters/expressions/gt.kt index 7f5145d2abb..444f703b94d 100644 --- a/compiler/testData/resolveAnnotations/parameters/expressions/gt.kt +++ b/compiler/testData/resolveAnnotations/parameters/expressions/gt.kt @@ -14,4 +14,4 @@ val b = 2 Ann(1 > 2, 1.0 > 2.0, 2 > a, b > a, 'b' > 'a', "a" > "b") class MyClass -// EXPECTED: Ann(b1 = false: Boolean, b2 = false: Boolean, b3 = true: Boolean, b4 = true: Boolean, b5 = true: Boolean, b6 = false: Boolean) +// EXPECTED: Ann(b1 = false, b2 = false, b3 = true, b4 = true, b5 = true, b6 = false) diff --git a/compiler/testData/resolveAnnotations/parameters/expressions/gteq.kt b/compiler/testData/resolveAnnotations/parameters/expressions/gteq.kt index 54dba618a3b..3bafaa791d6 100644 --- a/compiler/testData/resolveAnnotations/parameters/expressions/gteq.kt +++ b/compiler/testData/resolveAnnotations/parameters/expressions/gteq.kt @@ -9,4 +9,4 @@ annotation class Ann( Ann(1 >= 2, 1.0 >= 2.0, 1 >= 1, 1.0 >= 1.0) class MyClass -// EXPECTED: Ann(b1 = false: Boolean, b2 = false: Boolean, b3 = true: Boolean, b4 = true: Boolean) +// EXPECTED: Ann(b1 = false, b2 = false, b3 = true, b4 = true) diff --git a/compiler/testData/resolveAnnotations/parameters/expressions/infixCallBinary.kt b/compiler/testData/resolveAnnotations/parameters/expressions/infixCallBinary.kt index 66ea9e4dd5d..6d36415f438 100644 --- a/compiler/testData/resolveAnnotations/parameters/expressions/infixCallBinary.kt +++ b/compiler/testData/resolveAnnotations/parameters/expressions/infixCallBinary.kt @@ -10,4 +10,4 @@ annotation class Ann( Ann(1 plus 1, 1 minus 1, 1 times 1, 1 div 1, 1 mod 1) class MyClass -// EXPECTED: Ann(p1 = IntegerValueType(2): IntegerValueType(2), p2 = IntegerValueType(0): IntegerValueType(0), p3 = IntegerValueType(1): IntegerValueType(1), p4 = IntegerValueType(1): IntegerValueType(1), p5 = IntegerValueType(0): IntegerValueType(0)) +// EXPECTED: Ann(p1 = IntegerValueType(2), p2 = IntegerValueType(0), p3 = IntegerValueType(1), p4 = IntegerValueType(1), p5 = IntegerValueType(0)) diff --git a/compiler/testData/resolveAnnotations/parameters/expressions/intrincics.kt b/compiler/testData/resolveAnnotations/parameters/expressions/intrincics.kt index 92fc98e9c9c..57df6738438 100644 --- a/compiler/testData/resolveAnnotations/parameters/expressions/intrincics.kt +++ b/compiler/testData/resolveAnnotations/parameters/expressions/intrincics.kt @@ -10,4 +10,4 @@ annotation class Ann(p1: Int, Ann(1 or 1, 1 and 1, 1 xor 1, 1 shl 1, 1 shr 1, 1 ushr 1) class MyClass -// EXPECTED: Ann(p1 = IntegerValueType(1): IntegerValueType(1), p2 = IntegerValueType(1): IntegerValueType(1), p3 = IntegerValueType(0): IntegerValueType(0), p4 = IntegerValueType(2): IntegerValueType(2), p5 = IntegerValueType(0): IntegerValueType(0), p6 = IntegerValueType(0): IntegerValueType(0)) +// EXPECTED: Ann(p1 = IntegerValueType(1), p2 = IntegerValueType(1), p3 = IntegerValueType(0), p4 = IntegerValueType(2), p5 = IntegerValueType(0), p6 = IntegerValueType(0)) diff --git a/compiler/testData/resolveAnnotations/parameters/expressions/labeled.kt b/compiler/testData/resolveAnnotations/parameters/expressions/labeled.kt index a97a2cc1341..9a235bffaa2 100644 --- a/compiler/testData/resolveAnnotations/parameters/expressions/labeled.kt +++ b/compiler/testData/resolveAnnotations/parameters/expressions/labeled.kt @@ -4,4 +4,4 @@ annotation class Ann(i: Double) Ann(A@ 1.0) class MyClass -// EXPECTED: Ann(i = 1.0.toDouble(): Double) +// EXPECTED: Ann(i = 1.0.toDouble()) diff --git a/compiler/testData/resolveAnnotations/parameters/expressions/long.kt b/compiler/testData/resolveAnnotations/parameters/expressions/long.kt index 453d51fc05c..fd46cfc7617 100644 --- a/compiler/testData/resolveAnnotations/parameters/expressions/long.kt +++ b/compiler/testData/resolveAnnotations/parameters/expressions/long.kt @@ -8,4 +8,4 @@ annotation class Ann( Ann(1 + 1, java.lang.Long.MAX_VALUE + 1 - 1, java.lang.Long.MAX_VALUE - 1) class MyClass -// EXPECTED: Ann(l1 = IntegerValueType(2): IntegerValueType(2), l2 = 9223372036854775807.toLong(): Long, l3 = 9223372036854775806.toLong(): Long) +// EXPECTED: Ann(l1 = IntegerValueType(2), l2 = 9223372036854775807.toLong(), l3 = 9223372036854775806.toLong()) diff --git a/compiler/testData/resolveAnnotations/parameters/expressions/lt.kt b/compiler/testData/resolveAnnotations/parameters/expressions/lt.kt index 456cb634c10..94e6545804b 100644 --- a/compiler/testData/resolveAnnotations/parameters/expressions/lt.kt +++ b/compiler/testData/resolveAnnotations/parameters/expressions/lt.kt @@ -14,4 +14,4 @@ val b = 2 Ann(1 < 2, 1.0 < 2.0, 2 < a, b < a, 'b' < 'a', "a" < "b") class MyClass -// EXPECTED: Ann(b1 = true: Boolean, b2 = true: Boolean, b3 = false: Boolean, b4 = false: Boolean, b5 = false: Boolean, b6 = true: Boolean) +// EXPECTED: Ann(b1 = true, b2 = true, b3 = false, b4 = false, b5 = false, b6 = true) diff --git a/compiler/testData/resolveAnnotations/parameters/expressions/lteq.kt b/compiler/testData/resolveAnnotations/parameters/expressions/lteq.kt index c109e34e91d..efb695c94aa 100644 --- a/compiler/testData/resolveAnnotations/parameters/expressions/lteq.kt +++ b/compiler/testData/resolveAnnotations/parameters/expressions/lteq.kt @@ -9,4 +9,4 @@ annotation class Ann( Ann(1 <= 2, 1.0 <= 2.0, 1 <= 1, 1.0 <= 1.0) class MyClass -// EXPECTED: Ann(b1 = true: Boolean, b2 = true: Boolean, b3 = true: Boolean, b4 = true: Boolean) +// EXPECTED: Ann(b1 = true, b2 = true, b3 = true, b4 = true) diff --git a/compiler/testData/resolveAnnotations/parameters/expressions/maxValue.kt b/compiler/testData/resolveAnnotations/parameters/expressions/maxValue.kt index 934868533a2..b6f9bab71d4 100644 --- a/compiler/testData/resolveAnnotations/parameters/expressions/maxValue.kt +++ b/compiler/testData/resolveAnnotations/parameters/expressions/maxValue.kt @@ -18,4 +18,4 @@ Ann( p6 = java.lang.Long.MAX_VALUE + 1 ) class MyClass -// EXPECTED: Ann(p1 = 128: Int, p2 = 32768: Int, p3 = -2147483648: Int, p4 = -2147483648: Int, p5 = 2147483648.toLong(): Long, p6 = -9223372036854775808.toLong(): Long) +// EXPECTED: Ann(p1 = 128, p2 = 32768, p3 = -2147483648, p4 = -2147483648, p5 = 2147483648.toLong(), p6 = -9223372036854775808.toLong()) diff --git a/compiler/testData/resolveAnnotations/parameters/expressions/maxValueByte.kt b/compiler/testData/resolveAnnotations/parameters/expressions/maxValueByte.kt index f8f15fb686e..699ed948087 100644 --- a/compiler/testData/resolveAnnotations/parameters/expressions/maxValueByte.kt +++ b/compiler/testData/resolveAnnotations/parameters/expressions/maxValueByte.kt @@ -16,4 +16,4 @@ Ann( p5 = 1.toByte() + 1.toByte() ) class MyClass -// EXPECTED: Ann(p1 = 128: Int, p2 = IntegerValueType(2): IntegerValueType(2), p3 = 128: Int, p4 = 2: Int, p5 = 2: Int) +// EXPECTED: Ann(p1 = 128, p2 = IntegerValueType(2), p3 = 128, p4 = 2, p5 = 2) diff --git a/compiler/testData/resolveAnnotations/parameters/expressions/maxValueInt.kt b/compiler/testData/resolveAnnotations/parameters/expressions/maxValueInt.kt index 0a0402ae2a1..9d558c9aef3 100644 --- a/compiler/testData/resolveAnnotations/parameters/expressions/maxValueInt.kt +++ b/compiler/testData/resolveAnnotations/parameters/expressions/maxValueInt.kt @@ -16,4 +16,4 @@ Ann( p5 = 1.toInt() + 1.toInt() ) class MyClass -// EXPECTED: Ann(p1 = -2147483648: Int, p2 = IntegerValueType(2): IntegerValueType(2), p3 = -2147483648: Int, p4 = 2: Int, p5 = 2: Int) +// EXPECTED: Ann(p1 = -2147483648, p2 = IntegerValueType(2), p3 = -2147483648, p4 = 2, p5 = 2) diff --git a/compiler/testData/resolveAnnotations/parameters/expressions/miltiply.kt b/compiler/testData/resolveAnnotations/parameters/expressions/miltiply.kt index 13d5ae39346..18e45eb61ff 100644 --- a/compiler/testData/resolveAnnotations/parameters/expressions/miltiply.kt +++ b/compiler/testData/resolveAnnotations/parameters/expressions/miltiply.kt @@ -9,4 +9,4 @@ annotation class Ann( Ann(1 * 1, 1 * 1, 1 * 1, 1 * 1) class MyClass -// EXPECTED: Ann(b = IntegerValueType(1): IntegerValueType(1), i = IntegerValueType(1): IntegerValueType(1), l = IntegerValueType(1): IntegerValueType(1), s = IntegerValueType(1): IntegerValueType(1)) +// EXPECTED: Ann(b = IntegerValueType(1), i = IntegerValueType(1), l = IntegerValueType(1), s = IntegerValueType(1)) diff --git a/compiler/testData/resolveAnnotations/parameters/expressions/minus.kt b/compiler/testData/resolveAnnotations/parameters/expressions/minus.kt index d5135263b14..71fd2ae8bc3 100644 --- a/compiler/testData/resolveAnnotations/parameters/expressions/minus.kt +++ b/compiler/testData/resolveAnnotations/parameters/expressions/minus.kt @@ -9,4 +9,4 @@ annotation class Ann( Ann(1 - 1, 1 - 1, 1 - 1, 1 - 1) class MyClass -// EXPECTED: Ann(b = IntegerValueType(0): IntegerValueType(0), i = IntegerValueType(0): IntegerValueType(0), l = IntegerValueType(0): IntegerValueType(0), s = IntegerValueType(0): IntegerValueType(0)) +// EXPECTED: Ann(b = IntegerValueType(0), i = IntegerValueType(0), l = IntegerValueType(0), s = IntegerValueType(0)) diff --git a/compiler/testData/resolveAnnotations/parameters/expressions/mod.kt b/compiler/testData/resolveAnnotations/parameters/expressions/mod.kt index a62d7fc5db5..1df17b2e9f1 100644 --- a/compiler/testData/resolveAnnotations/parameters/expressions/mod.kt +++ b/compiler/testData/resolveAnnotations/parameters/expressions/mod.kt @@ -9,4 +9,4 @@ annotation class Ann( Ann(1 % 1, 1 % 1, 1 % 1, 1 % 1) class MyClass -// EXPECTED: Ann(b = IntegerValueType(0): IntegerValueType(0), i = IntegerValueType(0): IntegerValueType(0), l = IntegerValueType(0): IntegerValueType(0), s = IntegerValueType(0): IntegerValueType(0)) +// EXPECTED: Ann(b = IntegerValueType(0), i = IntegerValueType(0), l = IntegerValueType(0), s = IntegerValueType(0)) diff --git a/compiler/testData/resolveAnnotations/parameters/expressions/multilineString.kt b/compiler/testData/resolveAnnotations/parameters/expressions/multilineString.kt index a02cb75b67f..5dc162bea55 100644 --- a/compiler/testData/resolveAnnotations/parameters/expressions/multilineString.kt +++ b/compiler/testData/resolveAnnotations/parameters/expressions/multilineString.kt @@ -4,4 +4,4 @@ annotation class Ann(val s1: String) Ann(s1 = """a""" + "b") class MyClass -// EXPECTED: Ann(s1 = "ab": String) +// EXPECTED: Ann(s1 = "ab") diff --git a/compiler/testData/resolveAnnotations/parameters/expressions/not.kt b/compiler/testData/resolveAnnotations/parameters/expressions/not.kt index 75a992b52ff..75db7334753 100644 --- a/compiler/testData/resolveAnnotations/parameters/expressions/not.kt +++ b/compiler/testData/resolveAnnotations/parameters/expressions/not.kt @@ -8,4 +8,4 @@ annotation class Ann( Ann(!true, !false) class MyClass -// EXPECTED: Ann(b1 = false: Boolean, b2 = true: Boolean) +// EXPECTED: Ann(b1 = false, b2 = true) diff --git a/compiler/testData/resolveAnnotations/parameters/expressions/noteq.kt b/compiler/testData/resolveAnnotations/parameters/expressions/noteq.kt index 321310cacf2..052ef54668c 100644 --- a/compiler/testData/resolveAnnotations/parameters/expressions/noteq.kt +++ b/compiler/testData/resolveAnnotations/parameters/expressions/noteq.kt @@ -10,4 +10,4 @@ annotation class Ann( Ann(1 != 2, 1.0 != 2.0, 'b' != 'a', "a" != "b", "a" != "a") class MyClass -// EXPECTED: Ann(b1 = true: Boolean, b2 = true: Boolean, b3 = true: Boolean, b4 = true: Boolean, b5 = false: Boolean) +// EXPECTED: Ann(b1 = true, b2 = true, b3 = true, b4 = true, b5 = false) diff --git a/compiler/testData/resolveAnnotations/parameters/expressions/orOr.kt b/compiler/testData/resolveAnnotations/parameters/expressions/orOr.kt index b7c96c38d2f..3e4511d4f5e 100644 --- a/compiler/testData/resolveAnnotations/parameters/expressions/orOr.kt +++ b/compiler/testData/resolveAnnotations/parameters/expressions/orOr.kt @@ -7,4 +7,4 @@ annotation class Ann( Ann(true || false, true || true) class MyClass -// EXPECTED: Ann(b1 = true: Boolean, b2 = true: Boolean) +// EXPECTED: Ann(b1 = true, b2 = true) diff --git a/compiler/testData/resolveAnnotations/parameters/expressions/paranthesized.kt b/compiler/testData/resolveAnnotations/parameters/expressions/paranthesized.kt index ec1a3ce0d0d..bc997c607cb 100644 --- a/compiler/testData/resolveAnnotations/parameters/expressions/paranthesized.kt +++ b/compiler/testData/resolveAnnotations/parameters/expressions/paranthesized.kt @@ -4,4 +4,4 @@ annotation class Ann(i: Int) Ann((1 + 2) * 2) class MyClass -// EXPECTED: Ann(i = IntegerValueType(6): IntegerValueType(6)) +// EXPECTED: Ann(i = IntegerValueType(6)) diff --git a/compiler/testData/resolveAnnotations/parameters/expressions/plus.kt b/compiler/testData/resolveAnnotations/parameters/expressions/plus.kt index 65e622a16c6..9c8042b543a 100644 --- a/compiler/testData/resolveAnnotations/parameters/expressions/plus.kt +++ b/compiler/testData/resolveAnnotations/parameters/expressions/plus.kt @@ -9,4 +9,4 @@ annotation class Ann( Ann(1 + 1, 1 + 1, 1 + 1, 1 + 1) class MyClass -// EXPECTED: Ann(b = IntegerValueType(2): IntegerValueType(2), i = IntegerValueType(2): IntegerValueType(2), l = IntegerValueType(2): IntegerValueType(2), s = IntegerValueType(2): IntegerValueType(2)) +// EXPECTED: Ann(b = IntegerValueType(2), i = IntegerValueType(2), l = IntegerValueType(2), s = IntegerValueType(2)) diff --git a/compiler/testData/resolveAnnotations/parameters/expressions/simpleCallBinary.kt b/compiler/testData/resolveAnnotations/parameters/expressions/simpleCallBinary.kt index 8a3a75185b4..ccd45c47ed1 100644 --- a/compiler/testData/resolveAnnotations/parameters/expressions/simpleCallBinary.kt +++ b/compiler/testData/resolveAnnotations/parameters/expressions/simpleCallBinary.kt @@ -10,4 +10,4 @@ annotation class Ann( Ann(1.plus(1), 1.minus(1), 1.times(1), 1.div(1), 1.mod(1)) class MyClass -// EXPECTED: Ann(p1 = IntegerValueType(2): IntegerValueType(2), p2 = IntegerValueType(0): IntegerValueType(0), p3 = IntegerValueType(1): IntegerValueType(1), p4 = IntegerValueType(1): IntegerValueType(1), p5 = IntegerValueType(0): IntegerValueType(0)) +// EXPECTED: Ann(p1 = IntegerValueType(2), p2 = IntegerValueType(0), p3 = IntegerValueType(1), p4 = IntegerValueType(1), p5 = IntegerValueType(0)) diff --git a/compiler/testData/resolveAnnotations/parameters/expressions/stringPlusInt.kt b/compiler/testData/resolveAnnotations/parameters/expressions/stringPlusInt.kt index 828ef3bc52b..f5ce5517e2d 100644 --- a/compiler/testData/resolveAnnotations/parameters/expressions/stringPlusInt.kt +++ b/compiler/testData/resolveAnnotations/parameters/expressions/stringPlusInt.kt @@ -4,4 +4,4 @@ annotation class Ann(val s1: String) Ann(s1 = "a" + 1) class MyClass -// EXPECTED: Ann(s1 = "a1": String) +// EXPECTED: Ann(s1 = "a1") diff --git a/compiler/testData/resolveAnnotations/parameters/expressions/stringTemplate.kt b/compiler/testData/resolveAnnotations/parameters/expressions/stringTemplate.kt index 23c2a1ff1cf..ad85192891d 100644 --- a/compiler/testData/resolveAnnotations/parameters/expressions/stringTemplate.kt +++ b/compiler/testData/resolveAnnotations/parameters/expressions/stringTemplate.kt @@ -16,4 +16,4 @@ Ann( s4 = "a${i}a$i" ) class MyClass -// EXPECTED: Ann(s1 = "a1": String, s2 = "a1 b": String, s3 = "1": String, s4 = "a1a1": String) +// EXPECTED: Ann(s1 = "a1", s2 = "a1 b", s3 = "1", s4 = "a1a1") diff --git a/compiler/testData/resolveAnnotations/parameters/expressions/strings.kt b/compiler/testData/resolveAnnotations/parameters/expressions/strings.kt index ed86a25ac31..83200cbf300 100644 --- a/compiler/testData/resolveAnnotations/parameters/expressions/strings.kt +++ b/compiler/testData/resolveAnnotations/parameters/expressions/strings.kt @@ -6,4 +6,4 @@ val i = 1 Ann(s1 = "a" + "b", s2 = "a" + "a$i") class MyClass -// EXPECTED: Ann(s1 = "ab": String, s2 = "aa1": String) +// EXPECTED: Ann(s1 = "ab", s2 = "aa1") diff --git a/compiler/testData/resolveAnnotations/parameters/expressions/unaryMinus.kt b/compiler/testData/resolveAnnotations/parameters/expressions/unaryMinus.kt index bc820529fca..b318960bcb6 100644 --- a/compiler/testData/resolveAnnotations/parameters/expressions/unaryMinus.kt +++ b/compiler/testData/resolveAnnotations/parameters/expressions/unaryMinus.kt @@ -12,4 +12,4 @@ annotation class Ann( Ann(-1, -1, -1, -1, -1.0, -1.0.toFloat(), -'c') class MyClass -// EXPECTED: Ann(b1 = IntegerValueType(-1): IntegerValueType(-1), b2 = IntegerValueType(-1): IntegerValueType(-1), b3 = IntegerValueType(-1): IntegerValueType(-1), b4 = IntegerValueType(-1): IntegerValueType(-1), b5 = -1.0.toDouble(): Double, b6 = -1.0.toFloat(): Float, b7 = IntegerValueType(-99): IntegerValueType(-99)) +// EXPECTED: Ann(b1 = IntegerValueType(-1), b2 = IntegerValueType(-1), b3 = IntegerValueType(-1), b4 = IntegerValueType(-1), b5 = -1.0.toDouble(), b6 = -1.0.toFloat(), b7 = IntegerValueType(-99)) diff --git a/compiler/testData/resolveAnnotations/parameters/expressions/unaryPlus.kt b/compiler/testData/resolveAnnotations/parameters/expressions/unaryPlus.kt index f48bf4301f3..c0751b02203 100644 --- a/compiler/testData/resolveAnnotations/parameters/expressions/unaryPlus.kt +++ b/compiler/testData/resolveAnnotations/parameters/expressions/unaryPlus.kt @@ -12,4 +12,4 @@ annotation class Ann( Ann(+1, +1, +1, +1, +1.0, +1.0.toFloat(), +'c') class MyClass -// EXPECTED: Ann(b1 = IntegerValueType(1): IntegerValueType(1), b2 = IntegerValueType(1): IntegerValueType(1), b3 = IntegerValueType(1): IntegerValueType(1), b4 = IntegerValueType(1): IntegerValueType(1), b5 = 1.0.toDouble(): Double, b6 = 1.0.toFloat(): Float, b7 = IntegerValueType(99): IntegerValueType(99)) +// EXPECTED: Ann(b1 = IntegerValueType(1), b2 = IntegerValueType(1), b3 = IntegerValueType(1), b4 = IntegerValueType(1), b5 = 1.0.toDouble(), b6 = 1.0.toFloat(), b7 = IntegerValueType(99)) diff --git a/compiler/testData/resolveAnnotations/parameters/float.kt b/compiler/testData/resolveAnnotations/parameters/float.kt index 92b0c669c77..2ad0d5cb885 100644 --- a/compiler/testData/resolveAnnotations/parameters/float.kt +++ b/compiler/testData/resolveAnnotations/parameters/float.kt @@ -7,4 +7,4 @@ annotation class Ann( Ann(1.toFloat(), 1.0.toFloat()) class MyClass -// EXPECTED: Ann(b1 = 1.0.toFloat(): Float, b2 = 1.0.toFloat(): Float) \ No newline at end of file +// EXPECTED: Ann(b1 = 1.0.toFloat(), b2 = 1.0.toFloat()) \ No newline at end of file diff --git a/compiler/testData/resolveAnnotations/parameters/int.kt b/compiler/testData/resolveAnnotations/parameters/int.kt index 7f143c5a1a4..f66cf48ab35 100644 --- a/compiler/testData/resolveAnnotations/parameters/int.kt +++ b/compiler/testData/resolveAnnotations/parameters/int.kt @@ -9,4 +9,4 @@ annotation class Ann( Ann(1, 1.toInt(), 2147483648.toInt(), 2147483648) class MyClass -// EXPECTED: Ann(b1 = IntegerValueType(1): IntegerValueType(1), b2 = 1: Int, b3 = -2147483648: Int, b4 = IntegerValueType(2147483648): IntegerValueType(2147483648)) \ No newline at end of file +// EXPECTED: Ann(b1 = IntegerValueType(1), b2 = 1, b3 = -2147483648, b4 = IntegerValueType(2147483648)) \ No newline at end of file diff --git a/compiler/testData/resolveAnnotations/parameters/long.kt b/compiler/testData/resolveAnnotations/parameters/long.kt index 9d326b8330d..a5e737289e6 100644 --- a/compiler/testData/resolveAnnotations/parameters/long.kt +++ b/compiler/testData/resolveAnnotations/parameters/long.kt @@ -7,4 +7,4 @@ annotation class Ann( Ann(1, 1.toLong()) class MyClass -// EXPECTED: Ann(b1 = IntegerValueType(1): IntegerValueType(1), b2 = 1.toLong(): Long) \ No newline at end of file +// EXPECTED: Ann(b1 = IntegerValueType(1), b2 = 1.toLong()) \ No newline at end of file diff --git a/compiler/testData/resolveAnnotations/parameters/short.kt b/compiler/testData/resolveAnnotations/parameters/short.kt index 91d52204981..bdd892a457a 100644 --- a/compiler/testData/resolveAnnotations/parameters/short.kt +++ b/compiler/testData/resolveAnnotations/parameters/short.kt @@ -9,4 +9,4 @@ annotation class Ann( Ann(1, 1.toShort(), 32768.toShort(), 32768) class MyClass -// EXPECTED: Ann(b1 = IntegerValueType(1): IntegerValueType(1), b2 = 1.toShort(): Short, b3 = -32768.toShort(): Short, b4 = IntegerValueType(32768): IntegerValueType(32768)) \ No newline at end of file +// EXPECTED: Ann(b1 = IntegerValueType(1), b2 = 1.toShort(), b3 = -32768.toShort(), b4 = IntegerValueType(32768)) \ No newline at end of file diff --git a/compiler/testData/serialization/builtinsSerializer/annotationArguments/annotation.txt b/compiler/testData/serialization/builtinsSerializer/annotationArguments/annotation.txt index 21a09b7ba85..406e0750e80 100644 --- a/compiler/testData/serialization/builtinsSerializer/annotationArguments/annotation.txt +++ b/compiler/testData/serialization/builtinsSerializer/annotationArguments/annotation.txt @@ -5,11 +5,11 @@ internal final annotation class AnnotationArray : kotlin.Annotation { internal final val annotationArray: kotlin.Array } -test.JustAnnotation(annotation = test.Empty(): test.Empty) test.AnnotationArray(annotationArray = {}: kotlin.Array) internal final class C1 { +test.JustAnnotation(annotation = test.Empty()) test.AnnotationArray(annotationArray = {}) internal final class C1 { public constructor C1() } -test.AnnotationArray(annotationArray = {test.JustAnnotation(annotation = test.Empty(): test.Empty), test.JustAnnotation(annotation = test.Empty(): test.Empty)}: kotlin.Array) internal final class C2 { +test.AnnotationArray(annotationArray = {test.JustAnnotation(annotation = test.Empty()), test.JustAnnotation(annotation = test.Empty())}) internal final class C2 { public constructor C2() } diff --git a/compiler/testData/serialization/builtinsSerializer/annotationArguments/enum.txt b/compiler/testData/serialization/builtinsSerializer/annotationArguments/enum.txt index f0caf2c0410..11a76ebc119 100644 --- a/compiler/testData/serialization/builtinsSerializer/annotationArguments/enum.txt +++ b/compiler/testData/serialization/builtinsSerializer/annotationArguments/enum.txt @@ -1,10 +1,10 @@ package test -test.JustEnum(weapon = Weapon.SCISSORS: test.Weapon) test.EnumArray(enumArray = {}: kotlin.Array) internal final class C1 { +test.JustEnum(weapon = Weapon.SCISSORS) test.EnumArray(enumArray = {}) internal final class C1 { public constructor C1() } -test.EnumArray(enumArray = {Weapon.PAPER, Weapon.ROCK}: kotlin.Array) internal final class C2 { +test.EnumArray(enumArray = {Weapon.PAPER, Weapon.ROCK}) internal final class C2 { public constructor C2() } diff --git a/compiler/testData/serialization/builtinsSerializer/annotationArguments/primitiveArrays.txt b/compiler/testData/serialization/builtinsSerializer/annotationArguments/primitiveArrays.txt index 05d523cf1ff..d21aca61ed4 100644 --- a/compiler/testData/serialization/builtinsSerializer/annotationArguments/primitiveArrays.txt +++ b/compiler/testData/serialization/builtinsSerializer/annotationArguments/primitiveArrays.txt @@ -1,10 +1,10 @@ package test -test.PrimitiveArrays(booleanArray = {true, false, true}: kotlin.BooleanArray, byteArray = {-7.toByte(), 7.toByte()}: kotlin.ByteArray, charArray = {\u0025 ('%'), \u007A ('z')}: kotlin.CharArray, doubleArray = {-3.14.toDouble()}: kotlin.DoubleArray, floatArray = {2.72.toFloat(), 0.0.toFloat()}: kotlin.FloatArray, intArray = {239017, -1}: kotlin.IntArray, longArray = {123456789123456789.toLong()}: kotlin.LongArray, shortArray = {239.toShort()}: kotlin.ShortArray) internal final class C1 { +test.PrimitiveArrays(booleanArray = {true, false, true}, byteArray = {-7.toByte(), 7.toByte()}, charArray = {\u0025 ('%'), \u007A ('z')}, doubleArray = {-3.14.toDouble()}, floatArray = {2.72.toFloat(), 0.0.toFloat()}, intArray = {239017, -1}, longArray = {123456789123456789.toLong()}, shortArray = {239.toShort()}) internal final class C1 { public constructor C1() } -test.PrimitiveArrays(booleanArray = {}: kotlin.BooleanArray, byteArray = {}: kotlin.ByteArray, charArray = {}: kotlin.CharArray, doubleArray = {}: kotlin.DoubleArray, floatArray = {}: kotlin.FloatArray, intArray = {}: kotlin.IntArray, longArray = {}: kotlin.LongArray, shortArray = {}: kotlin.ShortArray) internal final class C2 { +test.PrimitiveArrays(booleanArray = {}, byteArray = {}, charArray = {}, doubleArray = {}, floatArray = {}, intArray = {}, longArray = {}, shortArray = {}) internal final class C2 { public constructor C2() } diff --git a/compiler/testData/serialization/builtinsSerializer/annotationArguments/primitives.txt b/compiler/testData/serialization/builtinsSerializer/annotationArguments/primitives.txt index 6188a3570fe..9607ed110cf 100644 --- a/compiler/testData/serialization/builtinsSerializer/annotationArguments/primitives.txt +++ b/compiler/testData/serialization/builtinsSerializer/annotationArguments/primitives.txt @@ -1,10 +1,10 @@ package test -test.Primitives(boolean = true: kotlin.Boolean, byte = 7.toByte(): kotlin.Byte, char = \u0025 ('%'): kotlin.Char, double = -3.14.toDouble(): kotlin.Double, float = 2.72.toFloat(): kotlin.Float, int = 239017: kotlin.Int, long = 123456789123456789.toLong(): kotlin.Long, short = 239.toShort(): kotlin.Short) internal final class C { +test.Primitives(boolean = true, byte = 7.toByte(), char = \u0025 ('%'), double = -3.14.toDouble(), float = 2.72.toFloat(), int = 239017, long = 123456789123456789.toLong(), short = 239.toShort()) internal final class C { public constructor C() } -test.Primitives(boolean = true: kotlin.Boolean, byte = 7.toByte(): kotlin.Byte, char = \u0025 ('%'): kotlin.Char, double = -3.14.toDouble(): kotlin.Double, float = 2.72.toFloat(): kotlin.Float, int = 239017: kotlin.Int, long = 123456789123456789.toLong(): kotlin.Long, short = 239.toShort(): kotlin.Short) internal final class D { +test.Primitives(boolean = true, byte = 7.toByte(), char = \u0025 ('%'), double = -3.14.toDouble(), float = 2.72.toFloat(), int = 239017, long = 123456789123456789.toLong(), short = 239.toShort()) internal final class D { public constructor D() } diff --git a/compiler/testData/serialization/builtinsSerializer/annotationArguments/string.txt b/compiler/testData/serialization/builtinsSerializer/annotationArguments/string.txt index e63e087ebb1..27a8890911b 100644 --- a/compiler/testData/serialization/builtinsSerializer/annotationArguments/string.txt +++ b/compiler/testData/serialization/builtinsSerializer/annotationArguments/string.txt @@ -1,10 +1,10 @@ package test -test.JustString(string = "kotlin": kotlin.String) test.StringArray(stringArray = {}: kotlin.Array) internal final class C1 { +test.JustString(string = "kotlin") test.StringArray(stringArray = {}) internal final class C1 { public constructor C1() } -test.StringArray(stringArray = {"java", ""}: kotlin.Array) internal final class C2 { +test.StringArray(stringArray = {"java", ""}) internal final class C2 { public constructor C2() } diff --git a/compiler/testData/serialization/builtinsSerializer/annotationArguments/varargs.kt b/compiler/testData/serialization/builtinsSerializer/annotationArguments/varargs.kt new file mode 100644 index 00000000000..75c4a651010 --- /dev/null +++ b/compiler/testData/serialization/builtinsSerializer/annotationArguments/varargs.kt @@ -0,0 +1,7 @@ +package test + +enum class My { ALPHA, BETA, OMEGA } + +annotation class ann(vararg val m: My) + +ann(My.ALPHA, My.BETA) annotation class annotated diff --git a/compiler/testData/serialization/builtinsSerializer/annotationArguments/varargs.txt b/compiler/testData/serialization/builtinsSerializer/annotationArguments/varargs.txt new file mode 100644 index 00000000000..a65fdc5c1b1 --- /dev/null +++ b/compiler/testData/serialization/builtinsSerializer/annotationArguments/varargs.txt @@ -0,0 +1,42 @@ +package test + +internal final enum class My : kotlin.Enum { + public enum entry ALPHA : test.My { + private constructor ALPHA() + public final override /*1*/ /*fake_override*/ fun compareTo(/*0*/ other: test.My): kotlin.Int + public final override /*1*/ /*fake_override*/ fun name(): kotlin.String + public final override /*1*/ /*fake_override*/ fun ordinal(): kotlin.Int + } + + public enum entry BETA : test.My { + private constructor BETA() + public final override /*1*/ /*fake_override*/ fun compareTo(/*0*/ other: test.My): kotlin.Int + public final override /*1*/ /*fake_override*/ fun name(): kotlin.String + public final override /*1*/ /*fake_override*/ fun ordinal(): kotlin.Int + } + + public enum entry OMEGA : test.My { + private constructor OMEGA() + public final override /*1*/ /*fake_override*/ fun compareTo(/*0*/ other: test.My): kotlin.Int + public final override /*1*/ /*fake_override*/ fun name(): kotlin.String + public final override /*1*/ /*fake_override*/ fun ordinal(): kotlin.Int + } + + private constructor My() + public final override /*1*/ /*fake_override*/ fun compareTo(/*0*/ other: test.My): kotlin.Int + public final override /*1*/ /*fake_override*/ fun name(): kotlin.String + public final override /*1*/ /*fake_override*/ fun ordinal(): kotlin.Int + + // Static members + public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): test.My + public final /*synthesized*/ fun values(): kotlin.Array +} + +internal final annotation class ann : kotlin.Annotation { + public constructor ann(/*0*/ vararg m: test.My /*kotlin.Array*/) + internal final val m: kotlin.Array +} + +test.ann(m = {My.ALPHA, My.BETA}) internal final annotation class annotated : kotlin.Annotation { + public constructor annotated() +} diff --git a/compiler/testData/serialization/builtinsSerializer/annotationTargets.txt b/compiler/testData/serialization/builtinsSerializer/annotationTargets.txt index 580b7ba7fd8..0ab4c38a7b1 100644 --- a/compiler/testData/serialization/builtinsSerializer/annotationTargets.txt +++ b/compiler/testData/serialization/builtinsSerializer/annotationTargets.txt @@ -1,22 +1,22 @@ package test -test.anno(x = "top level property": kotlin.String) internal val p1: kotlin.Nothing? -test.anno(x = "extension property": kotlin.String) internal val kotlin.Double.p2: kotlin.Double -test.anno(x = "top level function": kotlin.String) internal fun f1(/*0*/ test.anno(x = "top level function parameter": kotlin.String) p: kotlin.Int): kotlin.Unit -test.anno(x = "extension function": kotlin.String) internal fun kotlin.Long.f2(/*0*/ test.anno(x = "extension function parameter": kotlin.String) p: kotlin.Int): kotlin.Unit +test.anno(x = "top level property") internal val p1: kotlin.Nothing? +test.anno(x = "extension property") internal val kotlin.Double.p2: kotlin.Double +test.anno(x = "top level function") internal fun f1(/*0*/ test.anno(x = "top level function parameter") p: kotlin.Int): kotlin.Unit +test.anno(x = "extension function") internal fun kotlin.Long.f2(/*0*/ test.anno(x = "extension function parameter") p: kotlin.Int): kotlin.Unit -test.anno(x = "top level class": kotlin.String) internal final class C1 { - test.anno(x = "constructor": kotlin.String) public constructor C1() - test.anno(x = "member property": kotlin.String) internal final val p3: kotlin.Nothing? - test.anno(x = "member extension property": kotlin.String) internal final val kotlin.Int.v4: kotlin.Int - test.anno(x = "member function": kotlin.String) internal final fun f3(/*0*/ test.anno(x = "member function parameter": kotlin.String) p: kotlin.Int): kotlin.Unit - test.anno(x = "member extension function": kotlin.String) internal final fun kotlin.String.f4(): kotlin.Unit +test.anno(x = "top level class") internal final class C1 { + test.anno(x = "constructor") public constructor C1() + test.anno(x = "member property") internal final val p3: kotlin.Nothing? + test.anno(x = "member extension property") internal final val kotlin.Int.v4: kotlin.Int + test.anno(x = "member function") internal final fun f3(/*0*/ test.anno(x = "member function parameter") p: kotlin.Int): kotlin.Unit + test.anno(x = "member extension function") internal final fun kotlin.String.f4(): kotlin.Unit - test.anno(x = "nested class": kotlin.String) internal final class C2 { + test.anno(x = "nested class") internal final class C2 { public constructor C2() } - test.anno(x = "companion object": kotlin.String) public companion object Companion { + test.anno(x = "companion object") public companion object Companion { private constructor Companion() } } diff --git a/compiler/testData/serialization/local/annotationsInLocalClass.txt b/compiler/testData/serialization/local/annotationsInLocalClass.txt index 5050b729245..96e332c62e0 100644 --- a/compiler/testData/serialization/local/annotationsInLocalClass.txt +++ b/compiler/testData/serialization/local/annotationsInLocalClass.txt @@ -1,9 +1,9 @@ -A.Ann(info = "class": kotlin.String) local final class `A$foo$Local` +A.Ann(info = "class") local final class `A$foo$Local` public constructor `A$foo$Local`() -A.Ann(info = "val": kotlin.String) internal final val x: `A$foo$Local` -A.Ann(info = "fun": kotlin.String) internal final fun foo(): `A$foo$Local` +A.Ann(info = "val") internal final val x: `A$foo$Local` +A.Ann(info = "fun") internal final fun foo(): `A$foo$Local` -A.Ann(info = "inner": kotlin.String) local final inner class Inner { +A.Ann(info = "inner") local final inner class Inner { public constructor Inner() } diff --git a/compiler/tests/org/jetbrains/kotlin/resolve/annotation/AnnotationDescriptorResolveTest.java b/compiler/tests/org/jetbrains/kotlin/resolve/annotation/AnnotationDescriptorResolveTest.java index c7cd3436d3c..5cef40c425d 100644 --- a/compiler/tests/org/jetbrains/kotlin/resolve/annotation/AnnotationDescriptorResolveTest.java +++ b/compiler/tests/org/jetbrains/kotlin/resolve/annotation/AnnotationDescriptorResolveTest.java @@ -21,73 +21,73 @@ import java.io.IOException; public class AnnotationDescriptorResolveTest extends AbstractAnnotationDescriptorResolveTest { public void testIntAnnotation() throws IOException { String content = getContent("AnnInt(1)"); - String expectedAnnotation = "AnnInt(a = IntegerValueType(1): IntegerValueType(1))"; + String expectedAnnotation = "AnnInt(a = IntegerValueType(1))"; doTest(content, expectedAnnotation); } public void testStringAnnotation() throws IOException { String content = getContent("AnnString(\"test\")"); - String expectedAnnotation = "AnnString(a = \"test\": String)"; + String expectedAnnotation = "AnnString(a = \"test\")"; doTest(content, expectedAnnotation); } public void testEnumAnnotation() throws IOException { String content = getContent("AnnEnum(MyEnum.A)"); - String expectedAnnotation = "AnnEnum(a = MyEnum.A: MyEnum)"; + String expectedAnnotation = "AnnEnum(a = MyEnum.A)"; doTest(content, expectedAnnotation); } public void testQualifiedEnumAnnotation() throws IOException { String content = getContent("AnnEnum(MyEnum.A)"); - String expectedAnnotation = "AnnEnum(a = MyEnum.A: MyEnum)"; + String expectedAnnotation = "AnnEnum(a = MyEnum.A)"; doTest(content, expectedAnnotation); } public void testUnqualifiedEnumAnnotation() throws IOException { String content = getContent("AnnEnum(A)"); - String expectedAnnotation = "AnnEnum(a = MyEnum.A: MyEnum)"; + String expectedAnnotation = "AnnEnum(a = MyEnum.A)"; doTest(content, expectedAnnotation); } public void testIntArrayAnnotation() throws IOException { String content = getContent("AnnIntArray(intArray(1, 2))"); - String expectedAnnotation = "AnnIntArray(a = {IntegerValueType(1), IntegerValueType(2)}: IntArray)"; + String expectedAnnotation = "AnnIntArray(a = {IntegerValueType(1), IntegerValueType(2)})"; doTest(content, expectedAnnotation); } public void testIntArrayVarargAnnotation() throws IOException { String content = getContent("AnnIntVararg(1, 2)"); - String expectedAnnotation = "AnnIntVararg(a = {IntegerValueType(1), IntegerValueType(2)}: IntArray)"; + String expectedAnnotation = "AnnIntVararg(a = {IntegerValueType(1), IntegerValueType(2)})"; doTest(content, expectedAnnotation); } public void testStringArrayVarargAnnotation() throws IOException { String content = getContent("AnnStringVararg(\"a\", \"b\")"); - String expectedAnnotation = "AnnStringVararg(a = {\"a\", \"b\"}: Array)"; + String expectedAnnotation = "AnnStringVararg(a = {\"a\", \"b\"})"; doTest(content, expectedAnnotation); } public void testStringArrayAnnotation() throws IOException { String content = getContent("AnnStringArray(array(\"a\"))"); - String expectedAnnotation = "AnnStringArray(a = {\"a\"}: Array)"; + String expectedAnnotation = "AnnStringArray(a = {\"a\"})"; doTest(content, expectedAnnotation); } public void testEnumArrayAnnotation() throws IOException { String content = getContent("AnnArrayOfEnum(array(MyEnum.A))"); - String expectedAnnotation = "AnnArrayOfEnum(a = {MyEnum.A}: Array)"; + String expectedAnnotation = "AnnArrayOfEnum(a = {MyEnum.A})"; doTest(content, expectedAnnotation); } public void testAnnotationAnnotation() throws Exception { String content = getContent("AnnAnn(AnnInt(1))"); - String expectedAnnotation = "AnnAnn(a = AnnInt(a = IntegerValueType(1): IntegerValueType(1)): AnnInt)"; + String expectedAnnotation = "AnnAnn(a = AnnInt(a = IntegerValueType(1)))"; doTest(content, expectedAnnotation); } public void testJavaClassAnnotation() throws Exception { String content = getContent("AnnClass(MyClass::class)"); - String expectedAnnotation = "AnnClass(a = MyClass::class: KClass)"; + String expectedAnnotation = "AnnClass(a = MyClass::class)"; doTest(content, expectedAnnotation); } } diff --git a/compiler/tests/org/jetbrains/kotlin/serialization/builtins/BuiltInsSerializerTest.kt b/compiler/tests/org/jetbrains/kotlin/serialization/builtins/BuiltInsSerializerTest.kt index b8a7d2139dd..b4f92b50ad3 100644 --- a/compiler/tests/org/jetbrains/kotlin/serialization/builtins/BuiltInsSerializerTest.kt +++ b/compiler/tests/org/jetbrains/kotlin/serialization/builtins/BuiltInsSerializerTest.kt @@ -92,4 +92,8 @@ public class BuiltInsSerializerTest : TestCaseWithTmpdir() { fun testEnum() { doTest("annotationArguments/enum.kt") } + + fun testVarArgs() { + doTest("annotationArguments/varargs.kt") + } } diff --git a/core/descriptors/src/org/jetbrains/kotlin/renderer/DescriptorRendererImpl.kt b/core/descriptors/src/org/jetbrains/kotlin/renderer/DescriptorRendererImpl.kt index ab7d7987ab7..e2457d90830 100644 --- a/core/descriptors/src/org/jetbrains/kotlin/renderer/DescriptorRendererImpl.kt +++ b/core/descriptors/src/org/jetbrains/kotlin/renderer/DescriptorRendererImpl.kt @@ -369,8 +369,7 @@ internal class DescriptorRendererImpl( .map { entry -> val name = entry.key.getName().asString() val value = renderConstant(entry.value) - val type = renderType(entry.value.getType(KotlinBuiltIns.getInstance())) - "$name = $value: $type" + "$name = $value" } .sort() }