IR text tests: Stable blank lines between declarations in class
Rework rendering of kt-like dump and signatures dump in order to avoid unstable blank line between declarations of the same level: 1. No blank line for the first declaration inside the member scope of the class. 2. Always a single blank line between each two subsequent declarations inside the member scope of the class.
This commit is contained in:
committed by
Space Team
parent
4532f52898
commit
16d1e85932
@@ -607,9 +607,9 @@ private class KotlinLikeDumper(val p: Printer, val options: KotlinLikeDumpOption
|
||||
"fun ",
|
||||
declaration.name.asString(),
|
||||
printTypeParametersAndExtensionReceiver = true,
|
||||
printSignatureAndBody = true
|
||||
printSignatureAndBody = true,
|
||||
printExtraTrailingNewLine = true,
|
||||
)
|
||||
p.printlnWithNoIndent()
|
||||
}
|
||||
|
||||
override fun visitConstructor(declaration: IrConstructor, data: IrDeclaration?) = wrap(declaration, data) {
|
||||
@@ -647,6 +647,7 @@ private class KotlinLikeDumper(val p: Printer, val options: KotlinLikeDumpOption
|
||||
it.accept(this, declaration)
|
||||
}
|
||||
p.printlnWithNoIndent()
|
||||
p.printlnWithNoIndent()
|
||||
}
|
||||
|
||||
private fun IrSimpleFunction.printSimpleFunction(
|
||||
@@ -654,7 +655,8 @@ private class KotlinLikeDumper(val p: Printer, val options: KotlinLikeDumpOption
|
||||
keyword: String,
|
||||
name: String,
|
||||
printTypeParametersAndExtensionReceiver: Boolean,
|
||||
printSignatureAndBody: Boolean
|
||||
printSignatureAndBody: Boolean,
|
||||
printExtraTrailingNewLine: Boolean
|
||||
) {
|
||||
/* TODO
|
||||
correspondingProperty
|
||||
@@ -720,6 +722,9 @@ private class KotlinLikeDumper(val p: Printer, val options: KotlinLikeDumpOption
|
||||
if (!printSignatureAndBody || body == null || options.bodyPrintingStrategy != BodyPrintingStrategy.PRINT_BODIES) {
|
||||
p.printlnWithNoIndent()
|
||||
}
|
||||
|
||||
if (printExtraTrailingNewLine)
|
||||
p.printlnWithNoIndent()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -876,6 +881,7 @@ private class KotlinLikeDumper(val p: Printer, val options: KotlinLikeDumpOption
|
||||
name = s,
|
||||
printTypeParametersAndExtensionReceiver = false,
|
||||
printSignatureAndBody = isDefaultAccessor,
|
||||
printExtraTrailingNewLine = false,
|
||||
)
|
||||
}
|
||||
|
||||
@@ -1220,7 +1226,8 @@ private class KotlinLikeDumper(val p: Printer, val options: KotlinLikeDumpOption
|
||||
"fun ",
|
||||
expression.function.name.asString(),
|
||||
printTypeParametersAndExtensionReceiver = true,
|
||||
printSignatureAndBody = true
|
||||
printSignatureAndBody = true,
|
||||
printExtraTrailingNewLine = false,
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
@@ -1,19 +1,15 @@
|
||||
package com.example
|
||||
|
||||
interface Aa {
|
||||
|
||||
}
|
||||
|
||||
interface Ab<T : Ab<T>> : Aa {
|
||||
|
||||
}
|
||||
|
||||
interface Ba {
|
||||
|
||||
}
|
||||
|
||||
interface Bb<T : Bb<T>> : Ab<T>, Ba {
|
||||
|
||||
}
|
||||
|
||||
interface Ca {
|
||||
@@ -29,5 +25,4 @@ interface Cb {
|
||||
}
|
||||
|
||||
interface C : Cb, Ca {
|
||||
|
||||
}
|
||||
|
||||
@@ -4,35 +4,30 @@ package com.example
|
||||
// Mangled name: com.example.Aa
|
||||
// Public signature: com.example/Aa|null[0]
|
||||
interface Aa {
|
||||
|
||||
}
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: com.example.Ab
|
||||
// Public signature: com.example/Ab|null[0]
|
||||
interface Ab<T : Ab<T>> : Aa {
|
||||
|
||||
}
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: com.example.Ba
|
||||
// Public signature: com.example/Ba|null[0]
|
||||
interface Ba {
|
||||
|
||||
}
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: com.example.Bb
|
||||
// Public signature: com.example/Bb|null[0]
|
||||
interface Bb<T : Bb<T>> : Ab<T>, Ba {
|
||||
|
||||
}
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: com.example.C
|
||||
// Public signature: com.example/C|null[0]
|
||||
interface C : Ca, Cb {
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: com.example.C{}b
|
||||
// Public signature: com.example/C.b|772347207915745207[0]
|
||||
@@ -54,7 +49,6 @@ interface C : Ca, Cb {
|
||||
// Mangled name: com.example.Ca
|
||||
// Public signature: com.example/Ca|null[0]
|
||||
interface Ca {
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: com.example.Ca{}b
|
||||
// Public signature: com.example/Ca.b|772347207915745207[0]
|
||||
@@ -76,7 +70,6 @@ interface Ca {
|
||||
// Mangled name: com.example.Cb
|
||||
// Public signature: com.example/Cb|null[0]
|
||||
interface Cb {
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: com.example.Cb{}b
|
||||
// Public signature: com.example/Cb.b|772347207915745207[0]
|
||||
|
||||
@@ -55,7 +55,6 @@ abstract class AbstractClass {
|
||||
// Mangled name: Interface
|
||||
// Public signature: /Interface|null[0]
|
||||
interface Interface {
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: Interface#abstractFun(){}
|
||||
// Public signature: /Interface.abstractFun|-8137574360252002020[0]
|
||||
|
||||
Vendored
+1
@@ -91,6 +91,7 @@ class Test2 : Base {
|
||||
// Public signature: /Test2.<init>|-7691762014320324121[0]
|
||||
// Public signature debug description: <init>(kotlin.Int;kotlin.Int){}
|
||||
constructor(xx: Int, yy: Int)
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: Test2#<init>(kotlin.Int;kotlin.Int;kotlin.Any){}
|
||||
// Public signature: /Test2.<init>|-2775945437722696135[0]
|
||||
|
||||
@@ -80,7 +80,6 @@ class C {
|
||||
// Mangled name: C.NestedInterface
|
||||
// Public signature: /C.NestedInterface|null[0]
|
||||
interface NestedInterface {
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: C.NestedInterface#bar(){}
|
||||
// Public signature: /C.NestedInterface.bar|496682602797471549[0]
|
||||
@@ -112,6 +111,7 @@ class C {
|
||||
// Public signature: /C.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor()
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: C#<init>(kotlin.Int;kotlin.Int;kotlin.Int){}
|
||||
// Public signature: /C.<init>|3555954663887180339[0]
|
||||
|
||||
@@ -8,7 +8,6 @@ class TestClass {
|
||||
}
|
||||
|
||||
interface TestInterface {
|
||||
|
||||
}
|
||||
|
||||
object TestObject {
|
||||
|
||||
@@ -8,7 +8,6 @@ class TestClass {
|
||||
}
|
||||
|
||||
interface TestInterface {
|
||||
|
||||
}
|
||||
|
||||
object TestObject {
|
||||
|
||||
+1
-1
@@ -31,6 +31,7 @@ enum class TestEnumClass : Enum<TestEnumClass> {
|
||||
// Public signature: /TestEnumClass.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
private constructor() /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: TestEnumClass#valueOf#static(kotlin.String){}TestEnumClass
|
||||
// Public signature: /TestEnumClass.valueOf|3258702714702284561[0]
|
||||
@@ -142,7 +143,6 @@ enum class TestEnumClass : Enum<TestEnumClass> {
|
||||
// Mangled name: TestInterface
|
||||
// Public signature: /TestInterface|null[0]
|
||||
interface TestInterface {
|
||||
|
||||
}
|
||||
|
||||
// CHECK:
|
||||
|
||||
@@ -8,7 +8,6 @@ class A : Cloneable {
|
||||
}
|
||||
|
||||
interface I : Cloneable {
|
||||
|
||||
}
|
||||
|
||||
class C : I {
|
||||
|
||||
@@ -7,6 +7,7 @@ class A : Cloneable {
|
||||
// Public signature: /A.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: A#clone(){}kotlin.Any
|
||||
// Public signature: /A.clone|-6903128697527593263[0]
|
||||
@@ -27,6 +28,7 @@ class C : I {
|
||||
// Public signature: /C.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: C#clone(){}kotlin.Any
|
||||
// Public signature: /C.clone|-6903128697527593263[0]
|
||||
|
||||
+3
@@ -142,6 +142,7 @@ data class Test1 {
|
||||
// Public signature: /Test1.<init>|-2901047261480922149[0]
|
||||
// Public signature debug description: <init>(kotlin.Array<kotlin.String>;kotlin.CharArray;kotlin.BooleanArray;kotlin.ByteArray;kotlin.ShortArray;kotlin.IntArray;kotlin.LongArray;kotlin.FloatArray;kotlin.DoubleArray){}
|
||||
constructor(stringArray: Array<String>, charArray: CharArray, booleanArray: BooleanArray, byteArray: ByteArray, shortArray: ShortArray, intArray: IntArray, longArray: LongArray, floatArray: FloatArray, doubleArray: DoubleArray) /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Test1#component1(){}kotlin.Array<kotlin.String>
|
||||
// Public signature: /Test1.component1|2673462985803256369[0]
|
||||
@@ -298,6 +299,7 @@ data class Test2<T : Any?> {
|
||||
// Public signature: /Test2.<init>|-6569388914691766420[0]
|
||||
// Public signature debug description: <init>(kotlin.Array<1:0>){}
|
||||
constructor(genericArray: Array<T>) /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Test2#component1(){}kotlin.Array<1:0>
|
||||
// Public signature: /Test2.component1|-8550302254215159930[0]
|
||||
@@ -374,6 +376,7 @@ data class Test3 {
|
||||
// Public signature: /Test3.<init>|2034455610636948474[0]
|
||||
// Public signature debug description: <init>(kotlin.Array<kotlin.Any>?){}
|
||||
constructor(anyArrayN: Array<Any>?) /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Test3#component1(){}kotlin.Array<kotlin.Any>?
|
||||
// Public signature: /Test3.component1|3443609172722853741[0]
|
||||
|
||||
@@ -52,6 +52,7 @@ data class Test1 {
|
||||
// Public signature: /Test1.<init>|3237794121889594884[0]
|
||||
// Public signature debug description: <init>(kotlin.Int;kotlin.String;kotlin.Any){}
|
||||
constructor(x: Int, y: String, z: Any) /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Test1#component1(){}kotlin.Int
|
||||
// Public signature: /Test1.component1|-8217597213800111288[0]
|
||||
@@ -148,6 +149,7 @@ data class Test2 {
|
||||
// Public signature: /Test2.<init>|-8205545948568413246[0]
|
||||
// Public signature debug description: <init>(kotlin.Any?){}
|
||||
constructor(x: Any?) /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Test2#component1(){}kotlin.Any?
|
||||
// Public signature: /Test2.component1|-9062417290864755441[0]
|
||||
@@ -269,6 +271,7 @@ data class Test3 {
|
||||
// Public signature: /Test3.<init>|8878758829470622568[0]
|
||||
// Public signature debug description: <init>(kotlin.Double;kotlin.Double?;kotlin.Float;kotlin.Float?){}
|
||||
constructor(d: Double, dn: Double?, f: Float, df: Float?) /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Test3#component1(){}kotlin.Double
|
||||
// Public signature: /Test3.component1|2948120330742694173[0]
|
||||
|
||||
@@ -22,6 +22,7 @@ data class Test1<T : Any?> {
|
||||
// Public signature: /Test1.<init>|-8731461708390519279[0]
|
||||
// Public signature debug description: <init>(1:0){}
|
||||
constructor(x: T) /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Test1#component1(){}1:0
|
||||
// Public signature: /Test1.component1|2393470133763651536[0]
|
||||
@@ -98,6 +99,7 @@ data class Test2<T : Number> {
|
||||
// Public signature: /Test2.<init>|-8731461708390519279[0]
|
||||
// Public signature debug description: <init>(1:0){}
|
||||
constructor(x: T) /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Test2#component1(){}1:0
|
||||
// Public signature: /Test2.component1|2393470133763651536[0]
|
||||
@@ -174,6 +176,7 @@ data class Test3<T : Any?> {
|
||||
// Public signature: /Test3.<init>|-6703374673612964420[0]
|
||||
// Public signature debug description: <init>(kotlin.collections.List<1:0>){}
|
||||
constructor(x: List<T>) /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Test3#component1(){}kotlin.collections.List<1:0>
|
||||
// Public signature: /Test3.component1|-4141154284195946749[0]
|
||||
@@ -250,6 +253,7 @@ data class Test4 {
|
||||
// Public signature: /Test4.<init>|-9211757031347255021[0]
|
||||
// Public signature debug description: <init>(kotlin.collections.List<kotlin.String>){}
|
||||
constructor(x: List<String>) /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Test4#component1(){}kotlin.collections.List<kotlin.String>
|
||||
// Public signature: /Test4.component1|-4918334505452908017[0]
|
||||
|
||||
@@ -7,6 +7,7 @@ data object DataObject {
|
||||
// Public signature: /DataObject.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
private constructor() /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: DataObject#equals(kotlin.Any?){}kotlin.Boolean
|
||||
// Public signature: /DataObject.equals|722809408929142791[0]
|
||||
|
||||
@@ -26,6 +26,7 @@ sealed class A : CharSequence {
|
||||
// Public signature: /A.B.<init>|2804354480087813081[0]
|
||||
// Public signature debug description: <init>(kotlin.CharSequence){}
|
||||
constructor(c: CharSequence) /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: A.B#get(kotlin.Int){}kotlin.Char
|
||||
// Public signature: /A.B.get|6519934306502810002[0]
|
||||
|
||||
@@ -22,6 +22,7 @@ data class TestData {
|
||||
// Public signature: /TestData.<init>|-7885966204384349687[0]
|
||||
// Public signature debug description: <init>(kotlin.Nothing?){}
|
||||
constructor(nn: Nothing?) /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: TestData#component1(){}kotlin.Nothing?
|
||||
// Public signature: /TestData.component1|137173073680766068[0]
|
||||
@@ -98,6 +99,7 @@ value class TestInline {
|
||||
// Public signature: /TestInline.<init>|-7885966204384349687[0]
|
||||
// Public signature debug description: <init>(kotlin.Nothing?){}
|
||||
constructor(nn: Nothing?) /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: TestInline#equals(kotlin.Any?){}kotlin.Boolean
|
||||
// Public signature: /TestInline.equals|722809408929142791[0]
|
||||
|
||||
@@ -22,6 +22,7 @@ data class A {
|
||||
// Public signature: /A.<init>|-5182794243525578284[0]
|
||||
// Public signature debug description: <init>(kotlin.Int){}
|
||||
constructor(x: Int) /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: A#component1(){}kotlin.Int
|
||||
// Public signature: /A.component1|-8217597213800111288[0]
|
||||
|
||||
Vendored
+2
@@ -22,6 +22,7 @@ data class A {
|
||||
// Public signature: /A.<init>|-2423641970729475329[0]
|
||||
// Public signature debug description: <init>(kotlin.Function2<A,kotlin.String,kotlin.Unit>){}
|
||||
constructor(runA: @ExtensionFunctionType Function2<A, String, Unit>) /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: A#component1(){}kotlin.Function2<A,kotlin.String,kotlin.Unit>
|
||||
// Public signature: /A.component1|793860828130635274[0]
|
||||
@@ -98,6 +99,7 @@ data class B {
|
||||
// Public signature: /B.<init>|4518179880532599055[0]
|
||||
// Public signature debug description: <init>(kotlin.Any){}
|
||||
constructor(x: Any) /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: B#component1(){}kotlin.Any
|
||||
// Public signature: /B.component1|2325042746135573536[0]
|
||||
|
||||
@@ -37,6 +37,7 @@ open data class ValidatedProperties {
|
||||
// Public signature: /ValidatedProperties.<init>|9140439783797628932[0]
|
||||
// Public signature debug description: <init>(kotlin.String;kotlin.String){}
|
||||
constructor(test1: String, test2: String) /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: ValidatedProperties#component1(){}kotlin.String
|
||||
// Public signature: /ValidatedProperties.component1|-7481405593404337796[0]
|
||||
|
||||
@@ -39,16 +39,19 @@ class A {
|
||||
// Public signature: test/A.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: test.A#<init>(kotlin.Double){}
|
||||
// Public signature: test/A.<init>|575075696928934302[0]
|
||||
// Public signature debug description: <init>(kotlin.Double){}
|
||||
constructor(x: Double)
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: test.A#<init>(kotlin.Int){}
|
||||
// Public signature: test/A.<init>|-5182794243525578284[0]
|
||||
// Public signature debug description: <init>(kotlin.Int){}
|
||||
constructor(x: Int)
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: test.A#<init>(kotlin.String){}
|
||||
// Public signature: test/A.<init>|1280618353163213788[0]
|
||||
|
||||
@@ -7,6 +7,7 @@ class Test1 : IBase {
|
||||
// Public signature: /Test1.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Test1#bar(){}kotlin.Int
|
||||
// Public signature: /Test1.bar|-6436649210114349217[0]
|
||||
@@ -40,6 +41,7 @@ class Test2 : IBase, IOther {
|
||||
// Public signature: /Test2.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Test2#bar(){}kotlin.Int
|
||||
// Public signature: /Test2.bar|-6436649210114349217[0]
|
||||
@@ -138,7 +140,6 @@ class Test2 : IBase, IOther {
|
||||
// Mangled name: IBase
|
||||
// Public signature: /IBase|null[0]
|
||||
interface IBase {
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: IBase#bar(){}kotlin.Int
|
||||
// Public signature: /IBase.bar|-6436649210114349217[0]
|
||||
@@ -167,7 +168,6 @@ interface IBase {
|
||||
// Mangled name: IOther
|
||||
// Public signature: /IOther|null[0]
|
||||
interface IOther {
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: IOther{}x
|
||||
// Public signature: /IOther.x|-8060530855978347579[0]
|
||||
|
||||
+1
-1
@@ -7,6 +7,7 @@ class C : IFooBar {
|
||||
// Public signature: /C.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: C#foo(){}
|
||||
// Public signature: /C.foo|-1041209573719867811[0]
|
||||
@@ -25,7 +26,6 @@ class C : IFooBar {
|
||||
// Mangled name: IFooBar
|
||||
// Public signature: /IFooBar|null[0]
|
||||
interface IFooBar {
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: IFooBar#bar(){}
|
||||
// Public signature: /IFooBar.bar|496682602797471549[0]
|
||||
|
||||
Vendored
+2
@@ -19,11 +19,13 @@ class Test : Base {
|
||||
// Public signature: /Test.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor()
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: Test#<init>(kotlin.Int){}
|
||||
// Public signature: /Test.<init>|-5182794243525578284[0]
|
||||
// Public signature debug description: <init>(kotlin.Int){}
|
||||
constructor(xx: Int)
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: Test#<init>(kotlin.Short){}
|
||||
// Public signature: /Test.<init>|-8537285994488541433[0]
|
||||
|
||||
@@ -7,6 +7,7 @@ enum class TestEnum1 : Enum<TestEnum1> {
|
||||
// Public signature: /TestEnum1.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
private constructor() /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: TestEnum1.TEST1
|
||||
// Public signature: /TestEnum1.TEST1|null[0]
|
||||
@@ -148,6 +149,7 @@ enum class TestEnum2 : Enum<TestEnum2> {
|
||||
// Public signature: /TestEnum2.<init>|-5182794243525578284[0]
|
||||
// Public signature debug description: <init>(kotlin.Int){}
|
||||
private constructor(x: Int) /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: TestEnum2.TEST1
|
||||
// Public signature: /TestEnum2.TEST1|null[0]
|
||||
@@ -279,6 +281,7 @@ abstract enum class TestEnum3 : Enum<TestEnum3> {
|
||||
// Public signature: /TestEnum3.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
private constructor() /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: TestEnum3.TEST
|
||||
// Public signature: /TestEnum3.TEST|null[0]
|
||||
@@ -293,6 +296,7 @@ abstract enum class TestEnum3 : Enum<TestEnum3> {
|
||||
// Public signature: /TestEnum3.TEST.<EEC>.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
private constructor() /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: TestEnum3.TEST#compareTo(TestEnum3){}kotlin.Int
|
||||
// Public signature: /TestEnum3.TEST.<EEC>.compareTo|3758334100252612666[0]
|
||||
@@ -508,6 +512,7 @@ abstract enum class TestEnum4 : Enum<TestEnum4> {
|
||||
// Public signature: /TestEnum4.<init>|-5182794243525578284[0]
|
||||
// Public signature debug description: <init>(kotlin.Int){}
|
||||
private constructor(x: Int) /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: TestEnum4.TEST1
|
||||
// Public signature: /TestEnum4.TEST1|null[0]
|
||||
@@ -522,6 +527,7 @@ abstract enum class TestEnum4 : Enum<TestEnum4> {
|
||||
// Public signature: /TestEnum4.TEST1.<EEC>.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
private constructor() /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: TestEnum4.TEST1#compareTo(TestEnum4){}kotlin.Int
|
||||
// Public signature: /TestEnum4.TEST1.<EEC>.compareTo|-8388826051358644820[0]
|
||||
@@ -644,6 +650,7 @@ abstract enum class TestEnum4 : Enum<TestEnum4> {
|
||||
// Public signature: /TestEnum4.TEST2.<EEC>.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
private constructor() /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: TestEnum4.TEST2#compareTo(TestEnum4){}kotlin.Int
|
||||
// Public signature: /TestEnum4.TEST2.<EEC>.compareTo|-8388826051358644820[0]
|
||||
@@ -874,6 +881,7 @@ enum class TestEnum5 : Enum<TestEnum5> {
|
||||
// Public signature: /TestEnum5.<init>|-5182794243525578284[0]
|
||||
// Public signature debug description: <init>(kotlin.Int){}
|
||||
private constructor(x: Int) /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: TestEnum5.TEST1
|
||||
// Public signature: /TestEnum5.TEST1|null[0]
|
||||
@@ -1035,6 +1043,7 @@ enum class TestEnum6 : Enum<TestEnum6> {
|
||||
// Public signature: /TestEnum6.<init>|-7691762014320324121[0]
|
||||
// Public signature debug description: <init>(kotlin.Int;kotlin.Int){}
|
||||
private constructor(x: Int, y: Int) /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: TestEnum6.TEST
|
||||
// Public signature: /TestEnum6.TEST|null[0]
|
||||
|
||||
@@ -7,6 +7,7 @@ abstract enum class TestAbstractEnum1 : Enum<TestAbstractEnum1> {
|
||||
// Public signature: /TestAbstractEnum1.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
private constructor() /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: TestAbstractEnum1.X1
|
||||
// Public signature: /TestAbstractEnum1.X1|null[0]
|
||||
@@ -21,6 +22,7 @@ abstract enum class TestAbstractEnum1 : Enum<TestAbstractEnum1> {
|
||||
// Public signature: /TestAbstractEnum1.X1.<EEC>.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
private constructor() /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: TestAbstractEnum1.X1#compareTo(TestAbstractEnum1){}kotlin.Int
|
||||
// Public signature: /TestAbstractEnum1.X1.<EEC>.compareTo|4568850831400093628[0]
|
||||
@@ -221,6 +223,7 @@ abstract enum class TestAbstractEnum2 : Enum<TestAbstractEnum2>, IFoo {
|
||||
// Public signature: /TestAbstractEnum2.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
private constructor() /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: TestAbstractEnum2.X1
|
||||
// Public signature: /TestAbstractEnum2.X1|null[0]
|
||||
@@ -235,6 +238,7 @@ abstract enum class TestAbstractEnum2 : Enum<TestAbstractEnum2>, IFoo {
|
||||
// Public signature: /TestAbstractEnum2.X1.<EEC>.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
private constructor() /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: TestAbstractEnum2.X1#compareTo(TestAbstractEnum2){}kotlin.Int
|
||||
// Public signature: /TestAbstractEnum2.X1.<EEC>.compareTo|1400147308358154853[0]
|
||||
@@ -435,6 +439,7 @@ enum class TestFinalEnum1 : Enum<TestFinalEnum1> {
|
||||
// Public signature: /TestFinalEnum1.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
private constructor() /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: TestFinalEnum1.X1
|
||||
// Public signature: /TestFinalEnum1.X1|null[0]
|
||||
@@ -571,6 +576,7 @@ enum class TestFinalEnum2 : Enum<TestFinalEnum2> {
|
||||
// Public signature: /TestFinalEnum2.<init>|-5182794243525578284[0]
|
||||
// Public signature debug description: <init>(kotlin.Int){}
|
||||
private constructor(x: Int) /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: TestFinalEnum2.X1
|
||||
// Public signature: /TestFinalEnum2.X1|null[0]
|
||||
@@ -692,6 +698,7 @@ enum class TestFinalEnum3 : Enum<TestFinalEnum3> {
|
||||
// Public signature: /TestFinalEnum3.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
private constructor() /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: TestFinalEnum3.X1
|
||||
// Public signature: /TestFinalEnum3.X1|null[0]
|
||||
@@ -819,6 +826,7 @@ open enum class TestOpenEnum1 : Enum<TestOpenEnum1> {
|
||||
// Public signature: /TestOpenEnum1.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
private constructor() /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: TestOpenEnum1.X1
|
||||
// Public signature: /TestOpenEnum1.X1|null[0]
|
||||
@@ -833,6 +841,7 @@ open enum class TestOpenEnum1 : Enum<TestOpenEnum1> {
|
||||
// Public signature: /TestOpenEnum1.X1.<EEC>.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
private constructor() /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: TestOpenEnum1.X1#compareTo(TestOpenEnum1){}kotlin.Int
|
||||
// Public signature: /TestOpenEnum1.X1.<EEC>.compareTo|5969408945777389066[0]
|
||||
@@ -1021,6 +1030,7 @@ open enum class TestOpenEnum2 : Enum<TestOpenEnum2> {
|
||||
// Public signature: /TestOpenEnum2.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
private constructor() /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: TestOpenEnum2.X1
|
||||
// Public signature: /TestOpenEnum2.X1|null[0]
|
||||
@@ -1035,6 +1045,7 @@ open enum class TestOpenEnum2 : Enum<TestOpenEnum2> {
|
||||
// Public signature: /TestOpenEnum2.X1.<EEC>.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
private constructor() /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: TestOpenEnum2.X1#compareTo(TestOpenEnum2){}kotlin.Int
|
||||
// Public signature: /TestOpenEnum2.X1.<EEC>.compareTo|-5309775767017986668[0]
|
||||
@@ -1230,7 +1241,6 @@ open enum class TestOpenEnum2 : Enum<TestOpenEnum2> {
|
||||
// Mangled name: IFoo
|
||||
// Public signature: /IFoo|null[0]
|
||||
interface IFoo {
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: IFoo#foo(){}
|
||||
// Public signature: /IFoo.foo|-1041209573719867811[0]
|
||||
|
||||
@@ -58,8 +58,6 @@ FILE fqName:<root> fileName:/enumEntries.kt
|
||||
public final fun <get-ordinal> (): kotlin.Int declared in kotlin.Enum
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Enum<<root>.MyEnum>
|
||||
FUN name:box visibility:public modality:FINAL <> () returnType:kotlin.enums.EnumEntries<<root>.MyEnum>
|
||||
annotations:
|
||||
OptIn(markerClass = [CLASS_REFERENCE 'CLASS IR_EXTERNAL_DECLARATION_STUB ANNOTATION_CLASS name:ExperimentalStdlibApi modality:OPEN visibility:public superTypes:[kotlin.Annotation]' type=kotlin.reflect.KClass<kotlin.ExperimentalStdlibApi>])
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='public final fun box (): kotlin.enums.EnumEntries<<root>.MyEnum> declared in <root>'
|
||||
CALL 'public final fun <get-entries> (): kotlin.enums.EnumEntries<<root>.MyEnum> declared in <root>.MyEnum' type=kotlin.enums.EnumEntries<<root>.MyEnum> origin=GET_PROPERTY
|
||||
|
||||
@@ -18,7 +18,6 @@ enum class MyEnum : Enum<MyEnum> {
|
||||
|
||||
}
|
||||
|
||||
@OptIn(markerClass = [ExperimentalStdlibApi::class])
|
||||
fun box(): EnumEntries<MyEnum> {
|
||||
return <get-entries>()
|
||||
}
|
||||
|
||||
@@ -58,8 +58,6 @@ FILE fqName:<root> fileName:/enumEntries.kt
|
||||
correspondingProperty: PROPERTY ENUM_CLASS_SPECIAL_MEMBER name:entries visibility:public modality:FINAL [val]
|
||||
SYNTHETIC_BODY kind=ENUM_ENTRIES
|
||||
FUN name:box visibility:public modality:FINAL <> () returnType:kotlin.enums.EnumEntries<<root>.MyEnum>
|
||||
annotations:
|
||||
OptIn(markerClass = [CLASS_REFERENCE 'CLASS IR_EXTERNAL_DECLARATION_STUB ANNOTATION_CLASS name:ExperimentalStdlibApi modality:OPEN visibility:public superTypes:[kotlin.Annotation]' type=kotlin.reflect.KClass<kotlin.ExperimentalStdlibApi>])
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='public final fun box (): kotlin.enums.EnumEntries<<root>.MyEnum> declared in <root>'
|
||||
CALL 'public final fun <get-entries> (): kotlin.enums.EnumEntries<<root>.MyEnum> declared in <root>.MyEnum' type=kotlin.enums.EnumEntries<<root>.MyEnum> origin=GET_PROPERTY
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
// !LANGUAGE: +EnumEntries
|
||||
// TARGET_BACKEND: JVM_IR
|
||||
// FULL_JDK
|
||||
// WITH_STDLIB
|
||||
|
||||
@@ -7,5 +5,4 @@ enum class MyEnum {
|
||||
Ok, Nope
|
||||
}
|
||||
|
||||
@OptIn(ExperimentalStdlibApi::class)
|
||||
fun box() = MyEnum.entries
|
||||
|
||||
@@ -18,7 +18,6 @@ enum class MyEnum : Enum<MyEnum> {
|
||||
|
||||
}
|
||||
|
||||
@OptIn(markerClass = [ExperimentalStdlibApi::class])
|
||||
fun box(): EnumEntries<MyEnum> {
|
||||
return <get-entries>()
|
||||
}
|
||||
|
||||
+41
-1
@@ -7,6 +7,7 @@ enum class MyEnum : Enum<MyEnum> {
|
||||
// Public signature: /MyEnum.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
private constructor() /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: MyEnum.Nope
|
||||
// Public signature: /MyEnum.Nope|null[0]
|
||||
@@ -21,36 +22,60 @@ enum class MyEnum : Enum<MyEnum> {
|
||||
// Mangled name: MyEnum#valueOf#static(kotlin.String){}MyEnum
|
||||
// Public signature: /MyEnum.valueOf|4316550590519800984[0]
|
||||
// Public signature debug description: valueOf#static(kotlin.String){}MyEnum
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: MyEnum#valueOf#static(kotlin.String){}
|
||||
// Public signature: /MyEnum.valueOf|-4683474617854611729[0]
|
||||
// Public signature debug description: valueOf#static(kotlin.String){}
|
||||
fun valueOf(value: String): MyEnum
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: MyEnum#values#static(){}kotlin.Array<MyEnum>
|
||||
// Public signature: /MyEnum.values|3097625172661156808[0]
|
||||
// Public signature debug description: values#static(){}kotlin.Array<MyEnum>
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: MyEnum#values#static(){}
|
||||
// Public signature: /MyEnum.values|-8715569000920726747[0]
|
||||
// Public signature debug description: values#static(){}
|
||||
fun values(): Array<MyEnum>
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: MyEnum#compareTo(MyEnum){}kotlin.Int
|
||||
// Public signature: /MyEnum.compareTo|2015858924903177055[0]
|
||||
// Public signature debug description: compareTo(MyEnum){}kotlin.Int
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: MyEnum#compareTo(MyEnum){}
|
||||
// Public signature: /MyEnum.compareTo|-1404018836780573573[0]
|
||||
// Public signature debug description: compareTo(MyEnum){}
|
||||
/* fake */ override operator fun compareTo(other: MyEnum): Int
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: MyEnum#equals(kotlin.Any?){}kotlin.Boolean
|
||||
// Public signature: /MyEnum.equals|722809408929142791[0]
|
||||
// Public signature debug description: equals(kotlin.Any?){}kotlin.Boolean
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: MyEnum#equals(kotlin.Any?){}
|
||||
// Public signature: /MyEnum.equals|4638265728071529943[0]
|
||||
// Public signature debug description: equals(kotlin.Any?){}
|
||||
/* fake */ override operator fun equals(other: Any?): Boolean
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: MyEnum#hashCode(){}kotlin.Int
|
||||
// Public signature: /MyEnum.hashCode|-8048879360829830756[0]
|
||||
// Public signature debug description: hashCode(){}kotlin.Int
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: MyEnum#hashCode(){}
|
||||
// Public signature: /MyEnum.hashCode|3409210261493131192[0]
|
||||
// Public signature debug description: hashCode(){}
|
||||
/* fake */ override fun hashCode(): Int
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: MyEnum#toString(){}kotlin.String
|
||||
// Public signature: /MyEnum.toString|6958853723545266802[0]
|
||||
// Public signature debug description: toString(){}kotlin.String
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: MyEnum#toString(){}
|
||||
// Public signature: /MyEnum.toString|-1522858123163872138[0]
|
||||
// Public signature debug description: toString(){}
|
||||
/* fake */ override fun toString(): String
|
||||
|
||||
// CHECK:
|
||||
@@ -62,6 +87,10 @@ enum class MyEnum : Enum<MyEnum> {
|
||||
// Mangled name: MyEnum#<get-entries>#static(){}kotlin.enums.EnumEntries<MyEnum>
|
||||
// Public signature: /MyEnum.entries.<get-entries>|-3922959509726908718[0]
|
||||
// Public signature debug description: <get-entries>#static(){}kotlin.enums.EnumEntries<MyEnum>
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: MyEnum#<get-entries>#static(){}
|
||||
// Public signature: /MyEnum.entries.<get-entries>|-6068527377476727729[0]
|
||||
// Public signature debug description: <get-entries>#static(){}
|
||||
get(): EnumEntries<MyEnum>
|
||||
|
||||
// CHECK:
|
||||
@@ -73,6 +102,10 @@ enum class MyEnum : Enum<MyEnum> {
|
||||
// Mangled name: MyEnum#<get-name>(){}kotlin.String
|
||||
// Public signature: /MyEnum.name.<get-name>|-8006111524522882650[0]
|
||||
// Public signature debug description: <get-name>(){}kotlin.String
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: MyEnum#<get-name>(){}
|
||||
// Public signature: /MyEnum.name.<get-name>|5879344792307730109[0]
|
||||
// Public signature debug description: <get-name>(){}
|
||||
/* fake */ override get(): String
|
||||
|
||||
// CHECK:
|
||||
@@ -84,6 +117,10 @@ enum class MyEnum : Enum<MyEnum> {
|
||||
// Mangled name: MyEnum#<get-ordinal>(){}kotlin.Int
|
||||
// Public signature: /MyEnum.ordinal.<get-ordinal>|-6902664390061762634[0]
|
||||
// Public signature debug description: <get-ordinal>(){}kotlin.Int
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: MyEnum#<get-ordinal>(){}
|
||||
// Public signature: /MyEnum.ordinal.<get-ordinal>|8409904226035914023[0]
|
||||
// Public signature debug description: <get-ordinal>(){}
|
||||
/* fake */ override get(): Int
|
||||
|
||||
}
|
||||
@@ -92,6 +129,9 @@ enum class MyEnum : Enum<MyEnum> {
|
||||
// Mangled name: #box(){}kotlin.enums.EnumEntries<MyEnum>
|
||||
// Public signature: /box|700999420470824741[0]
|
||||
// Public signature debug description: box(){}kotlin.enums.EnumEntries<MyEnum>
|
||||
@OptIn(markerClass = [ExperimentalStdlibApi::class])
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #box(){}
|
||||
// Public signature: /box|2173511048851971368[0]
|
||||
// Public signature debug description: box(){}
|
||||
fun box(): EnumEntries<MyEnum>
|
||||
|
||||
|
||||
@@ -57,16 +57,19 @@ open enum class A : Enum<A> {
|
||||
// Public signature: /A.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
private constructor()
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: A#<init>(kotlin.String){}
|
||||
// Public signature: /A.<init>|1280618353163213788[0]
|
||||
// Public signature debug description: <init>(kotlin.String){}
|
||||
private constructor(arg: String)
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: A#<init>(kotlin.Int){}
|
||||
// Public signature: /A.<init>|-5182794243525578284[0]
|
||||
// Public signature debug description: <init>(kotlin.Int){}
|
||||
private constructor(x: Int)
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: A.X
|
||||
// Public signature: /A.X|null[0]
|
||||
@@ -86,6 +89,7 @@ open enum class A : Enum<A> {
|
||||
// Public signature: /A.Y.<EEC>.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
private constructor() /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: A.Y#compareTo(A){}kotlin.Int
|
||||
// Public signature: /A.Y.<EEC>.compareTo|-315052537630360750[0]
|
||||
|
||||
@@ -22,11 +22,13 @@ enum class Test0 : Enum<Test0> {
|
||||
// Public signature: /Test0.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
private constructor()
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: Test0#<init>(kotlin.Int){}
|
||||
// Public signature: /Test0.<init>|-5182794243525578284[0]
|
||||
// Public signature debug description: <init>(kotlin.Int){}
|
||||
private constructor(x: Int) /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: Test0.ZERO
|
||||
// Public signature: /Test0.ZERO|null[0]
|
||||
@@ -163,11 +165,13 @@ enum class Test1 : Enum<Test1> {
|
||||
// Public signature: /Test1.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
private constructor()
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: Test1#<init>(kotlin.Int){}
|
||||
// Public signature: /Test1.<init>|-5182794243525578284[0]
|
||||
// Public signature debug description: <init>(kotlin.Int){}
|
||||
private constructor(x: Int) /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: Test1.ONE
|
||||
// Public signature: /Test1.ONE|null[0]
|
||||
@@ -309,11 +313,13 @@ abstract enum class Test2 : Enum<Test2> {
|
||||
// Public signature: /Test2.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
private constructor()
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: Test2#<init>(kotlin.Int){}
|
||||
// Public signature: /Test2.<init>|-5182794243525578284[0]
|
||||
// Public signature debug description: <init>(kotlin.Int){}
|
||||
private constructor(x: Int) /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: Test2.ONE
|
||||
// Public signature: /Test2.ONE|null[0]
|
||||
@@ -328,6 +334,7 @@ abstract enum class Test2 : Enum<Test2> {
|
||||
// Public signature: /Test2.ONE.<EEC>.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
private constructor() /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Test2.ONE#compareTo(Test2){}kotlin.Int
|
||||
// Public signature: /Test2.ONE.<EEC>.compareTo|-4058923296557042542[0]
|
||||
@@ -435,6 +442,7 @@ abstract enum class Test2 : Enum<Test2> {
|
||||
// Public signature: /Test2.ZERO.<EEC>.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
private constructor() /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Test2.ZERO#compareTo(Test2){}kotlin.Int
|
||||
// Public signature: /Test2.ZERO.<EEC>.compareTo|-4058923296557042542[0]
|
||||
|
||||
+5
-1
@@ -79,6 +79,7 @@ class TestJFoo : IFoo {
|
||||
// Public signature: /TestJFoo.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: TestJFoo#foo(){}kotlin.String
|
||||
// Public signature: /TestJFoo.foo|485335955883620819[0]
|
||||
@@ -96,6 +97,7 @@ class TestK1 : IFoo {
|
||||
// Public signature: /TestK1.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: TestK1#foo(){}kotlin.String
|
||||
// Public signature: /TestK1.foo|485335955883620819[0]
|
||||
@@ -113,6 +115,7 @@ class TestK2 : IFoo {
|
||||
// Public signature: /TestK2.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: TestK2#foo(){}kotlin.String
|
||||
// Public signature: /TestK2.foo|485335955883620819[0]
|
||||
@@ -130,6 +133,7 @@ class TestK3 : IFoo {
|
||||
// Public signature: /TestK3.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: TestK3#foo(){}kotlin.String
|
||||
// Public signature: /TestK3.foo|485335955883620819[0]
|
||||
@@ -147,6 +151,7 @@ class TestK4 : IFoo {
|
||||
// Public signature: /TestK4.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: TestK4#foo(){}kotlin.String
|
||||
// Public signature: /TestK4.foo|485335955883620819[0]
|
||||
@@ -159,7 +164,6 @@ class TestK4 : IFoo {
|
||||
// Mangled name: IFoo
|
||||
// Public signature: /IFoo|null[0]
|
||||
interface IFoo {
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: IFoo#foo(){}kotlin.String
|
||||
// Public signature: /IFoo.foo|485335955883620819[0]
|
||||
|
||||
@@ -22,6 +22,7 @@ value class Test {
|
||||
// Public signature: /Test.<init>|-5182794243525578284[0]
|
||||
// Public signature debug description: <init>(kotlin.Int){}
|
||||
constructor(x: Int) /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Test#equals(kotlin.Any?){}kotlin.Boolean
|
||||
// Public signature: /Test.equals|722809408929142791[0]
|
||||
|
||||
@@ -59,6 +59,7 @@ value class IC<TT : Any?> {
|
||||
// Public signature: /IC.<init>|-2549303465575104617[0]
|
||||
// Public signature debug description: <init>(C<1:0>){}
|
||||
constructor(c: C<TT>) /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: IC#equals(kotlin.Any?){}kotlin.Boolean
|
||||
// Public signature: /IC.equals|722809408929142791[0]
|
||||
|
||||
+1
@@ -26,6 +26,7 @@ class Outer {
|
||||
// Public signature: /Outer.Inner.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor()
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: Outer.Inner#<init>(kotlin.Int){}
|
||||
// Public signature: /Outer.Inner.<init>|-5182794243525578284[0]
|
||||
|
||||
@@ -72,7 +72,6 @@ class Outer {
|
||||
// Mangled name: IFoo
|
||||
// Public signature: /IFoo|null[0]
|
||||
interface IFoo {
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: IFoo#foo(){}
|
||||
// Public signature: /IFoo.foo|-1041209573719867811[0]
|
||||
|
||||
+1
@@ -73,6 +73,7 @@ class TestWithDelegatingConstructor : Base {
|
||||
// Public signature: /TestWithDelegatingConstructor.<init>|-5182794243525578284[0]
|
||||
// Public signature debug description: <init>(kotlin.Int){}
|
||||
constructor(x: Int)
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: TestWithDelegatingConstructor#<init>(kotlin.Int;kotlin.Int){}
|
||||
// Public signature: /TestWithDelegatingConstructor.<init>|-7691762014320324121[0]
|
||||
|
||||
@@ -7,6 +7,7 @@ open class C1 : I {
|
||||
// Public signature: /C1.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: C1#bazString(){}kotlin.String
|
||||
// Public signature: /C1.bazString|4745561783571976677[0]
|
||||
@@ -66,6 +67,7 @@ class C2 : C1 {
|
||||
// Public signature: /C2.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: C2#barString(){}kotlin.String
|
||||
// Public signature: /C2.barString|1448966844562545716[0]
|
||||
@@ -120,7 +122,6 @@ class C2 : C1 {
|
||||
// Mangled name: I
|
||||
// Public signature: [ File '/privateInterface.kt' <- /I|null[0] ]
|
||||
private interface I {
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: I#barString(){}kotlin.String
|
||||
// Public signature: [ File '/privateInterface.kt' <- /I.barString|1448966844562545716[0] ]
|
||||
|
||||
@@ -35,7 +35,6 @@ class CBoth : ILeft, IRight {
|
||||
// Mangled name: ILeft
|
||||
// Public signature: /ILeft|null[0]
|
||||
interface ILeft {
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: ILeft#foo(){}
|
||||
// Public signature: /ILeft.foo|-1041209573719867811[0]
|
||||
@@ -63,7 +62,6 @@ interface ILeft {
|
||||
// Mangled name: IRight
|
||||
// Public signature: /IRight|null[0]
|
||||
interface IRight {
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: IRight#foo(){}
|
||||
// Public signature: /IRight.foo|-1041209573719867811[0]
|
||||
|
||||
Vendored
+2
@@ -34,11 +34,13 @@ class TestInitBlock : Base {
|
||||
// Public signature: /TestInitBlock.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor()
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: TestInitBlock#<init>(kotlin.Int){}
|
||||
// Public signature: /TestInitBlock.<init>|-5182794243525578284[0]
|
||||
// Public signature debug description: <init>(kotlin.Int){}
|
||||
constructor(y: Int)
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: TestInitBlock#<init>(kotlin.Any){}
|
||||
// Public signature: /TestInitBlock.<init>|4518179880532599055[0]
|
||||
|
||||
@@ -7,6 +7,7 @@ class C {
|
||||
// Public signature: /C.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor()
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: C#<init>(kotlin.Int){}
|
||||
// Public signature: /C.<init>|-5182794243525578284[0]
|
||||
|
||||
@@ -68,7 +68,6 @@ class Derived : Base, BaseI {
|
||||
// Mangled name: BaseI
|
||||
// Public signature: /BaseI|null[0]
|
||||
interface BaseI {
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: BaseI#foo(){}
|
||||
// Public signature: /BaseI.foo|-1041209573719867811[0]
|
||||
|
||||
-1
@@ -23,7 +23,6 @@ class TestClass {
|
||||
|
||||
@TestAnn(x = "interface")
|
||||
interface TestInterface {
|
||||
|
||||
}
|
||||
|
||||
@TestAnn(x = "object")
|
||||
|
||||
-1
@@ -23,7 +23,6 @@ class TestClass {
|
||||
|
||||
@TestAnn(x = "interface")
|
||||
interface TestInterface {
|
||||
|
||||
}
|
||||
|
||||
@TestAnn(x = "object")
|
||||
|
||||
+1
-1
@@ -86,6 +86,7 @@ enum class TestEnum : Enum<TestEnum> {
|
||||
// Public signature: /TestEnum.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
private constructor() /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: TestEnum#valueOf#static(kotlin.String){}TestEnum
|
||||
// Public signature: /TestEnum.valueOf|1811575739170804829[0]
|
||||
@@ -198,7 +199,6 @@ enum class TestEnum : Enum<TestEnum> {
|
||||
// Public signature: /TestInterface|null[0]
|
||||
@TestAnn(x = "interface")
|
||||
interface TestInterface {
|
||||
|
||||
}
|
||||
|
||||
// CHECK:
|
||||
|
||||
Vendored
+1
@@ -35,6 +35,7 @@ class TestClass {
|
||||
// Public signature debug description: <init>(){}
|
||||
@TestAnn(x = 1)
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: TestClass#<init>(kotlin.Int){}
|
||||
// Public signature: /TestClass.<init>|-5182794243525578284[0]
|
||||
|
||||
+1
@@ -34,6 +34,7 @@ enum class En : Enum<En> {
|
||||
// Public signature: /En.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
private constructor() /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: En.A
|
||||
// Public signature: /En.A|null[0]
|
||||
|
||||
-1
@@ -27,7 +27,6 @@ open annotation class Test2<T1 : Any, T2 : Any?> : Annotation {
|
||||
}
|
||||
|
||||
interface I<T : Any?> {
|
||||
|
||||
}
|
||||
|
||||
open annotation class Test3<T1 : Any?, T2 : I<T1>> : Annotation {
|
||||
|
||||
-1
@@ -27,7 +27,6 @@ open annotation class Test2<T1 : Any, T2 : Any?> : Annotation {
|
||||
}
|
||||
|
||||
interface I<T : Any?> {
|
||||
|
||||
}
|
||||
|
||||
open annotation class Test3<T1 : Any?, T2 : I<T1>> : Annotation {
|
||||
|
||||
-1
@@ -180,6 +180,5 @@ class CC {
|
||||
// Mangled name: ann.I
|
||||
// Public signature: ann/I|null[0]
|
||||
interface I<T : Any?> {
|
||||
|
||||
}
|
||||
|
||||
|
||||
-1
@@ -128,7 +128,6 @@ class ExplicitOverride : IFoo {
|
||||
// Mangled name: IFoo
|
||||
// Public signature: /IFoo|null[0]
|
||||
interface IFoo {
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: IFoo@kotlin.String{}extProp
|
||||
// Public signature: /IFoo.extProp|9137761441129982647[0]
|
||||
|
||||
Vendored
+1
@@ -47,6 +47,7 @@ data class MyContainer {
|
||||
// Public signature: /MyContainer.<init>|-5182794243525578284[0]
|
||||
// Public signature debug description: <init>(kotlin.Int){}
|
||||
constructor(i: Int) /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: MyContainer#component1(){}kotlin.Int
|
||||
// Public signature: /MyContainer.component1|-8217597213800111288[0]
|
||||
|
||||
+1
@@ -27,6 +27,7 @@ data class MyContainer {
|
||||
// Public signature: /MyContainer.<init>|1280618353163213788[0]
|
||||
// Public signature debug description: <init>(kotlin.String){}
|
||||
constructor(s: String) /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: MyContainer#component1(){}kotlin.String
|
||||
// Public signature: /MyContainer.component1|-7481405593404337796[0]
|
||||
|
||||
Vendored
+1
@@ -47,6 +47,7 @@ data class Result {
|
||||
// Public signature: /Result.<init>|-5182794243525578284[0]
|
||||
// Public signature debug description: <init>(kotlin.Int){}
|
||||
constructor(i: Int) /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Result#component1(){}kotlin.Int
|
||||
// Public signature: /Result.component1|-8217597213800111288[0]
|
||||
|
||||
-2
@@ -24,7 +24,6 @@ class Circle : Shape {
|
||||
// Mangled name: Canvas
|
||||
// Public signature: /Canvas|null[0]
|
||||
interface Canvas {
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: Canvas{}suffix
|
||||
// Public signature: /Canvas.suffix|-3301965527200666288[0]
|
||||
@@ -46,7 +45,6 @@ interface Canvas {
|
||||
// Mangled name: Shape
|
||||
// Public signature: /Shape|null[0]
|
||||
interface Shape {
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Shape#draw!Canvas(){}kotlin.String
|
||||
// Public signature: /Shape.draw|-6733499063990640842[0]
|
||||
|
||||
+1
@@ -37,6 +37,7 @@ data class Pair<A : Any?, B : Any?> {
|
||||
// Public signature: /Pair.<init>|3086114026882374588[0]
|
||||
// Public signature debug description: <init>(1:0;1:1){}
|
||||
constructor(first: A, second: B) /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Pair#component1(){}1:0
|
||||
// Public signature: /Pair.component1|2393470133763651536[0]
|
||||
|
||||
-1
@@ -33,7 +33,6 @@ interface Monoid<T : Any?> : Semigroup<T> {
|
||||
// Mangled name: Semigroup
|
||||
// Public signature: /Semigroup|null[0]
|
||||
interface Semigroup<T : Any?> {
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Semigroup#combine@1:0(1:0){}1:0
|
||||
// Public signature: /Semigroup.combine|-3517256775590682507[0]
|
||||
|
||||
+2
@@ -27,6 +27,7 @@ data class Counter {
|
||||
// Public signature: /Counter.<init>|-5182794243525578284[0]
|
||||
// Public signature debug description: <init>(kotlin.Int){}
|
||||
constructor(i: Int) /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Counter#component1(){}kotlin.Int
|
||||
// Public signature: /Counter.component1|-8217597213800111288[0]
|
||||
@@ -103,6 +104,7 @@ data class CounterConfig {
|
||||
// Public signature: /CounterConfig.<init>|-5182794243525578284[0]
|
||||
// Public signature debug description: <init>(kotlin.Int){}
|
||||
constructor(max: Int) /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: CounterConfig#component1(){}kotlin.Int
|
||||
// Public signature: /CounterConfig.component1|-8217597213800111288[0]
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
interface Lazy<T : Any?> {
|
||||
|
||||
}
|
||||
|
||||
fun test1($context_receiver_0: Lazy<Int>, $context_receiver_1: Lazy<CharSequence>) {
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
// Mangled name: Lazy
|
||||
// Public signature: /Lazy|null[0]
|
||||
interface Lazy<T : Any?> {
|
||||
|
||||
}
|
||||
|
||||
// CHECK:
|
||||
|
||||
-1
@@ -14,7 +14,6 @@ class Matrix {
|
||||
// Mangled name: NumberOperations
|
||||
// Public signature: /NumberOperations|null[0]
|
||||
interface NumberOperations {
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: NumberOperations#plus@kotlin.Number(kotlin.Number){}kotlin.Number
|
||||
// Public signature: /NumberOperations.plus|-6518987633126930952[0]
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
// Mangled name: A
|
||||
// Public signature: /A|null[0]
|
||||
interface A {
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: A#a(){}kotlin.Int
|
||||
// Public signature: /A.a|5993980063692763883[0]
|
||||
@@ -19,7 +18,6 @@ interface A {
|
||||
// Mangled name: B
|
||||
// Public signature: /B|null[0]
|
||||
interface B {
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: B#b(){}kotlin.Int
|
||||
// Public signature: /B.b|-6472101675379091489[0]
|
||||
|
||||
+1
@@ -42,6 +42,7 @@ data class Result {
|
||||
// Public signature: /Result.<init>|-5182794243525578284[0]
|
||||
// Public signature debug description: <init>(kotlin.Int){}
|
||||
constructor(i: Int) /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Result#component1(){}kotlin.Int
|
||||
// Public signature: /Result.component1|-8217597213800111288[0]
|
||||
|
||||
+2
-1
@@ -66,6 +66,7 @@ class Derived : DerivedBase, Base {
|
||||
// Public signature: foo/Derived.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: foo.Derived#foo(kotlin.String){}kotlin.String
|
||||
// Public signature: foo/Derived.foo|-5534735991146511619[0]
|
||||
@@ -87,6 +88,7 @@ class Derived1 : DerivedBase, Base {
|
||||
// Public signature: foo/Derived1.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: foo.Derived1#foo(kotlin.String){}kotlin.String
|
||||
// Public signature: foo/Derived1.foo|-5534735991146511619[0]
|
||||
@@ -115,7 +117,6 @@ open class DerivedBase {
|
||||
// Mangled name: foo.Base
|
||||
// Public signature: foo/Base|null[0]
|
||||
interface Base {
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: foo.Base#foo(kotlin.String){}kotlin.String
|
||||
// Public signature: foo/Base.foo|-5534735991146511619[0]
|
||||
|
||||
+3
-2
@@ -103,6 +103,7 @@ class Derived : DerivedBase, Base, Base2 {
|
||||
// Public signature: foo/Derived.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: foo.Derived#bar(kotlin.String){}kotlin.String
|
||||
// Public signature: foo/Derived.bar|2000415168157940991[0]
|
||||
@@ -134,6 +135,7 @@ class Derived1 : DerivedBase, Base, Base2 {
|
||||
// Public signature: foo/Derived1.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: foo.Derived1#bar(kotlin.String){}kotlin.String
|
||||
// Public signature: foo/Derived1.bar|2000415168157940991[0]
|
||||
@@ -165,6 +167,7 @@ class Derived2 : DerivedBase, Base, Base2 {
|
||||
// Public signature: foo/Derived2.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: foo.Derived2#bar(kotlin.String){}kotlin.String
|
||||
// Public signature: foo/Derived2.bar|2000415168157940991[0]
|
||||
@@ -203,7 +206,6 @@ open class DerivedBase {
|
||||
// Mangled name: foo.Base
|
||||
// Public signature: foo/Base|null[0]
|
||||
interface Base {
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: foo.Base#foo(kotlin.String){}kotlin.String
|
||||
// Public signature: foo/Base.foo|-5534735991146511619[0]
|
||||
@@ -220,7 +222,6 @@ interface Base {
|
||||
// Mangled name: foo.Base2
|
||||
// Public signature: foo/Base2|null[0]
|
||||
interface Base2 {
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: foo.Base2#bar(kotlin.String){}kotlin.String
|
||||
// Public signature: foo/Base2.bar|2000415168157940991[0]
|
||||
|
||||
@@ -53,7 +53,6 @@ class Test1 : CFoo<String>, IBar, IFooStr {
|
||||
// Mangled name: IBar
|
||||
// Public signature: /IBar|null[0]
|
||||
interface IBar {
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: IBar{}bar
|
||||
// Public signature: /IBar.bar|-7864284097863469857[0]
|
||||
@@ -75,7 +74,6 @@ interface IBar {
|
||||
// Mangled name: IFooStr
|
||||
// Public signature: /IFooStr|null[0]
|
||||
interface IFooStr {
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: IFooStr#foo(kotlin.String){}
|
||||
// Public signature: /IFooStr.foo|1351044947738582195[0]
|
||||
|
||||
+2
@@ -22,6 +22,7 @@ value class IT {
|
||||
// Public signature: /IT.<init>|-5182794243525578284[0]
|
||||
// Public signature debug description: <init>(kotlin.Int){}
|
||||
constructor(x: Int) /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: IT#equals(kotlin.Any?){}kotlin.Boolean
|
||||
// Public signature: /IT.equals|722809408929142791[0]
|
||||
@@ -78,6 +79,7 @@ value class InlineMutableSet : MutableSet<IT> {
|
||||
// Public signature: /InlineMutableSet.<init>|-3183535736515224569[0]
|
||||
// Public signature debug description: <init>(kotlin.collections.MutableSet<IT>){}
|
||||
constructor(ms: MutableSet<IT>) /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: InlineMutableSet#equals(kotlin.Any?){}kotlin.Boolean
|
||||
// Public signature: /InlineMutableSet.equals|722809408929142791[0]
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
// Mangled name: C
|
||||
// Public signature: /C|null[0]
|
||||
interface C {
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: C{}test1
|
||||
// Public signature: /C.test1|6005685442305498193[0]
|
||||
|
||||
+1
@@ -19,6 +19,7 @@ data class MyRec : Record {
|
||||
// Public signature: /MyRec.<init>|1280618353163213788[0]
|
||||
// Public signature debug description: <init>(kotlin.String){}
|
||||
constructor(name: String) /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: MyRec#component1(){}kotlin.String
|
||||
// Public signature: /MyRec.component1|-7481405593404337796[0]
|
||||
|
||||
@@ -29,7 +29,6 @@ class A : I {
|
||||
// Mangled name: I
|
||||
// Public signature: /I|null[0]
|
||||
interface I {
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: I@0:0{0§<kotlin.Any?>}id
|
||||
// Public signature: /I.id|6409895071901545951[0]
|
||||
|
||||
@@ -57,7 +57,6 @@ data class LoginSuccessPacket {
|
||||
|
||||
typealias Uuid = @MySerializable(c = UuidSerializer::class) Uuid1
|
||||
interface MySerializer<T : Any?> {
|
||||
|
||||
}
|
||||
|
||||
object UuidSerializer : MySerializer<@MySerializable(c = UuidSerializer::class) Uuid1> {
|
||||
|
||||
@@ -50,6 +50,7 @@ data class LoginSuccessPacket {
|
||||
// Public signature: /LoginSuccessPacket.<init>|-1666114669831529718[0]
|
||||
// Public signature debug description: <init>(Uuid1){}
|
||||
constructor(id: @MySerializable(c = UuidSerializer::class) Uuid1) /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: LoginSuccessPacket#component1(){}Uuid1
|
||||
// Public signature: /LoginSuccessPacket.component1|-3428488995872773450[0]
|
||||
@@ -118,7 +119,6 @@ class Uuid1 {
|
||||
// Mangled name: MySerializer
|
||||
// Public signature: /MySerializer|null[0]
|
||||
interface MySerializer<T : Any?> {
|
||||
|
||||
}
|
||||
|
||||
// CHECK:
|
||||
|
||||
+2
@@ -1,11 +1,13 @@
|
||||
expect abstract class A {
|
||||
protected expect constructor() /* primary */
|
||||
|
||||
expect abstract fun foo()
|
||||
|
||||
}
|
||||
|
||||
expect open class B : A {
|
||||
expect constructor(i: Int) /* primary */
|
||||
|
||||
expect override fun foo()
|
||||
|
||||
expect open fun bar(s: String)
|
||||
|
||||
Vendored
-2
@@ -4,7 +4,6 @@
|
||||
// Mangled name: I1
|
||||
// Public signature: /I1|null[0]
|
||||
interface I1 {
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: I1#f(){}kotlin.String
|
||||
// Public signature: /I1.f|9098388873611041001[0]
|
||||
@@ -36,7 +35,6 @@ interface I1 {
|
||||
// Mangled name: I2
|
||||
// Public signature: /I2|null[0]
|
||||
interface I2 {
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: I2#f(){}kotlin.String
|
||||
// Public signature: /I2.f|9098388873611041001[0]
|
||||
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
expect open class C1 {
|
||||
expect constructor() /* primary */
|
||||
|
||||
expect fun f(): String
|
||||
|
||||
expect val p: Int
|
||||
|
||||
+1
@@ -128,6 +128,7 @@ enum class MyEnum : Enum<MyEnum> {
|
||||
// Public signature: /MyEnum.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
private constructor() /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: MyEnum.BAR
|
||||
// Public signature: /MyEnum.BAR|null[0]
|
||||
|
||||
+1
@@ -11,6 +11,7 @@ enum class MyEnum : Enum<MyEnum> {
|
||||
// Public signature: /MyEnum.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
private constructor() /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: MyEnum.BAR
|
||||
// Public signature: /MyEnum.BAR|null[0]
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
interface TestInterface<T : Any?> {
|
||||
interface TestNestedInterface<TT : Any?> {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -42,7 +42,6 @@ interface TestInterface<T : Any?> {
|
||||
// Mangled name: TestInterface.TestNestedInterface
|
||||
// Public signature: /TestInterface.TestNestedInterface|null[0]
|
||||
interface TestNestedInterface<TT : Any?> {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -83,6 +83,7 @@ class Test2 {
|
||||
// Public signature: /Test2.TestInner.<init>|-8731461708390519279[0]
|
||||
// Public signature debug description: <init>(1:0){}
|
||||
constructor(z: Z) /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: Test2.TestInner#<init>(1:0;kotlin.Int){}
|
||||
// Public signature: /Test2.TestInner.<init>|7281397193015694517[0]
|
||||
@@ -165,6 +166,7 @@ class Test4<T : Any?> {
|
||||
// Public signature: /Test4.<init>|-5182794243525578284[0]
|
||||
// Public signature debug description: <init>(kotlin.Int){}
|
||||
constructor(x: Int) /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: Test4#<init>(kotlin.Int;kotlin.Int){}
|
||||
// Public signature: /Test4.<init>|-7691762014320324121[0]
|
||||
|
||||
+1
@@ -37,6 +37,7 @@ data class Test<T : Any?> {
|
||||
// Public signature: /Test.<init>|-7411275398527089511[0]
|
||||
// Public signature debug description: <init>(1:0;kotlin.String){}
|
||||
constructor(x: T, y: String) /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Test#component1(){}1:0
|
||||
// Public signature: /Test.component1|2393470133763651536[0]
|
||||
|
||||
+1
-1
@@ -7,6 +7,7 @@ class Test<TT : Any?> : IBase<TT> {
|
||||
// Public signature: /Test.<init>|-3017997426280513504[0]
|
||||
// Public signature debug description: <init>(IBase<1:0>){}
|
||||
constructor(impl: IBase<TT>) /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: Test#foo(kotlin.Int){}
|
||||
// Public signature: /Test.foo|-104159190164110731[0]
|
||||
@@ -40,7 +41,6 @@ class Test<TT : Any?> : IBase<TT> {
|
||||
// Mangled name: IBase
|
||||
// Public signature: /IBase|null[0]
|
||||
interface IBase<T : Any?> {
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: IBase#foo(kotlin.Int){}
|
||||
// Public signature: /IBase.foo|-104159190164110731[0]
|
||||
|
||||
@@ -13,5 +13,4 @@ class C {
|
||||
|
||||
@Suppress(names = ["TOPLEVEL_TYPEALIASES_ONLY"])
|
||||
typealias TestNested = String
|
||||
|
||||
}
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
// Mangled name: IA
|
||||
// Public signature: /IA|null[0]
|
||||
interface IA {
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: IA#get(kotlin.String){}kotlin.Int
|
||||
// Public signature: /IA.get|8115151130332405730[0]
|
||||
@@ -19,7 +18,6 @@ interface IA {
|
||||
// Mangled name: IB
|
||||
// Public signature: /IB|null[0]
|
||||
interface IB {
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: IB#set@IA(kotlin.String;kotlin.Int){}
|
||||
// Public signature: /IB.set|-3878244067281394744[0]
|
||||
|
||||
Vendored
-1
@@ -4,7 +4,6 @@ fun interface IFoo {
|
||||
}
|
||||
|
||||
fun interface IFoo2 : IFoo {
|
||||
|
||||
}
|
||||
|
||||
object A {
|
||||
|
||||
-1
@@ -4,7 +4,6 @@ fun interface IFoo {
|
||||
}
|
||||
|
||||
fun interface IFoo2 : IFoo {
|
||||
|
||||
}
|
||||
|
||||
object A {
|
||||
|
||||
Vendored
-2
@@ -2,7 +2,6 @@
|
||||
// Mangled name: IFoo
|
||||
// Public signature: /IFoo|null[0]
|
||||
fun interface IFoo {
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: IFoo#foo(kotlin.Int){}
|
||||
// Public signature: /IFoo.foo|-104159190164110731[0]
|
||||
@@ -15,7 +14,6 @@ fun interface IFoo {
|
||||
// Mangled name: IFoo2
|
||||
// Public signature: /IFoo2|null[0]
|
||||
fun interface IFoo2 : IFoo {
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: IFoo2#foo(kotlin.Int){}
|
||||
// Public signature: /IFoo2.foo|-104159190164110731[0]
|
||||
|
||||
-1
@@ -2,7 +2,6 @@
|
||||
// Mangled name: IFoo
|
||||
// Public signature: /IFoo|null[0]
|
||||
fun interface IFoo {
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: IFoo#foo(kotlin.Int){}
|
||||
// Public signature: /IFoo.foo|-104159190164110731[0]
|
||||
|
||||
Vendored
-1
@@ -2,7 +2,6 @@
|
||||
// Mangled name: SuspendRunnable
|
||||
// Public signature: /SuspendRunnable|null[0]
|
||||
fun interface SuspendRunnable {
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: SuspendRunnable#invoke(){}
|
||||
// Public signature: /SuspendRunnable.invoke|-4663091332620260873[0]
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
interface IA {
|
||||
|
||||
}
|
||||
|
||||
interface IB {
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
interface IA {
|
||||
|
||||
}
|
||||
|
||||
interface IB {
|
||||
|
||||
@@ -2,14 +2,12 @@
|
||||
// Mangled name: IA
|
||||
// Public signature: /IA|null[0]
|
||||
interface IA {
|
||||
|
||||
}
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: IB
|
||||
// Public signature: /IB|null[0]
|
||||
interface IB {
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: IB#compareTo@IA(IA){}kotlin.Int
|
||||
// Public signature: /IB.compareTo|-7259969497814497426[0]
|
||||
|
||||
@@ -7,6 +7,7 @@ abstract enum class X : Enum<X> {
|
||||
// Public signature: /X.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
private constructor() /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: X.B
|
||||
// Public signature: /X.B|null[0]
|
||||
@@ -51,6 +52,7 @@ abstract enum class X : Enum<X> {
|
||||
// Public signature: /X.B.<EEC>.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
private constructor() /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: X.B#compareTo(X){}kotlin.Int
|
||||
// Public signature: /X.B.<EEC>.compareTo|-4945307460605318887[0]
|
||||
|
||||
@@ -7,6 +7,7 @@ enum class A : Enum<A> {
|
||||
// Public signature: /A.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
private constructor() /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: A.V1
|
||||
// Public signature: /A.V1|null[0]
|
||||
|
||||
@@ -34,7 +34,6 @@ class IntCell {
|
||||
// Mangled name: IReceiver
|
||||
// Public signature: /IReceiver|null[0]
|
||||
interface IReceiver {
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: IReceiver#hasNext@IntCell(){}kotlin.Boolean
|
||||
// Public signature: /IReceiver.hasNext|8807543829800046753[0]
|
||||
|
||||
Vendored
-1
@@ -2,7 +2,6 @@
|
||||
// Mangled name: IRunnable
|
||||
// Public signature: /IRunnable|null[0]
|
||||
fun interface IRunnable {
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: IRunnable#run(){}
|
||||
// Public signature: /IRunnable.run|-991178076551934874[0]
|
||||
|
||||
Vendored
-1
@@ -2,7 +2,6 @@
|
||||
// Mangled name: Foo
|
||||
// Public signature: /Foo|null[0]
|
||||
fun interface Foo {
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Foo#invoke(){}kotlin.String
|
||||
// Public signature: /Foo.invoke|8861605044563078664[0]
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user