From 9fffa615967481f6dfa702ee6240c4efd3bcc9b8 Mon Sep 17 00:00:00 2001 From: Ilya Gorbunov Date: Fri, 17 Jan 2020 22:23:22 +0300 Subject: [PATCH] Update builtin serialization tests #KT-26654 --- .../fir/resolve/testData/builtIns/kotlin.txt | 72 ------------------- .../builtin-classes/default/kotlin.txt | 36 ---------- .../testData/builtin-classes/java6/kotlin.txt | 36 ---------- .../testData/builtin-classes/java8/kotlin.txt | 36 ---------- .../builtin-classes/newMethods/kotlin.txt | 36 ---------- 5 files changed, 216 deletions(-) diff --git a/compiler/fir/resolve/testData/builtIns/kotlin.txt b/compiler/fir/resolve/testData/builtIns/kotlin.txt index 52cf9425c1a..612444923d6 100644 --- a/compiler/fir/resolve/testData/builtIns/kotlin.txt +++ b/compiler/fir/resolve/testData/builtIns/kotlin.txt @@ -133,18 +133,6 @@ public final class Byte : R|kotlin/Number|, R|kotlin/Comparable| { public final operator fun minus(other: R|kotlin/Short|): R|kotlin/Int| - @R|kotlin/Deprecated|(message = String(Use rem(other) instead), replaceWith = @R|kotlin/ReplaceWith|(expression = String(rem(other))) , level = R|kotlin/DeprecationLevel.ERROR|()) public final operator fun mod(other: R|kotlin/Byte|): R|kotlin/Int| - - @R|kotlin/Deprecated|(message = String(Use rem(other) instead), replaceWith = @R|kotlin/ReplaceWith|(expression = String(rem(other))) , level = R|kotlin/DeprecationLevel.ERROR|()) public final operator fun mod(other: R|kotlin/Double|): R|kotlin/Double| - - @R|kotlin/Deprecated|(message = String(Use rem(other) instead), replaceWith = @R|kotlin/ReplaceWith|(expression = String(rem(other))) , level = R|kotlin/DeprecationLevel.ERROR|()) public final operator fun mod(other: R|kotlin/Float|): R|kotlin/Float| - - @R|kotlin/Deprecated|(message = String(Use rem(other) instead), replaceWith = @R|kotlin/ReplaceWith|(expression = String(rem(other))) , level = R|kotlin/DeprecationLevel.ERROR|()) public final operator fun mod(other: R|kotlin/Int|): R|kotlin/Int| - - @R|kotlin/Deprecated|(message = String(Use rem(other) instead), replaceWith = @R|kotlin/ReplaceWith|(expression = String(rem(other))) , level = R|kotlin/DeprecationLevel.ERROR|()) public final operator fun mod(other: R|kotlin/Long|): R|kotlin/Long| - - @R|kotlin/Deprecated|(message = String(Use rem(other) instead), replaceWith = @R|kotlin/ReplaceWith|(expression = String(rem(other))) , level = R|kotlin/DeprecationLevel.ERROR|()) public final operator fun mod(other: R|kotlin/Short|): R|kotlin/Int| - public final operator fun plus(other: R|kotlin/Byte|): R|kotlin/Int| public final operator fun plus(other: R|kotlin/Double|): R|kotlin/Double| @@ -411,18 +399,6 @@ public final class Double : R|kotlin/Number|, R|kotlin/Comparable public final operator fun minus(other: R|kotlin/Short|): R|kotlin/Double| - @R|kotlin/Deprecated|(message = String(Use rem(other) instead), replaceWith = @R|kotlin/ReplaceWith|(expression = String(rem(other))) , level = R|kotlin/DeprecationLevel.ERROR|()) public final operator fun mod(other: R|kotlin/Byte|): R|kotlin/Double| - - @R|kotlin/Deprecated|(message = String(Use rem(other) instead), replaceWith = @R|kotlin/ReplaceWith|(expression = String(rem(other))) , level = R|kotlin/DeprecationLevel.ERROR|()) public final operator fun mod(other: R|kotlin/Double|): R|kotlin/Double| - - @R|kotlin/Deprecated|(message = String(Use rem(other) instead), replaceWith = @R|kotlin/ReplaceWith|(expression = String(rem(other))) , level = R|kotlin/DeprecationLevel.ERROR|()) public final operator fun mod(other: R|kotlin/Float|): R|kotlin/Double| - - @R|kotlin/Deprecated|(message = String(Use rem(other) instead), replaceWith = @R|kotlin/ReplaceWith|(expression = String(rem(other))) , level = R|kotlin/DeprecationLevel.ERROR|()) public final operator fun mod(other: R|kotlin/Int|): R|kotlin/Double| - - @R|kotlin/Deprecated|(message = String(Use rem(other) instead), replaceWith = @R|kotlin/ReplaceWith|(expression = String(rem(other))) , level = R|kotlin/DeprecationLevel.ERROR|()) public final operator fun mod(other: R|kotlin/Long|): R|kotlin/Double| - - @R|kotlin/Deprecated|(message = String(Use rem(other) instead), replaceWith = @R|kotlin/ReplaceWith|(expression = String(rem(other))) , level = R|kotlin/DeprecationLevel.ERROR|()) public final operator fun mod(other: R|kotlin/Short|): R|kotlin/Double| - public final operator fun plus(other: R|kotlin/Byte|): R|kotlin/Double| public final operator fun plus(other: R|kotlin/Double|): R|kotlin/Double| @@ -594,18 +570,6 @@ public final class Float : R|kotlin/Number|, R|kotlin/Comparable| public final operator fun minus(other: R|kotlin/Short|): R|kotlin/Float| - @R|kotlin/Deprecated|(message = String(Use rem(other) instead), replaceWith = @R|kotlin/ReplaceWith|(expression = String(rem(other))) , level = R|kotlin/DeprecationLevel.ERROR|()) public final operator fun mod(other: R|kotlin/Byte|): R|kotlin/Float| - - @R|kotlin/Deprecated|(message = String(Use rem(other) instead), replaceWith = @R|kotlin/ReplaceWith|(expression = String(rem(other))) , level = R|kotlin/DeprecationLevel.ERROR|()) public final operator fun mod(other: R|kotlin/Double|): R|kotlin/Double| - - @R|kotlin/Deprecated|(message = String(Use rem(other) instead), replaceWith = @R|kotlin/ReplaceWith|(expression = String(rem(other))) , level = R|kotlin/DeprecationLevel.ERROR|()) public final operator fun mod(other: R|kotlin/Float|): R|kotlin/Float| - - @R|kotlin/Deprecated|(message = String(Use rem(other) instead), replaceWith = @R|kotlin/ReplaceWith|(expression = String(rem(other))) , level = R|kotlin/DeprecationLevel.ERROR|()) public final operator fun mod(other: R|kotlin/Int|): R|kotlin/Float| - - @R|kotlin/Deprecated|(message = String(Use rem(other) instead), replaceWith = @R|kotlin/ReplaceWith|(expression = String(rem(other))) , level = R|kotlin/DeprecationLevel.ERROR|()) public final operator fun mod(other: R|kotlin/Long|): R|kotlin/Float| - - @R|kotlin/Deprecated|(message = String(Use rem(other) instead), replaceWith = @R|kotlin/ReplaceWith|(expression = String(rem(other))) , level = R|kotlin/DeprecationLevel.ERROR|()) public final operator fun mod(other: R|kotlin/Short|): R|kotlin/Float| - public final operator fun plus(other: R|kotlin/Byte|): R|kotlin/Float| public final operator fun plus(other: R|kotlin/Double|): R|kotlin/Double| @@ -748,18 +712,6 @@ public final class Int : R|kotlin/Number|, R|kotlin/Comparable| { public final operator fun minus(other: R|kotlin/Short|): R|kotlin/Int| - @R|kotlin/Deprecated|(message = String(Use rem(other) instead), replaceWith = @R|kotlin/ReplaceWith|(expression = String(rem(other))) , level = R|kotlin/DeprecationLevel.ERROR|()) public final operator fun mod(other: R|kotlin/Byte|): R|kotlin/Int| - - @R|kotlin/Deprecated|(message = String(Use rem(other) instead), replaceWith = @R|kotlin/ReplaceWith|(expression = String(rem(other))) , level = R|kotlin/DeprecationLevel.ERROR|()) public final operator fun mod(other: R|kotlin/Double|): R|kotlin/Double| - - @R|kotlin/Deprecated|(message = String(Use rem(other) instead), replaceWith = @R|kotlin/ReplaceWith|(expression = String(rem(other))) , level = R|kotlin/DeprecationLevel.ERROR|()) public final operator fun mod(other: R|kotlin/Float|): R|kotlin/Float| - - @R|kotlin/Deprecated|(message = String(Use rem(other) instead), replaceWith = @R|kotlin/ReplaceWith|(expression = String(rem(other))) , level = R|kotlin/DeprecationLevel.ERROR|()) public final operator fun mod(other: R|kotlin/Int|): R|kotlin/Int| - - @R|kotlin/Deprecated|(message = String(Use rem(other) instead), replaceWith = @R|kotlin/ReplaceWith|(expression = String(rem(other))) , level = R|kotlin/DeprecationLevel.ERROR|()) public final operator fun mod(other: R|kotlin/Long|): R|kotlin/Long| - - @R|kotlin/Deprecated|(message = String(Use rem(other) instead), replaceWith = @R|kotlin/ReplaceWith|(expression = String(rem(other))) , level = R|kotlin/DeprecationLevel.ERROR|()) public final operator fun mod(other: R|kotlin/Short|): R|kotlin/Int| - public final infix fun or(other: R|kotlin/Int|): R|kotlin/Int| public final operator fun plus(other: R|kotlin/Byte|): R|kotlin/Int| @@ -914,18 +866,6 @@ public final class Long : R|kotlin/Number|, R|kotlin/Comparable| { public final operator fun minus(other: R|kotlin/Short|): R|kotlin/Long| - @R|kotlin/Deprecated|(message = String(Use rem(other) instead), replaceWith = @R|kotlin/ReplaceWith|(expression = String(rem(other))) , level = R|kotlin/DeprecationLevel.ERROR|()) public final operator fun mod(other: R|kotlin/Byte|): R|kotlin/Long| - - @R|kotlin/Deprecated|(message = String(Use rem(other) instead), replaceWith = @R|kotlin/ReplaceWith|(expression = String(rem(other))) , level = R|kotlin/DeprecationLevel.ERROR|()) public final operator fun mod(other: R|kotlin/Double|): R|kotlin/Double| - - @R|kotlin/Deprecated|(message = String(Use rem(other) instead), replaceWith = @R|kotlin/ReplaceWith|(expression = String(rem(other))) , level = R|kotlin/DeprecationLevel.ERROR|()) public final operator fun mod(other: R|kotlin/Float|): R|kotlin/Float| - - @R|kotlin/Deprecated|(message = String(Use rem(other) instead), replaceWith = @R|kotlin/ReplaceWith|(expression = String(rem(other))) , level = R|kotlin/DeprecationLevel.ERROR|()) public final operator fun mod(other: R|kotlin/Int|): R|kotlin/Long| - - @R|kotlin/Deprecated|(message = String(Use rem(other) instead), replaceWith = @R|kotlin/ReplaceWith|(expression = String(rem(other))) , level = R|kotlin/DeprecationLevel.ERROR|()) public final operator fun mod(other: R|kotlin/Long|): R|kotlin/Long| - - @R|kotlin/Deprecated|(message = String(Use rem(other) instead), replaceWith = @R|kotlin/ReplaceWith|(expression = String(rem(other))) , level = R|kotlin/DeprecationLevel.ERROR|()) public final operator fun mod(other: R|kotlin/Short|): R|kotlin/Long| - public final infix fun or(other: R|kotlin/Long|): R|kotlin/Long| public final operator fun plus(other: R|kotlin/Byte|): R|kotlin/Long| @@ -1124,18 +1064,6 @@ public final class Short : R|kotlin/Number|, R|kotlin/Comparable| public final operator fun minus(other: R|kotlin/Short|): R|kotlin/Int| - @R|kotlin/Deprecated|(message = String(Use rem(other) instead), replaceWith = @R|kotlin/ReplaceWith|(expression = String(rem(other))) , level = R|kotlin/DeprecationLevel.ERROR|()) public final operator fun mod(other: R|kotlin/Byte|): R|kotlin/Int| - - @R|kotlin/Deprecated|(message = String(Use rem(other) instead), replaceWith = @R|kotlin/ReplaceWith|(expression = String(rem(other))) , level = R|kotlin/DeprecationLevel.ERROR|()) public final operator fun mod(other: R|kotlin/Double|): R|kotlin/Double| - - @R|kotlin/Deprecated|(message = String(Use rem(other) instead), replaceWith = @R|kotlin/ReplaceWith|(expression = String(rem(other))) , level = R|kotlin/DeprecationLevel.ERROR|()) public final operator fun mod(other: R|kotlin/Float|): R|kotlin/Float| - - @R|kotlin/Deprecated|(message = String(Use rem(other) instead), replaceWith = @R|kotlin/ReplaceWith|(expression = String(rem(other))) , level = R|kotlin/DeprecationLevel.ERROR|()) public final operator fun mod(other: R|kotlin/Int|): R|kotlin/Int| - - @R|kotlin/Deprecated|(message = String(Use rem(other) instead), replaceWith = @R|kotlin/ReplaceWith|(expression = String(rem(other))) , level = R|kotlin/DeprecationLevel.ERROR|()) public final operator fun mod(other: R|kotlin/Long|): R|kotlin/Long| - - @R|kotlin/Deprecated|(message = String(Use rem(other) instead), replaceWith = @R|kotlin/ReplaceWith|(expression = String(rem(other))) , level = R|kotlin/DeprecationLevel.ERROR|()) public final operator fun mod(other: R|kotlin/Short|): R|kotlin/Int| - public final operator fun plus(other: R|kotlin/Byte|): R|kotlin/Int| public final operator fun plus(other: R|kotlin/Double|): R|kotlin/Double| diff --git a/compiler/testData/builtin-classes/default/kotlin.txt b/compiler/testData/builtin-classes/default/kotlin.txt index 307d110af0e..d4ef749bd06 100644 --- a/compiler/testData/builtin-classes/default/kotlin.txt +++ b/compiler/testData/builtin-classes/default/kotlin.txt @@ -77,12 +77,6 @@ public final class Byte : kotlin.Number, kotlin.Comparable { public final operator fun minus(/*0*/ other: kotlin.Int): kotlin.Int public final operator fun minus(/*0*/ other: kotlin.Long): kotlin.Long public final operator fun minus(/*0*/ other: kotlin.Short): kotlin.Int - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Byte): kotlin.Int - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Double): kotlin.Double - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Float): kotlin.Float - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Int): kotlin.Int - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Long): kotlin.Long - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Short): kotlin.Int public final operator fun plus(/*0*/ other: kotlin.Byte): kotlin.Int public final operator fun plus(/*0*/ other: kotlin.Double): kotlin.Double public final operator fun plus(/*0*/ other: kotlin.Float): kotlin.Float @@ -253,12 +247,6 @@ public final class Double : kotlin.Number, kotlin.Comparable { public final operator fun minus(/*0*/ other: kotlin.Int): kotlin.Double public final operator fun minus(/*0*/ other: kotlin.Long): kotlin.Double public final operator fun minus(/*0*/ other: kotlin.Short): kotlin.Double - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Byte): kotlin.Double - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Double): kotlin.Double - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Float): kotlin.Double - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Int): kotlin.Double - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Long): kotlin.Double - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Short): kotlin.Double public final operator fun plus(/*0*/ other: kotlin.Byte): kotlin.Double public final operator fun plus(/*0*/ other: kotlin.Double): kotlin.Double public final operator fun plus(/*0*/ other: kotlin.Float): kotlin.Double @@ -356,12 +344,6 @@ public final class Float : kotlin.Number, kotlin.Comparable { public final operator fun minus(/*0*/ other: kotlin.Int): kotlin.Float public final operator fun minus(/*0*/ other: kotlin.Long): kotlin.Float public final operator fun minus(/*0*/ other: kotlin.Short): kotlin.Float - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Byte): kotlin.Float - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Double): kotlin.Double - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Float): kotlin.Float - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Int): kotlin.Float - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Long): kotlin.Float - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Short): kotlin.Float public final operator fun plus(/*0*/ other: kotlin.Byte): kotlin.Float public final operator fun plus(/*0*/ other: kotlin.Double): kotlin.Double public final operator fun plus(/*0*/ other: kotlin.Float): kotlin.Float @@ -442,12 +424,6 @@ public final class Int : kotlin.Number, kotlin.Comparable { public final operator fun minus(/*0*/ other: kotlin.Int): kotlin.Int public final operator fun minus(/*0*/ other: kotlin.Long): kotlin.Long public final operator fun minus(/*0*/ other: kotlin.Short): kotlin.Int - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Byte): kotlin.Int - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Double): kotlin.Double - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Float): kotlin.Float - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Int): kotlin.Int - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Long): kotlin.Long - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Short): kotlin.Int public final infix fun or(/*0*/ other: kotlin.Int): kotlin.Int public final operator fun plus(/*0*/ other: kotlin.Byte): kotlin.Int public final operator fun plus(/*0*/ other: kotlin.Double): kotlin.Double @@ -532,12 +508,6 @@ public final class Long : kotlin.Number, kotlin.Comparable { public final operator fun minus(/*0*/ other: kotlin.Int): kotlin.Long public final operator fun minus(/*0*/ other: kotlin.Long): kotlin.Long public final operator fun minus(/*0*/ other: kotlin.Short): kotlin.Long - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Byte): kotlin.Long - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Double): kotlin.Double - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Float): kotlin.Float - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Int): kotlin.Long - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Long): kotlin.Long - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Short): kotlin.Long public final infix fun or(/*0*/ other: kotlin.Long): kotlin.Long public final operator fun plus(/*0*/ other: kotlin.Byte): kotlin.Long public final operator fun plus(/*0*/ other: kotlin.Double): kotlin.Double @@ -653,12 +623,6 @@ public final class Short : kotlin.Number, kotlin.Comparable { public final operator fun minus(/*0*/ other: kotlin.Int): kotlin.Int public final operator fun minus(/*0*/ other: kotlin.Long): kotlin.Long public final operator fun minus(/*0*/ other: kotlin.Short): kotlin.Int - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Byte): kotlin.Int - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Double): kotlin.Double - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Float): kotlin.Float - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Int): kotlin.Int - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Long): kotlin.Long - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Short): kotlin.Int public final operator fun plus(/*0*/ other: kotlin.Byte): kotlin.Int public final operator fun plus(/*0*/ other: kotlin.Double): kotlin.Double public final operator fun plus(/*0*/ other: kotlin.Float): kotlin.Float diff --git a/compiler/testData/builtin-classes/java6/kotlin.txt b/compiler/testData/builtin-classes/java6/kotlin.txt index 93a90c22e95..599659187e8 100644 --- a/compiler/testData/builtin-classes/java6/kotlin.txt +++ b/compiler/testData/builtin-classes/java6/kotlin.txt @@ -79,12 +79,6 @@ public final class Byte : kotlin.Number, kotlin.Comparable, java.io public final operator fun minus(/*0*/ other: kotlin.Int): kotlin.Int public final operator fun minus(/*0*/ other: kotlin.Long): kotlin.Long public final operator fun minus(/*0*/ other: kotlin.Short): kotlin.Int - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Byte): kotlin.Int - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Double): kotlin.Double - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Float): kotlin.Float - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Int): kotlin.Int - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Long): kotlin.Long - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Short): kotlin.Int public final operator fun plus(/*0*/ other: kotlin.Byte): kotlin.Int public final operator fun plus(/*0*/ other: kotlin.Double): kotlin.Double public final operator fun plus(/*0*/ other: kotlin.Float): kotlin.Float @@ -263,12 +257,6 @@ public final class Double : kotlin.Number, kotlin.Comparable, jav public final operator fun minus(/*0*/ other: kotlin.Int): kotlin.Double public final operator fun minus(/*0*/ other: kotlin.Long): kotlin.Double public final operator fun minus(/*0*/ other: kotlin.Short): kotlin.Double - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Byte): kotlin.Double - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Double): kotlin.Double - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Float): kotlin.Double - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Int): kotlin.Double - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Long): kotlin.Double - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Short): kotlin.Double public final operator fun plus(/*0*/ other: kotlin.Byte): kotlin.Double public final operator fun plus(/*0*/ other: kotlin.Double): kotlin.Double public final operator fun plus(/*0*/ other: kotlin.Float): kotlin.Double @@ -369,12 +357,6 @@ public final class Float : kotlin.Number, kotlin.Comparable, java. public final operator fun minus(/*0*/ other: kotlin.Int): kotlin.Float public final operator fun minus(/*0*/ other: kotlin.Long): kotlin.Float public final operator fun minus(/*0*/ other: kotlin.Short): kotlin.Float - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Byte): kotlin.Float - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Double): kotlin.Double - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Float): kotlin.Float - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Int): kotlin.Float - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Long): kotlin.Float - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Short): kotlin.Float public final operator fun plus(/*0*/ other: kotlin.Byte): kotlin.Float public final operator fun plus(/*0*/ other: kotlin.Double): kotlin.Double public final operator fun plus(/*0*/ other: kotlin.Float): kotlin.Float @@ -456,12 +438,6 @@ public final class Int : kotlin.Number, kotlin.Comparable, java.io.S public final operator fun minus(/*0*/ other: kotlin.Int): kotlin.Int public final operator fun minus(/*0*/ other: kotlin.Long): kotlin.Long public final operator fun minus(/*0*/ other: kotlin.Short): kotlin.Int - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Byte): kotlin.Int - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Double): kotlin.Double - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Float): kotlin.Float - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Int): kotlin.Int - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Long): kotlin.Long - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Short): kotlin.Int public final infix fun or(/*0*/ other: kotlin.Int): kotlin.Int public final operator fun plus(/*0*/ other: kotlin.Byte): kotlin.Int public final operator fun plus(/*0*/ other: kotlin.Double): kotlin.Double @@ -547,12 +523,6 @@ public final class Long : kotlin.Number, kotlin.Comparable, java.io public final operator fun minus(/*0*/ other: kotlin.Int): kotlin.Long public final operator fun minus(/*0*/ other: kotlin.Long): kotlin.Long public final operator fun minus(/*0*/ other: kotlin.Short): kotlin.Long - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Byte): kotlin.Long - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Double): kotlin.Double - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Float): kotlin.Float - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Int): kotlin.Long - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Long): kotlin.Long - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Short): kotlin.Long public final infix fun or(/*0*/ other: kotlin.Long): kotlin.Long public final operator fun plus(/*0*/ other: kotlin.Byte): kotlin.Long public final operator fun plus(/*0*/ other: kotlin.Double): kotlin.Double @@ -669,12 +639,6 @@ public final class Short : kotlin.Number, kotlin.Comparable, java. public final operator fun minus(/*0*/ other: kotlin.Int): kotlin.Int public final operator fun minus(/*0*/ other: kotlin.Long): kotlin.Long public final operator fun minus(/*0*/ other: kotlin.Short): kotlin.Int - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Byte): kotlin.Int - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Double): kotlin.Double - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Float): kotlin.Float - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Int): kotlin.Int - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Long): kotlin.Long - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Short): kotlin.Int public final operator fun plus(/*0*/ other: kotlin.Byte): kotlin.Int public final operator fun plus(/*0*/ other: kotlin.Double): kotlin.Double public final operator fun plus(/*0*/ other: kotlin.Float): kotlin.Float diff --git a/compiler/testData/builtin-classes/java8/kotlin.txt b/compiler/testData/builtin-classes/java8/kotlin.txt index e9086779364..9cdc7725853 100644 --- a/compiler/testData/builtin-classes/java8/kotlin.txt +++ b/compiler/testData/builtin-classes/java8/kotlin.txt @@ -79,12 +79,6 @@ public final class Byte : kotlin.Number, kotlin.Comparable, java.io public final operator fun minus(/*0*/ other: kotlin.Int): kotlin.Int public final operator fun minus(/*0*/ other: kotlin.Long): kotlin.Long public final operator fun minus(/*0*/ other: kotlin.Short): kotlin.Int - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Byte): kotlin.Int - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Double): kotlin.Double - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Float): kotlin.Float - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Int): kotlin.Int - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Long): kotlin.Long - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Short): kotlin.Int public final operator fun plus(/*0*/ other: kotlin.Byte): kotlin.Int public final operator fun plus(/*0*/ other: kotlin.Double): kotlin.Double public final operator fun plus(/*0*/ other: kotlin.Float): kotlin.Float @@ -265,12 +259,6 @@ public final class Double : kotlin.Number, kotlin.Comparable, jav public final operator fun minus(/*0*/ other: kotlin.Int): kotlin.Double public final operator fun minus(/*0*/ other: kotlin.Long): kotlin.Double public final operator fun minus(/*0*/ other: kotlin.Short): kotlin.Double - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Byte): kotlin.Double - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Double): kotlin.Double - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Float): kotlin.Double - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Int): kotlin.Double - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Long): kotlin.Double - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Short): kotlin.Double public final operator fun plus(/*0*/ other: kotlin.Byte): kotlin.Double public final operator fun plus(/*0*/ other: kotlin.Double): kotlin.Double public final operator fun plus(/*0*/ other: kotlin.Float): kotlin.Double @@ -371,12 +359,6 @@ public final class Float : kotlin.Number, kotlin.Comparable, java. public final operator fun minus(/*0*/ other: kotlin.Int): kotlin.Float public final operator fun minus(/*0*/ other: kotlin.Long): kotlin.Float public final operator fun minus(/*0*/ other: kotlin.Short): kotlin.Float - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Byte): kotlin.Float - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Double): kotlin.Double - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Float): kotlin.Float - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Int): kotlin.Float - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Long): kotlin.Float - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Short): kotlin.Float public final operator fun plus(/*0*/ other: kotlin.Byte): kotlin.Float public final operator fun plus(/*0*/ other: kotlin.Double): kotlin.Double public final operator fun plus(/*0*/ other: kotlin.Float): kotlin.Float @@ -458,12 +440,6 @@ public final class Int : kotlin.Number, kotlin.Comparable, java.io.S public final operator fun minus(/*0*/ other: kotlin.Int): kotlin.Int public final operator fun minus(/*0*/ other: kotlin.Long): kotlin.Long public final operator fun minus(/*0*/ other: kotlin.Short): kotlin.Int - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Byte): kotlin.Int - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Double): kotlin.Double - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Float): kotlin.Float - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Int): kotlin.Int - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Long): kotlin.Long - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Short): kotlin.Int public final infix fun or(/*0*/ other: kotlin.Int): kotlin.Int public final operator fun plus(/*0*/ other: kotlin.Byte): kotlin.Int public final operator fun plus(/*0*/ other: kotlin.Double): kotlin.Double @@ -549,12 +525,6 @@ public final class Long : kotlin.Number, kotlin.Comparable, java.io public final operator fun minus(/*0*/ other: kotlin.Int): kotlin.Long public final operator fun minus(/*0*/ other: kotlin.Long): kotlin.Long public final operator fun minus(/*0*/ other: kotlin.Short): kotlin.Long - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Byte): kotlin.Long - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Double): kotlin.Double - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Float): kotlin.Float - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Int): kotlin.Long - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Long): kotlin.Long - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Short): kotlin.Long public final infix fun or(/*0*/ other: kotlin.Long): kotlin.Long public final operator fun plus(/*0*/ other: kotlin.Byte): kotlin.Long public final operator fun plus(/*0*/ other: kotlin.Double): kotlin.Double @@ -671,12 +641,6 @@ public final class Short : kotlin.Number, kotlin.Comparable, java. public final operator fun minus(/*0*/ other: kotlin.Int): kotlin.Int public final operator fun minus(/*0*/ other: kotlin.Long): kotlin.Long public final operator fun minus(/*0*/ other: kotlin.Short): kotlin.Int - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Byte): kotlin.Int - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Double): kotlin.Double - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Float): kotlin.Float - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Int): kotlin.Int - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Long): kotlin.Long - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Short): kotlin.Int public final operator fun plus(/*0*/ other: kotlin.Byte): kotlin.Int public final operator fun plus(/*0*/ other: kotlin.Double): kotlin.Double public final operator fun plus(/*0*/ other: kotlin.Float): kotlin.Float diff --git a/compiler/testData/builtin-classes/newMethods/kotlin.txt b/compiler/testData/builtin-classes/newMethods/kotlin.txt index 449daf5bb8c..0a8350e5d5f 100644 --- a/compiler/testData/builtin-classes/newMethods/kotlin.txt +++ b/compiler/testData/builtin-classes/newMethods/kotlin.txt @@ -79,12 +79,6 @@ public final class Byte : kotlin.Number, kotlin.Comparable, java.io public final operator fun minus(/*0*/ other: kotlin.Int): kotlin.Int public final operator fun minus(/*0*/ other: kotlin.Long): kotlin.Long public final operator fun minus(/*0*/ other: kotlin.Short): kotlin.Int - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Byte): kotlin.Int - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Double): kotlin.Double - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Float): kotlin.Float - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Int): kotlin.Int - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Long): kotlin.Long - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Short): kotlin.Int public final operator fun plus(/*0*/ other: kotlin.Byte): kotlin.Int public final operator fun plus(/*0*/ other: kotlin.Double): kotlin.Double public final operator fun plus(/*0*/ other: kotlin.Float): kotlin.Float @@ -263,12 +257,6 @@ public final class Double : kotlin.Number, kotlin.Comparable, jav public final operator fun minus(/*0*/ other: kotlin.Int): kotlin.Double public final operator fun minus(/*0*/ other: kotlin.Long): kotlin.Double public final operator fun minus(/*0*/ other: kotlin.Short): kotlin.Double - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Byte): kotlin.Double - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Double): kotlin.Double - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Float): kotlin.Double - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Int): kotlin.Double - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Long): kotlin.Double - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Short): kotlin.Double public final operator fun plus(/*0*/ other: kotlin.Byte): kotlin.Double public final operator fun plus(/*0*/ other: kotlin.Double): kotlin.Double public final operator fun plus(/*0*/ other: kotlin.Float): kotlin.Double @@ -369,12 +357,6 @@ public final class Float : kotlin.Number, kotlin.Comparable, java. public final operator fun minus(/*0*/ other: kotlin.Int): kotlin.Float public final operator fun minus(/*0*/ other: kotlin.Long): kotlin.Float public final operator fun minus(/*0*/ other: kotlin.Short): kotlin.Float - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Byte): kotlin.Float - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Double): kotlin.Double - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Float): kotlin.Float - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Int): kotlin.Float - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Long): kotlin.Float - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Short): kotlin.Float public final operator fun plus(/*0*/ other: kotlin.Byte): kotlin.Float public final operator fun plus(/*0*/ other: kotlin.Double): kotlin.Double public final operator fun plus(/*0*/ other: kotlin.Float): kotlin.Float @@ -456,12 +438,6 @@ public final class Int : kotlin.Number, kotlin.Comparable, java.io.S public final operator fun minus(/*0*/ other: kotlin.Int): kotlin.Int public final operator fun minus(/*0*/ other: kotlin.Long): kotlin.Long public final operator fun minus(/*0*/ other: kotlin.Short): kotlin.Int - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Byte): kotlin.Int - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Double): kotlin.Double - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Float): kotlin.Float - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Int): kotlin.Int - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Long): kotlin.Long - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Short): kotlin.Int public final infix fun or(/*0*/ other: kotlin.Int): kotlin.Int public final operator fun plus(/*0*/ other: kotlin.Byte): kotlin.Int public final operator fun plus(/*0*/ other: kotlin.Double): kotlin.Double @@ -547,12 +523,6 @@ public final class Long : kotlin.Number, kotlin.Comparable, java.io public final operator fun minus(/*0*/ other: kotlin.Int): kotlin.Long public final operator fun minus(/*0*/ other: kotlin.Long): kotlin.Long public final operator fun minus(/*0*/ other: kotlin.Short): kotlin.Long - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Byte): kotlin.Long - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Double): kotlin.Double - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Float): kotlin.Float - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Int): kotlin.Long - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Long): kotlin.Long - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Short): kotlin.Long public final infix fun or(/*0*/ other: kotlin.Long): kotlin.Long public final operator fun plus(/*0*/ other: kotlin.Byte): kotlin.Long public final operator fun plus(/*0*/ other: kotlin.Double): kotlin.Double @@ -669,12 +639,6 @@ public final class Short : kotlin.Number, kotlin.Comparable, java. public final operator fun minus(/*0*/ other: kotlin.Int): kotlin.Int public final operator fun minus(/*0*/ other: kotlin.Long): kotlin.Long public final operator fun minus(/*0*/ other: kotlin.Short): kotlin.Int - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Byte): kotlin.Int - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Double): kotlin.Double - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Float): kotlin.Float - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Int): kotlin.Int - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Long): kotlin.Long - @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use rem(other) instead", replaceWith = kotlin.ReplaceWith(expression = "rem(other)", imports = {})) public final operator fun mod(/*0*/ other: kotlin.Short): kotlin.Int public final operator fun plus(/*0*/ other: kotlin.Byte): kotlin.Int public final operator fun plus(/*0*/ other: kotlin.Double): kotlin.Double public final operator fun plus(/*0*/ other: kotlin.Float): kotlin.Float