[klib] Test signature descriptions in irText tests
KT-59486
This commit is contained in:
committed by
Space Team
parent
6142d75bb4
commit
5e63f7627f
Vendored
+8
@@ -5,6 +5,7 @@ class C {
|
||||
// CHECK:
|
||||
// Mangled name: C#<init>(){}
|
||||
// Public signature: /C.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
}
|
||||
@@ -12,35 +13,42 @@ class C {
|
||||
// CHECK:
|
||||
// Mangled name: #extensionBoth@C(kotlin.Int;kotlin.String;kotlin.Array<out|kotlin.String>...){}
|
||||
// Public signature: /extensionBoth|-2642733408340966988[0]
|
||||
// Public signature debug description: extensionBoth@C(kotlin.Int;kotlin.String;kotlin.Array<out|kotlin.String>...){}
|
||||
fun C.extensionBoth(i: Int, s: String, vararg t: String): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #extensionDefault@C(kotlin.Int;kotlin.String){}
|
||||
// Public signature: /extensionDefault|-2068501962137011033[0]
|
||||
// Public signature debug description: extensionDefault@C(kotlin.Int;kotlin.String){}
|
||||
fun C.extensionDefault(i: Int, s: String): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #extensionVararg@C(kotlin.Int;kotlin.Array<out|kotlin.String>...){}
|
||||
// Public signature: /extensionVararg|6428350929057458618[0]
|
||||
// Public signature debug description: extensionVararg@C(kotlin.Int;kotlin.Array<out|kotlin.String>...){}
|
||||
fun C.extensionVararg(i: Int, vararg s: String): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #testExtensionBoth(){}
|
||||
// Public signature: /testExtensionBoth|-9046612088279185180[0]
|
||||
// Public signature debug description: testExtensionBoth(){}
|
||||
fun testExtensionBoth(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #testExtensionDefault(){}
|
||||
// Public signature: /testExtensionDefault|412398110121818525[0]
|
||||
// Public signature debug description: testExtensionDefault(){}
|
||||
fun testExtensionDefault(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #testExtensionVararg(){}
|
||||
// Public signature: /testExtensionVararg|3578031816468213112[0]
|
||||
// Public signature debug description: testExtensionVararg(){}
|
||||
fun testExtensionVararg(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #use(kotlin.Function2<C,kotlin.Int,kotlin.Unit>){}
|
||||
// Public signature: /use|-4652353913536286192[0]
|
||||
// Public signature debug description: use(kotlin.Function2<C,kotlin.Int,kotlin.Unit>){}
|
||||
fun use(f: @ExtensionFunctionType Function2<C, Int, Unit>): Unit
|
||||
|
||||
|
||||
Vendored
+12
@@ -1,54 +1,66 @@
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #fn0(){}kotlin.Int
|
||||
// Public signature: /fn0|-3364598877649792431[0]
|
||||
// Public signature debug description: fn0(){}kotlin.Int
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #fn0(){}
|
||||
// Public signature: /fn0|-2043665824144278007[0]
|
||||
// Public signature debug description: fn0(){}
|
||||
fun fn0(): Int
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #fn1(kotlin.Int){}kotlin.Int
|
||||
// Public signature: /fn1|-2634385227090463147[0]
|
||||
// Public signature debug description: fn1(kotlin.Int){}kotlin.Int
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #fn1(kotlin.Int){}
|
||||
// Public signature: /fn1|-2712608382334902272[0]
|
||||
// Public signature debug description: fn1(kotlin.Int){}
|
||||
fun fn1(x: Int): Int
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #fnv(kotlin.IntArray...){}kotlin.Int
|
||||
// Public signature: /fnv|7629192376934713891[0]
|
||||
// Public signature debug description: fnv(kotlin.IntArray...){}kotlin.Int
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #fnv(kotlin.IntArray...){}
|
||||
// Public signature: /fnv|2422608309256790418[0]
|
||||
// Public signature debug description: fnv(kotlin.IntArray...){}
|
||||
fun fnv(vararg xs: Int): Int
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #test0(){}
|
||||
// Public signature: /test0|-2819007353171228053[0]
|
||||
// Public signature debug description: test0(){}
|
||||
fun test0(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #test1(){}
|
||||
// Public signature: /test1|4297044443957252634[0]
|
||||
// Public signature debug description: test1(){}
|
||||
fun test1(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #testV0(){}
|
||||
// Public signature: /testV0|-8921284502747635947[0]
|
||||
// Public signature debug description: testV0(){}
|
||||
fun testV0(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #testV1(){}
|
||||
// Public signature: /testV1|3830223062623947245[0]
|
||||
// Public signature debug description: testV1(){}
|
||||
fun testV1(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #useUnit0(kotlin.Function0<kotlin.Unit>){}
|
||||
// Public signature: /useUnit0|5614361260644496254[0]
|
||||
// Public signature debug description: useUnit0(kotlin.Function0<kotlin.Unit>){}
|
||||
fun useUnit0(fn: Function0<Unit>): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #useUnit1(kotlin.Function1<kotlin.Int,kotlin.Unit>){}
|
||||
// Public signature: /useUnit1|-3238349347224683286[0]
|
||||
// Public signature debug description: useUnit1(kotlin.Function1<kotlin.Int,kotlin.Unit>){}
|
||||
fun useUnit1(fn: Function1<Int, Unit>): Unit
|
||||
|
||||
|
||||
Vendored
+4
@@ -3,18 +3,22 @@ package test
|
||||
// CHECK:
|
||||
// Mangled name: test#foo(kotlin.Function0<kotlin.Unit>){}
|
||||
// Public signature: test/foo|251397761749529488[0]
|
||||
// Public signature debug description: foo(kotlin.Function0<kotlin.Unit>){}
|
||||
inline fun foo(x: Function0<Unit>): Unit
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: test#id@kotlin.String(kotlin.String;kotlin.IntArray...){}kotlin.String
|
||||
// Public signature: test/id|-8103162913932729860[0]
|
||||
// Public signature debug description: id@kotlin.String(kotlin.String;kotlin.IntArray...){}kotlin.String
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: test#id@kotlin.String(kotlin.String;kotlin.IntArray...){}
|
||||
// Public signature: test/id|58840929144244075[0]
|
||||
// Public signature debug description: id@kotlin.String(kotlin.String;kotlin.IntArray...){}
|
||||
fun String.id(s: String, vararg xs: Int): String
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: test#test(){}
|
||||
// Public signature: test/test|6620506149988718649[0]
|
||||
// Public signature debug description: test(){}
|
||||
fun test(): Unit
|
||||
|
||||
|
||||
Vendored
+12
@@ -11,30 +11,37 @@ class Foo<T : Any?> {
|
||||
// CHECK:
|
||||
// Mangled name: test.Foo.Inner{}a
|
||||
// Public signature: test/Foo.Inner.a|-1200697420457237799[0]
|
||||
// Public signature debug description: {}a
|
||||
val a: T
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: test.Foo.Inner#<get-a>(){}2:0
|
||||
// Public signature: test/Foo.Inner.a.<get-a>|6634660852321063487[0]
|
||||
// Public signature debug description: <get-a>(){}2:0
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: test.Foo.Inner#<get-a>(){}
|
||||
// Public signature: test/Foo.Inner.a.<get-a>|6785176174175479410[0]
|
||||
// Public signature debug description: <get-a>(){}
|
||||
get
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: test.Foo.Inner{}b
|
||||
// Public signature: test/Foo.Inner.b|772347207915745207[0]
|
||||
// Public signature debug description: {}b
|
||||
val b: P
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: test.Foo.Inner#<get-b>(){}1:0
|
||||
// Public signature: test/Foo.Inner.b.<get-b>|-8930371436958509614[0]
|
||||
// Public signature debug description: <get-b>(){}1:0
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: test.Foo.Inner#<get-b>(){}
|
||||
// Public signature: test/Foo.Inner.b.<get-b>|812004636995167743[0]
|
||||
// Public signature debug description: <get-b>(){}
|
||||
get
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: test.Foo.Inner#<init>(2:0;1:0){}
|
||||
// Public signature: test/Foo.Inner.<init>|-2512702059187080850[0]
|
||||
// Public signature debug description: <init>(2:0;1:0){}
|
||||
constructor(a: T, b: P) /* primary */
|
||||
|
||||
}
|
||||
@@ -42,6 +49,7 @@ class Foo<T : Any?> {
|
||||
// CHECK:
|
||||
// Mangled name: test.Foo#<init>(){}
|
||||
// Public signature: test/Foo.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
}
|
||||
@@ -49,16 +57,20 @@ class Foo<T : Any?> {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: test#box(){}kotlin.String
|
||||
// Public signature: test/box|-9347091776561469[0]
|
||||
// Public signature debug description: box(){}kotlin.String
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: test#box(){}
|
||||
// Public signature: test/box|2173511048851971368[0]
|
||||
// Public signature debug description: box(){}
|
||||
fun box(): String
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: test#foo(0:0;0:1;kotlin.Function2<0:0,0:1,test.Foo.Inner<0:1,0:0>>){0§<kotlin.Any?>;1§<kotlin.Any?>}test.Foo.Inner<0:1,0:0>
|
||||
// Public signature: test/foo|-4791591590952018519[0]
|
||||
// Public signature debug description: foo(0:0;0:1;kotlin.Function2<0:0,0:1,test.Foo.Inner<0:1,0:0>>){0§<kotlin.Any?>;1§<kotlin.Any?>}test.Foo.Inner<0:1,0:0>
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: test#foo(0:0;0:1;kotlin.Function2<0:0,0:1,test.Foo.Inner<0:1,0:0>>){0§<kotlin.Any?>;1§<kotlin.Any?>}
|
||||
// Public signature: test/foo|-2625863985883503743[0]
|
||||
// Public signature debug description: foo(0:0;0:1;kotlin.Function2<0:0,0:1,test.Foo.Inner<0:1,0:0>>){0§<kotlin.Any?>;1§<kotlin.Any?>}
|
||||
inline fun <A : Any?, B : Any?> foo(a: A, b: B, x: Function2<A, B, Inner<B, A>>): Inner<B, A>
|
||||
|
||||
|
||||
Vendored
+18
@@ -6,6 +6,7 @@ fun interface IFoo {
|
||||
// CHECK:
|
||||
// Mangled name: IFoo#foo(kotlin.Int){}
|
||||
// Public signature: /IFoo.foo|-104159190164110731[0]
|
||||
// Public signature debug description: foo(kotlin.Int){}
|
||||
abstract fun foo(i: Int): Unit
|
||||
|
||||
}
|
||||
@@ -18,6 +19,7 @@ fun interface IFoo2 : IFoo {
|
||||
// CHECK:
|
||||
// Mangled name: IFoo2#foo(kotlin.Int){}
|
||||
// Public signature: /IFoo2.foo|-104159190164110731[0]
|
||||
// Public signature debug description: foo(kotlin.Int){}
|
||||
abstract /* fake */ override fun foo(i: Int): Unit
|
||||
|
||||
}
|
||||
@@ -29,6 +31,7 @@ object A {
|
||||
// CHECK:
|
||||
// Mangled name: A#<init>(){}
|
||||
// Public signature: /A.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
private constructor() /* primary */
|
||||
|
||||
}
|
||||
@@ -40,6 +43,7 @@ object B {
|
||||
// CHECK:
|
||||
// Mangled name: B#<init>(){}
|
||||
// Public signature: /B.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
private constructor() /* primary */
|
||||
|
||||
}
|
||||
@@ -47,64 +51,78 @@ object B {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #get@A(IFoo){}kotlin.Int
|
||||
// Public signature: /get|-3861638864893341854[0]
|
||||
// Public signature debug description: get@A(IFoo){}kotlin.Int
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #get@A(IFoo){}
|
||||
// Public signature: /get|-2254127918202281135[0]
|
||||
// Public signature debug description: get@A(IFoo){}
|
||||
operator fun A.get(i: IFoo): Int
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #get@B(IFoo){}kotlin.Int
|
||||
// Public signature: /get|-7877609025632018899[0]
|
||||
// Public signature debug description: get@B(IFoo){}kotlin.Int
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #get@B(IFoo){}
|
||||
// Public signature: /get|4390292684640882975[0]
|
||||
// Public signature debug description: get@B(IFoo){}
|
||||
operator fun B.get(i: IFoo): Int
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #set@A(IFoo;kotlin.Int){}
|
||||
// Public signature: /set|2215990406215766902[0]
|
||||
// Public signature debug description: set@A(IFoo;kotlin.Int){}
|
||||
operator fun A.set(i: IFoo, newValue: Int): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #set@B(IFoo2;kotlin.Int){}
|
||||
// Public signature: /set|-3309277558159597845[0]
|
||||
// Public signature debug description: set@B(IFoo2;kotlin.Int){}
|
||||
operator fun B.set(i: IFoo2, newValue: Int): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #test1(){}
|
||||
// Public signature: /test1|4297044443957252634[0]
|
||||
// Public signature debug description: test1(){}
|
||||
fun test1(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #test2(){}
|
||||
// Public signature: /test2|4279114864133353152[0]
|
||||
// Public signature debug description: test2(){}
|
||||
fun test2(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #test3(kotlin.Function1<kotlin.Int,kotlin.Unit>){}
|
||||
// Public signature: /test3|-2027394029153051749[0]
|
||||
// Public signature debug description: test3(kotlin.Function1<kotlin.Int,kotlin.Unit>){}
|
||||
fun test3(fn: Function1<Int, Unit>): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #test4(kotlin.Function1<kotlin.Int,kotlin.Unit>){}
|
||||
// Public signature: /test4|5380102774610726252[0]
|
||||
// Public signature debug description: test4(kotlin.Function1<kotlin.Int,kotlin.Unit>){}
|
||||
fun test4(fn: Function1<Int, Unit>): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #test5(kotlin.Any){}
|
||||
// Public signature: /test5|4504681808078971124[0]
|
||||
// Public signature debug description: test5(kotlin.Any){}
|
||||
fun test5(a: Any): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #test6(kotlin.Any){}
|
||||
// Public signature: /test6|-7590017673454141671[0]
|
||||
// Public signature debug description: test6(kotlin.Any){}
|
||||
fun test6(a: Any): Unit
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #withVararg(kotlin.IntArray...){}kotlin.Int
|
||||
// Public signature: /withVararg|2262699225692856772[0]
|
||||
// Public signature debug description: withVararg(kotlin.IntArray...){}kotlin.Int
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #withVararg(kotlin.IntArray...){}
|
||||
// Public signature: /withVararg|2511032413940817176[0]
|
||||
// Public signature debug description: withVararg(kotlin.IntArray...){}
|
||||
fun withVararg(vararg xs: Int): Int
|
||||
|
||||
|
||||
+11
@@ -5,6 +5,7 @@ class C {
|
||||
// CHECK:
|
||||
// Mangled name: C#<init>(kotlin.IntArray...){}
|
||||
// Public signature: /C.<init>|3304157197881351514[0]
|
||||
// Public signature debug description: <init>(kotlin.IntArray...){}
|
||||
constructor(vararg xs: Int) /* primary */
|
||||
|
||||
}
|
||||
@@ -20,6 +21,7 @@ class Outer {
|
||||
// CHECK:
|
||||
// Mangled name: Outer.Inner#<init>(kotlin.IntArray...){}
|
||||
// Public signature: /Outer.Inner.<init>|3304157197881351514[0]
|
||||
// Public signature debug description: <init>(kotlin.IntArray...){}
|
||||
constructor(vararg xs: Int) /* primary */
|
||||
|
||||
}
|
||||
@@ -27,6 +29,7 @@ class Outer {
|
||||
// CHECK:
|
||||
// Mangled name: Outer#<init>(){}
|
||||
// Public signature: /Outer.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
}
|
||||
@@ -34,32 +37,40 @@ class Outer {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #testConstructor(){}kotlin.Any
|
||||
// Public signature: /testConstructor|-8265230471442733237[0]
|
||||
// Public signature debug description: testConstructor(){}kotlin.Any
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #testConstructor(){}
|
||||
// Public signature: /testConstructor|2230958656416821461[0]
|
||||
// Public signature debug description: testConstructor(){}
|
||||
fun testConstructor(): Any
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #testInnerClassConstructor(Outer){}kotlin.Any
|
||||
// Public signature: /testInnerClassConstructor|7325530570703424818[0]
|
||||
// Public signature debug description: testInnerClassConstructor(Outer){}kotlin.Any
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #testInnerClassConstructor(Outer){}
|
||||
// Public signature: /testInnerClassConstructor|8390561746269240962[0]
|
||||
// Public signature debug description: testInnerClassConstructor(Outer){}
|
||||
fun testInnerClassConstructor(outer: Outer): Any
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #testInnerClassConstructorCapturingOuter(){}kotlin.Any
|
||||
// Public signature: /testInnerClassConstructorCapturingOuter|-5884857333600375021[0]
|
||||
// Public signature debug description: testInnerClassConstructorCapturingOuter(){}kotlin.Any
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #testInnerClassConstructorCapturingOuter(){}
|
||||
// Public signature: /testInnerClassConstructorCapturingOuter|4579094401940051727[0]
|
||||
// Public signature debug description: testInnerClassConstructorCapturingOuter(){}
|
||||
fun testInnerClassConstructorCapturingOuter(): Any
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #use(kotlin.Function1<kotlin.Int,kotlin.Any>){}kotlin.Any
|
||||
// Public signature: /use|1574437315632336940[0]
|
||||
// Public signature debug description: use(kotlin.Function1<kotlin.Int,kotlin.Any>){}kotlin.Any
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #use(kotlin.Function1<kotlin.Int,kotlin.Any>){}
|
||||
// Public signature: /use|-5469365388493164049[0]
|
||||
// Public signature debug description: use(kotlin.Function1<kotlin.Int,kotlin.Any>){}
|
||||
fun use(fn: Function1<Int, Any>): Any
|
||||
|
||||
|
||||
+15
@@ -5,18 +5,22 @@ class C {
|
||||
// CHECK:
|
||||
// Mangled name: C{}x
|
||||
// Public signature: /C.x|-8060530855978347579[0]
|
||||
// Public signature debug description: {}x
|
||||
val x: String
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: C#<get-x>(){}kotlin.String
|
||||
// Public signature: /C.x.<get-x>|316111172223894646[0]
|
||||
// Public signature debug description: <get-x>(){}kotlin.String
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: C#<get-x>(){}
|
||||
// Public signature: /C.x.<get-x>|1482705010654679335[0]
|
||||
// Public signature debug description: <get-x>(){}
|
||||
get
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: C#<init>(kotlin.String){}
|
||||
// Public signature: /C.<init>|1280618353163213788[0]
|
||||
// Public signature debug description: <init>(kotlin.String){}
|
||||
constructor(x: String) /* primary */
|
||||
|
||||
}
|
||||
@@ -24,49 +28,60 @@ class C {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #defaultsOnly(kotlin.String){}kotlin.Int
|
||||
// Public signature: /defaultsOnly|4494765395390675935[0]
|
||||
// Public signature debug description: defaultsOnly(kotlin.String){}kotlin.Int
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #defaultsOnly(kotlin.String){}
|
||||
// Public signature: /defaultsOnly|-7244666068765377321[0]
|
||||
// Public signature debug description: defaultsOnly(kotlin.String){}
|
||||
fun defaultsOnly(x: String): Int
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #regularAndDefaults(kotlin.String;kotlin.String){}kotlin.Int
|
||||
// Public signature: /regularAndDefaults|5576798369123640728[0]
|
||||
// Public signature debug description: regularAndDefaults(kotlin.String;kotlin.String){}kotlin.Int
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #regularAndDefaults(kotlin.String;kotlin.String){}
|
||||
// Public signature: /regularAndDefaults|-7839345972361254384[0]
|
||||
// Public signature debug description: regularAndDefaults(kotlin.String;kotlin.String){}
|
||||
fun regularAndDefaults(x1: String, x2: String): Int
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #testCtorStar(){}
|
||||
// Public signature: /testCtorStar|-4590755602285114659[0]
|
||||
// Public signature debug description: testCtorStar(){}
|
||||
fun testCtorStar(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #testDefaultsOnlyStar(){}
|
||||
// Public signature: /testDefaultsOnlyStar|6030377692452868527[0]
|
||||
// Public signature debug description: testDefaultsOnlyStar(){}
|
||||
fun testDefaultsOnlyStar(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #testRegularAndDefaultsStar(){}
|
||||
// Public signature: /testRegularAndDefaultsStar|-2047981816963711456[0]
|
||||
// Public signature debug description: testRegularAndDefaultsStar(){}
|
||||
fun testRegularAndDefaultsStar(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #testVarargsStar(){}
|
||||
// Public signature: /testVarargsStar|7637113077643006205[0]
|
||||
// Public signature debug description: testVarargsStar(){}
|
||||
fun testVarargsStar(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #useKCallableStar(kotlin.reflect.KCallable<*>){}
|
||||
// Public signature: /useKCallableStar|-9105337902957696086[0]
|
||||
// Public signature debug description: useKCallableStar(kotlin.reflect.KCallable<*>){}
|
||||
fun useKCallableStar(fn: KCallable<*>): Unit
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #varargs(kotlin.Array<out|kotlin.String>...){}kotlin.Int
|
||||
// Public signature: /varargs|-1029748167171123081[0]
|
||||
// Public signature debug description: varargs(kotlin.Array<out|kotlin.String>...){}kotlin.Int
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #varargs(kotlin.Array<out|kotlin.String>...){}
|
||||
// Public signature: /varargs|1577881396515650516[0]
|
||||
// Public signature debug description: varargs(kotlin.Array<out|kotlin.String>...){}
|
||||
fun varargs(vararg xs: String): Int
|
||||
|
||||
|
||||
+15
@@ -5,18 +5,22 @@ open class L<LL : Any?> {
|
||||
// CHECK:
|
||||
// Mangled name: L{}ll
|
||||
// Public signature: /L.ll|-6205844342928411776[0]
|
||||
// Public signature debug description: {}ll
|
||||
val ll: LL
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: L#<get-ll>(){}1:0
|
||||
// Public signature: /L.ll.<get-ll>|3292228176841932804[0]
|
||||
// Public signature debug description: <get-ll>(){}1:0
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: L#<get-ll>(){}
|
||||
// Public signature: /L.ll.<get-ll>|-3038615916069329440[0]
|
||||
// Public signature debug description: <get-ll>(){}
|
||||
get
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: L#<init>(1:0){}
|
||||
// Public signature: /L.<init>|-8731461708390519279[0]
|
||||
// Public signature debug description: <init>(1:0){}
|
||||
constructor(ll: LL) /* primary */
|
||||
|
||||
}
|
||||
@@ -28,18 +32,22 @@ class Rec<T : Any?> {
|
||||
// CHECK:
|
||||
// Mangled name: Rec{}rt
|
||||
// Public signature: /Rec.rt|-2445570895924930609[0]
|
||||
// Public signature debug description: {}rt
|
||||
val rt: T
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Rec#<get-rt>(){}1:0
|
||||
// Public signature: /Rec.rt.<get-rt>|4833941673195700440[0]
|
||||
// Public signature debug description: <get-rt>(){}1:0
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: Rec#<get-rt>(){}
|
||||
// Public signature: /Rec.rt.<get-rt>|2938093614484966158[0]
|
||||
// Public signature debug description: <get-rt>(){}
|
||||
get
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: Rec#<init>(1:0){}
|
||||
// Public signature: /Rec.<init>|-8731461708390519279[0]
|
||||
// Public signature debug description: <init>(1:0){}
|
||||
constructor(rt: T) /* primary */
|
||||
|
||||
}
|
||||
@@ -47,28 +55,35 @@ class Rec<T : Any?> {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #fn@Rec<0:0>(){0§<kotlin.Any?>}L<0:0>
|
||||
// Public signature: /fn|458419256100465624[0]
|
||||
// Public signature debug description: fn@Rec<0:0>(){0§<kotlin.Any?>}L<0:0>
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #fn@Rec<0:0>(){0§<kotlin.Any?>}
|
||||
// Public signature: /fn|-2196095281162048366[0]
|
||||
// Public signature debug description: fn@Rec<0:0>(){0§<kotlin.Any?>}
|
||||
fun <FT : Any?> Rec<FT>.fn(): L<FT>
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #foo2(0:0;0:1;kotlin.Function2<0:0,0:1,0:2>){0§<kotlin.Any?>;1§<kotlin.Any?>;2§<kotlin.Any?>}0:2
|
||||
// Public signature: /foo2|-6186734139379933811[0]
|
||||
// Public signature debug description: foo2(0:0;0:1;kotlin.Function2<0:0,0:1,0:2>){0§<kotlin.Any?>;1§<kotlin.Any?>;2§<kotlin.Any?>}0:2
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #foo2(0:0;0:1;kotlin.Function2<0:0,0:1,0:2>){0§<kotlin.Any?>;1§<kotlin.Any?>;2§<kotlin.Any?>}
|
||||
// Public signature: /foo2|6240807387010061447[0]
|
||||
// Public signature debug description: foo2(0:0;0:1;kotlin.Function2<0:0,0:1,0:2>){0§<kotlin.Any?>;1§<kotlin.Any?>;2§<kotlin.Any?>}
|
||||
fun <T1 : Any?, T2 : Any?, R : Any?> foo2(t1: T1, t2: T2, bb: Function2<T1, T2, R>): R
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: @Rec<0:0>{0§<kotlin.Any?>}p
|
||||
// Public signature: /p|1337333823224750046[0]
|
||||
// Public signature debug description: @Rec<0:0>{0§<kotlin.Any?>}p
|
||||
val <PT : Any?> Rec<PT>.p: L<PT>
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #<get-p>@Rec<0:0>(){0§<kotlin.Any?>}L<0:0>
|
||||
// Public signature: /p.<get-p>|-439714386562020387[0]
|
||||
// Public signature debug description: <get-p>@Rec<0:0>(){0§<kotlin.Any?>}L<0:0>
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #<get-p>@Rec<0:0>(){0§<kotlin.Any?>}
|
||||
// Public signature: /p.<get-p>|-3789410829860408186[0]
|
||||
// Public signature debug description: <get-p>@Rec<0:0>(){0§<kotlin.Any?>}
|
||||
get(): L<PT>
|
||||
|
||||
|
||||
+11
@@ -1,25 +1,31 @@
|
||||
// CHECK:
|
||||
// Mangled name: {}test1
|
||||
// Public signature: /test1|6005685442305498193[0]
|
||||
// Public signature debug description: {}test1
|
||||
val test1: KFunction1<A<String>, Unit>
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #<get-test1>(){}kotlin.reflect.KFunction1<A<kotlin.String>,kotlin.Unit>
|
||||
// Public signature: /test1.<get-test1>|-8244328064209217442[0]
|
||||
// Public signature debug description: <get-test1>(){}kotlin.reflect.KFunction1<A<kotlin.String>,kotlin.Unit>
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #<get-test1>(){}
|
||||
// Public signature: /test1.<get-test1>|-5735092642142423279[0]
|
||||
// Public signature debug description: <get-test1>(){}
|
||||
get
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: {}test2
|
||||
// Public signature: /test2|2517758057000911509[0]
|
||||
// Public signature debug description: {}test2
|
||||
val test2: KProperty1<A<String>, Int>
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #<get-test2>(){}kotlin.reflect.KProperty1<A<kotlin.String>,kotlin.Int>
|
||||
// Public signature: /test2.<get-test2>|7010452964682738138[0]
|
||||
// Public signature debug description: <get-test2>(){}kotlin.reflect.KProperty1<A<kotlin.String>,kotlin.Int>
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #<get-test2>(){}
|
||||
// Public signature: /test2.<get-test2>|-5218942532816206869[0]
|
||||
// Public signature debug description: <get-test2>(){}
|
||||
get
|
||||
|
||||
// CHECK:
|
||||
@@ -29,23 +35,28 @@ class A<T : Any?> {
|
||||
// CHECK:
|
||||
// Mangled name: A{}bar
|
||||
// Public signature: /A.bar|-7864284097863469857[0]
|
||||
// Public signature debug description: {}bar
|
||||
val bar: Int
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: A#<get-bar>(){}kotlin.Int
|
||||
// Public signature: /A.bar.<get-bar>|-7403724005139201014[0]
|
||||
// Public signature debug description: <get-bar>(){}kotlin.Int
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: A#<get-bar>(){}
|
||||
// Public signature: /A.bar.<get-bar>|6880642144337645699[0]
|
||||
// Public signature debug description: <get-bar>(){}
|
||||
get
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: A#<init>(){}
|
||||
// Public signature: /A.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: A#foo(){}
|
||||
// Public signature: /A.foo|-1041209573719867811[0]
|
||||
// Public signature debug description: foo(){}
|
||||
fun foo(): Unit
|
||||
|
||||
}
|
||||
|
||||
+18
@@ -3,49 +3,61 @@ package test
|
||||
// CHECK:
|
||||
// Mangled name: test{}test1
|
||||
// Public signature: test/test1|6005685442305498193[0]
|
||||
// Public signature debug description: {}test1
|
||||
val test1: KProperty0<String>
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: test#<get-test1>(){}kotlin.reflect.KProperty0<kotlin.String>
|
||||
// Public signature: test/test1.<get-test1>|-8479602068466013638[0]
|
||||
// Public signature debug description: <get-test1>(){}kotlin.reflect.KProperty0<kotlin.String>
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: test#<get-test1>(){}
|
||||
// Public signature: test/test1.<get-test1>|-5735092642142423279[0]
|
||||
// Public signature debug description: <get-test1>(){}
|
||||
get
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: test{}test1a
|
||||
// Public signature: test/test1a|-8868958804106173806[0]
|
||||
// Public signature debug description: {}test1a
|
||||
val test1a: KProperty0<String>
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: test#<get-test1a>(){}kotlin.reflect.KProperty0<kotlin.String>
|
||||
// Public signature: test/test1a.<get-test1a>|-8261804722444217546[0]
|
||||
// Public signature debug description: <get-test1a>(){}kotlin.reflect.KProperty0<kotlin.String>
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: test#<get-test1a>(){}
|
||||
// Public signature: test/test1a.<get-test1a>|-4215972589981113049[0]
|
||||
// Public signature debug description: <get-test1a>(){}
|
||||
get
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: test{}test2
|
||||
// Public signature: test/test2|2517758057000911509[0]
|
||||
// Public signature debug description: {}test2
|
||||
val test2: KFunction0<String>
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: test#<get-test2>(){}kotlin.reflect.KFunction0<kotlin.String>
|
||||
// Public signature: test/test2.<get-test2>|1526537700116765606[0]
|
||||
// Public signature debug description: <get-test2>(){}kotlin.reflect.KFunction0<kotlin.String>
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: test#<get-test2>(){}
|
||||
// Public signature: test/test2.<get-test2>|-5218942532816206869[0]
|
||||
// Public signature debug description: <get-test2>(){}
|
||||
get
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: test{}test2a
|
||||
// Public signature: test/test2a|-1407081977148194425[0]
|
||||
// Public signature debug description: {}test2a
|
||||
val test2a: KFunction0<String>
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: test#<get-test2a>(){}kotlin.reflect.KFunction0<kotlin.String>
|
||||
// Public signature: test/test2a.<get-test2a>|-1352924861862764837[0]
|
||||
// Public signature debug description: <get-test2a>(){}kotlin.reflect.KFunction0<kotlin.String>
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: test#<get-test2a>(){}
|
||||
// Public signature: test/test2a.<get-test2a>|7164864074197438240[0]
|
||||
// Public signature debug description: <get-test2a>(){}
|
||||
get
|
||||
|
||||
// CHECK:
|
||||
@@ -55,26 +67,32 @@ object Foo {
|
||||
// CHECK:
|
||||
// Mangled name: test.Foo{}a
|
||||
// Public signature: test/Foo.a|-1200697420457237799[0]
|
||||
// Public signature debug description: {}a
|
||||
val a: String
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: test.Foo#<get-a>(){}kotlin.String
|
||||
// Public signature: test/Foo.a.<get-a>|-6318309956076983327[0]
|
||||
// Public signature debug description: <get-a>(){}kotlin.String
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: test.Foo#<get-a>(){}
|
||||
// Public signature: test/Foo.a.<get-a>|6785176174175479410[0]
|
||||
// Public signature debug description: <get-a>(){}
|
||||
get
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: test.Foo#<init>(){}
|
||||
// Public signature: test/Foo.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
private constructor() /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: test.Foo#foo(){}kotlin.String
|
||||
// Public signature: test/Foo.foo|485335955883620819[0]
|
||||
// Public signature debug description: foo(){}kotlin.String
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: test.Foo#foo(){}
|
||||
// Public signature: test/Foo.foo|-1041209573719867811[0]
|
||||
// Public signature debug description: foo(){}
|
||||
fun foo(): String
|
||||
|
||||
}
|
||||
|
||||
+12
@@ -5,18 +5,22 @@ class C {
|
||||
// CHECK:
|
||||
// Mangled name: C{}x
|
||||
// Public signature: /C.x|-8060530855978347579[0]
|
||||
// Public signature debug description: {}x
|
||||
val x: String
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: C#<get-x>(){}kotlin.String
|
||||
// Public signature: /C.x.<get-x>|316111172223894646[0]
|
||||
// Public signature debug description: <get-x>(){}kotlin.String
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: C#<get-x>(){}
|
||||
// Public signature: /C.x.<get-x>|1482705010654679335[0]
|
||||
// Public signature debug description: <get-x>(){}
|
||||
get
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: C#<init>(kotlin.String){}
|
||||
// Public signature: /C.<init>|1280618353163213788[0]
|
||||
// Public signature debug description: <init>(kotlin.String){}
|
||||
constructor(x: String) /* primary */
|
||||
|
||||
}
|
||||
@@ -24,32 +28,40 @@ class C {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #foo(kotlin.String){}kotlin.String
|
||||
// Public signature: /foo|-5534735991146511619[0]
|
||||
// Public signature debug description: foo(kotlin.String){}kotlin.String
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #foo(kotlin.String){}
|
||||
// Public signature: /foo|1351044947738582195[0]
|
||||
// Public signature debug description: foo(kotlin.String){}
|
||||
fun foo(x: String): String
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #testCtor(){}kotlin.Any
|
||||
// Public signature: /testCtor|3044873605974435250[0]
|
||||
// Public signature debug description: testCtor(){}kotlin.Any
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #testCtor(){}
|
||||
// Public signature: /testCtor|3811619636113238850[0]
|
||||
// Public signature debug description: testCtor(){}
|
||||
fun testCtor(): Any
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #testFn(){}kotlin.Any
|
||||
// Public signature: /testFn|-7705393787943646360[0]
|
||||
// Public signature debug description: testFn(){}kotlin.Any
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #testFn(){}
|
||||
// Public signature: /testFn|-8314695367743779873[0]
|
||||
// Public signature debug description: testFn(){}
|
||||
fun testFn(): Any
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #use(kotlin.Function0<kotlin.Any>){}kotlin.Any
|
||||
// Public signature: /use|2706182574849638898[0]
|
||||
// Public signature debug description: use(kotlin.Function0<kotlin.Any>){}kotlin.Any
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #use(kotlin.Function0<kotlin.Any>){}
|
||||
// Public signature: /use|-6442695911656516766[0]
|
||||
// Public signature debug description: use(kotlin.Function0<kotlin.Any>){}
|
||||
fun use(fn: Function0<Any>): Any
|
||||
|
||||
|
||||
@@ -5,14 +5,17 @@ class ObjectAssert<ACTUAL : Any?> {
|
||||
// CHECK:
|
||||
// Mangled name: ObjectAssert#<init>(){}
|
||||
// Public signature: /ObjectAssert.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: ObjectAssert#describedAs(kotlin.String?;kotlin.Array<out|kotlin.Any?>...){}ObjectAssert<1:0>?
|
||||
// Public signature: /ObjectAssert.describedAs|2640805776853081848[0]
|
||||
// Public signature debug description: describedAs(kotlin.String?;kotlin.Array<out|kotlin.Any?>...){}ObjectAssert<1:0>?
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: ObjectAssert#describedAs(kotlin.String?;kotlin.Array<out|kotlin.Any?>...){}
|
||||
// Public signature: /ObjectAssert.describedAs|-4390537078786909003[0]
|
||||
// Public signature debug description: describedAs(kotlin.String?;kotlin.Array<out|kotlin.Any?>...){}
|
||||
fun describedAs(description: String?, vararg args: Any?): ObjectAssert<ACTUAL>?
|
||||
|
||||
}
|
||||
@@ -24,14 +27,17 @@ object Assertions {
|
||||
// CHECK:
|
||||
// Mangled name: Assertions#<init>(){}
|
||||
// Public signature: /Assertions.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
private constructor() /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Assertions#assertThat(0:0){0§<kotlin.Any?>}ObjectAssert<0:0>
|
||||
// Public signature: /Assertions.assertThat|4423159698393343609[0]
|
||||
// Public signature debug description: assertThat(0:0){0§<kotlin.Any?>}ObjectAssert<0:0>
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: Assertions#assertThat(0:0){0§<kotlin.Any?>}
|
||||
// Public signature: /Assertions.assertThat|4526101325959638422[0]
|
||||
// Public signature debug description: assertThat(0:0){0§<kotlin.Any?>}
|
||||
fun <S : Any?> assertThat(actual: S): ObjectAssert<S>
|
||||
|
||||
}
|
||||
@@ -39,5 +45,6 @@ object Assertions {
|
||||
// CHECK:
|
||||
// Mangled name: #assertNotNull@0:0?(kotlin.String?){0§<kotlin.Any>}
|
||||
// Public signature: /assertNotNull|-8507040693411793741[0]
|
||||
// Public signature debug description: assertNotNull@0:0?(kotlin.String?){0§<kotlin.Any>}
|
||||
fun <T : Any> T?.assertNotNull(description: String?): Unit
|
||||
|
||||
|
||||
+24
@@ -5,11 +5,13 @@ class C {
|
||||
// CHECK:
|
||||
// Mangled name: C#<init>(){}
|
||||
// Public signature: /C.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: C#bar(){}
|
||||
// Public signature: /C.bar|496682602797471549[0]
|
||||
// Public signature debug description: bar(){}
|
||||
fun bar(): Unit
|
||||
|
||||
}
|
||||
@@ -17,108 +19,130 @@ class C {
|
||||
// CHECK:
|
||||
// Mangled name: #foo0(){}
|
||||
// Public signature: /foo0|854950155582184407[0]
|
||||
// Public signature debug description: foo0(){}
|
||||
suspend fun foo0(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #foo1(){}
|
||||
// Public signature: /foo1|-8639587189244574023[0]
|
||||
// Public signature debug description: foo1(){}
|
||||
fun foo1(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #foo2(kotlin.IntArray...){}
|
||||
// Public signature: /foo2|5922411859677377366[0]
|
||||
// Public signature debug description: foo2(kotlin.IntArray...){}
|
||||
fun foo2(vararg xs: Int): Unit
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #foo3(){}kotlin.Int
|
||||
// Public signature: /foo3|8491530264469693037[0]
|
||||
// Public signature debug description: foo3(){}kotlin.Int
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #foo3(){}
|
||||
// Public signature: /foo3|-7010019271447432065[0]
|
||||
// Public signature debug description: foo3(){}
|
||||
fun foo3(): Int
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #foo4(kotlin.Int){}
|
||||
// Public signature: /foo4|2900723419202106229[0]
|
||||
// Public signature debug description: foo4(kotlin.Int){}
|
||||
fun foo4(i: Int): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #fooInt(kotlin.Int){}
|
||||
// Public signature: /fooInt|-6183432728780744676[0]
|
||||
// Public signature debug description: fooInt(kotlin.Int){}
|
||||
fun fooInt(x: Int): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #testLambda(){}
|
||||
// Public signature: /testLambda|-124997257399938843[0]
|
||||
// Public signature debug description: testLambda(){}
|
||||
fun testLambda(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #testNestedNullableParam(){}
|
||||
// Public signature: /testNestedNullableParam|-2012116353768946084[0]
|
||||
// Public signature debug description: testNestedNullableParam(){}
|
||||
fun testNestedNullableParam(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #testNoCoversion(){}
|
||||
// Public signature: /testNoCoversion|-8699135843773409510[0]
|
||||
// Public signature debug description: testNoCoversion(){}
|
||||
fun testNoCoversion(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #testNullableParam(){}
|
||||
// Public signature: /testNullableParam|-2995936548663185551[0]
|
||||
// Public signature debug description: testNullableParam(){}
|
||||
fun testNullableParam(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #testSuspendPlain(){}
|
||||
// Public signature: /testSuspendPlain|8964987636066532028[0]
|
||||
// Public signature debug description: testSuspendPlain(){}
|
||||
fun testSuspendPlain(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #testSuspendWithArgs(){}
|
||||
// Public signature: /testSuspendWithArgs|5693690156127811203[0]
|
||||
// Public signature debug description: testSuspendWithArgs(){}
|
||||
fun testSuspendWithArgs(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #testWithBoundReceiver(){}
|
||||
// Public signature: /testWithBoundReceiver|7823514110875059394[0]
|
||||
// Public signature debug description: testWithBoundReceiver(){}
|
||||
fun testWithBoundReceiver(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #testWithCoercionToUnit(){}
|
||||
// Public signature: /testWithCoercionToUnit|7796968706461873316[0]
|
||||
// Public signature debug description: testWithCoercionToUnit(){}
|
||||
fun testWithCoercionToUnit(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #testWithDefaults(){}
|
||||
// Public signature: /testWithDefaults|-448085806147000561[0]
|
||||
// Public signature debug description: testWithDefaults(){}
|
||||
fun testWithDefaults(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #testWithVararg(){}
|
||||
// Public signature: /testWithVararg|-4416299807822127184[0]
|
||||
// Public signature debug description: testWithVararg(){}
|
||||
fun testWithVararg(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #testWithVarargMapped(){}
|
||||
// Public signature: /testWithVarargMapped|-7339035095379549066[0]
|
||||
// Public signature debug description: testWithVarargMapped(){}
|
||||
fun testWithVarargMapped(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #useSuspend(kotlin.coroutines.SuspendFunction0<kotlin.Unit>){}
|
||||
// Public signature: /useSuspend|60604456614172212[0]
|
||||
// Public signature debug description: useSuspend(kotlin.coroutines.SuspendFunction0<kotlin.Unit>){}
|
||||
fun useSuspend(fn: SuspendFunction0<Unit>): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #useSuspendInt(kotlin.coroutines.SuspendFunction1<kotlin.Int,kotlin.Unit>){}
|
||||
// Public signature: /useSuspendInt|6677445730045728976[0]
|
||||
// Public signature debug description: useSuspendInt(kotlin.coroutines.SuspendFunction1<kotlin.Int,kotlin.Unit>){}
|
||||
fun useSuspendInt(fn: SuspendFunction1<Int, Unit>): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #useSuspendNestedNullable(kotlin.coroutines.SuspendFunction0<kotlin.Unit>?){}
|
||||
// Public signature: /useSuspendNestedNullable|4549127976714545272[0]
|
||||
// Public signature debug description: useSuspendNestedNullable(kotlin.coroutines.SuspendFunction0<kotlin.Unit>?){}
|
||||
fun useSuspendNestedNullable(fn: SuspendFunction0<Unit>?): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #useSuspendNullable(kotlin.coroutines.SuspendFunction0<kotlin.Unit>?){}
|
||||
// Public signature: /useSuspendNullable|967374217920293410[0]
|
||||
// Public signature debug description: useSuspendNullable(kotlin.coroutines.SuspendFunction0<kotlin.Unit>?){}
|
||||
fun useSuspendNullable(fn: SuspendFunction0<Unit>?): Unit
|
||||
|
||||
|
||||
+13
@@ -1,37 +1,46 @@
|
||||
// CHECK:
|
||||
// Mangled name: {}test1
|
||||
// Public signature: /test1|6005685442305498193[0]
|
||||
// Public signature debug description: {}test1
|
||||
val test1: Function1<Int, Unit>
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #<get-test1>(){}kotlin.Function1<kotlin.Int,kotlin.Unit>
|
||||
// Public signature: /test1.<get-test1>|-2250341495239737904[0]
|
||||
// Public signature debug description: <get-test1>(){}kotlin.Function1<kotlin.Int,kotlin.Unit>
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #<get-test1>(){}
|
||||
// Public signature: /test1.<get-test1>|-5735092642142423279[0]
|
||||
// Public signature debug description: <get-test1>(){}
|
||||
get
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: {}test2
|
||||
// Public signature: /test2|2517758057000911509[0]
|
||||
// Public signature debug description: {}test2
|
||||
val test2: Function1<List<String>, Unit>
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #<get-test2>(){}kotlin.Function1<kotlin.collections.List<kotlin.String>,kotlin.Unit>
|
||||
// Public signature: /test2.<get-test2>|1660110416035319894[0]
|
||||
// Public signature debug description: <get-test2>(){}kotlin.Function1<kotlin.collections.List<kotlin.String>,kotlin.Unit>
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #<get-test2>(){}
|
||||
// Public signature: /test2.<get-test2>|-5218942532816206869[0]
|
||||
// Public signature debug description: <get-test2>(){}
|
||||
get
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: {}test3
|
||||
// Public signature: /test3|7677556066983021166[0]
|
||||
// Public signature debug description: {}test3
|
||||
val test3: Function1<Int, Unit>
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #<get-test3>(){}kotlin.Function1<kotlin.Int,kotlin.Unit>
|
||||
// Public signature: /test3.<get-test3>|6318789892361697174[0]
|
||||
// Public signature debug description: <get-test3>(){}kotlin.Function1<kotlin.Int,kotlin.Unit>
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #<get-test3>(){}
|
||||
// Public signature: /test3.<get-test3>|-7333791615083236686[0]
|
||||
// Public signature debug description: <get-test3>(){}
|
||||
get
|
||||
|
||||
// CHECK:
|
||||
@@ -41,11 +50,13 @@ object Host {
|
||||
// CHECK:
|
||||
// Mangled name: Host#<init>(){}
|
||||
// Public signature: /Host.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
private constructor() /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: Host#objectMember(0:0){0§<kotlin.Any?>}
|
||||
// Public signature: /Host.objectMember|-2876712893052428879[0]
|
||||
// Public signature debug description: objectMember(0:0){0§<kotlin.Any?>}
|
||||
inline fun <reified T : Any?> objectMember(x: T): Unit
|
||||
|
||||
}
|
||||
@@ -53,10 +64,12 @@ object Host {
|
||||
// CHECK:
|
||||
// Mangled name: #topLevel1(0:0){0§<kotlin.Any?>}
|
||||
// Public signature: /topLevel1|-1179785015028179967[0]
|
||||
// Public signature debug description: topLevel1(0:0){0§<kotlin.Any?>}
|
||||
inline fun <reified T : Any?> topLevel1(x: T): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #topLevel2(kotlin.collections.List<0:0>){0§<kotlin.Any?>}
|
||||
// Public signature: /topLevel2|-3665063920454112526[0]
|
||||
// Public signature debug description: topLevel2(kotlin.collections.List<0:0>){0§<kotlin.Any?>}
|
||||
inline fun <reified T : Any?> topLevel2(x: List<T>): Unit
|
||||
|
||||
|
||||
+11
@@ -5,14 +5,17 @@ open class A {
|
||||
// CHECK:
|
||||
// Mangled name: A#<init>(){}
|
||||
// Public signature: /A.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: A#foo(kotlin.IntArray...){}kotlin.Int
|
||||
// Public signature: /A.foo|-3529930544137592433[0]
|
||||
// Public signature debug description: foo(kotlin.IntArray...){}kotlin.Int
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: A#foo(kotlin.IntArray...){}
|
||||
// Public signature: /A.foo|112986931506401688[0]
|
||||
// Public signature debug description: foo(kotlin.IntArray...){}
|
||||
open fun foo(vararg xs: Int): Int
|
||||
|
||||
}
|
||||
@@ -24,14 +27,17 @@ object Obj : A {
|
||||
// CHECK:
|
||||
// Mangled name: Obj#<init>(){}
|
||||
// Public signature: /Obj.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
private constructor() /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Obj#foo(kotlin.IntArray...){}kotlin.Int
|
||||
// Public signature: /Obj.foo|-3529930544137592433[0]
|
||||
// Public signature debug description: foo(kotlin.IntArray...){}kotlin.Int
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: Obj#foo(kotlin.IntArray...){}
|
||||
// Public signature: /Obj.foo|112986931506401688[0]
|
||||
// Public signature debug description: foo(kotlin.IntArray...){}
|
||||
override fun foo(vararg xs: Int): Int
|
||||
|
||||
}
|
||||
@@ -39,25 +45,30 @@ object Obj : A {
|
||||
// CHECK:
|
||||
// Mangled name: #testBound(A){}
|
||||
// Public signature: /testBound|1636169933869733015[0]
|
||||
// Public signature debug description: testBound(A){}
|
||||
fun testBound(a: A): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #testObject(){}
|
||||
// Public signature: /testObject|-3988286999538388748[0]
|
||||
// Public signature debug description: testObject(){}
|
||||
fun testObject(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #testUnbound(){}
|
||||
// Public signature: /testUnbound|-7514176206479207862[0]
|
||||
// Public signature debug description: testUnbound(){}
|
||||
fun testUnbound(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #use1(kotlin.Function2<A,kotlin.Int,kotlin.Unit>){}
|
||||
// Public signature: /use1|-4462422680581088517[0]
|
||||
// Public signature debug description: use1(kotlin.Function2<A,kotlin.Int,kotlin.Unit>){}
|
||||
fun use1(fn: Function2<A, Int, Unit>): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #use2(kotlin.Function1<kotlin.Int,kotlin.Unit>){}
|
||||
// Public signature: /use2|-4849598794733123366[0]
|
||||
// Public signature debug description: use2(kotlin.Function1<kotlin.Int,kotlin.Unit>){}
|
||||
fun use2(fn: Function1<Int, Unit>): Unit
|
||||
|
||||
|
||||
Vendored
+9
@@ -5,14 +5,17 @@ object Host {
|
||||
// CHECK:
|
||||
// Mangled name: Host#<init>(){}
|
||||
// Public signature: /Host.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
private constructor() /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Host#foo(kotlin.Array<out|kotlin.String>...){}kotlin.String
|
||||
// Public signature: /Host.foo|-204629006600469165[0]
|
||||
// Public signature debug description: foo(kotlin.Array<out|kotlin.String>...){}kotlin.String
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: Host#foo(kotlin.Array<out|kotlin.String>...){}
|
||||
// Public signature: /Host.foo|7137812470563281312[0]
|
||||
// Public signature debug description: foo(kotlin.Array<out|kotlin.String>...){}
|
||||
fun foo(vararg x: String): String
|
||||
|
||||
}
|
||||
@@ -20,24 +23,30 @@ object Host {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #test1(){}kotlin.String
|
||||
// Public signature: /test1|5794939649815924341[0]
|
||||
// Public signature debug description: test1(){}kotlin.String
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #test1(){}
|
||||
// Public signature: /test1|4297044443957252634[0]
|
||||
// Public signature debug description: test1(){}
|
||||
fun test1(): String
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #test2(){}kotlin.String
|
||||
// Public signature: /test2|7756882030981116149[0]
|
||||
// Public signature debug description: test2(){}kotlin.String
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #test2(){}
|
||||
// Public signature: /test2|4279114864133353152[0]
|
||||
// Public signature debug description: test2(){}
|
||||
fun test2(): String
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #withO(kotlin.Function1<kotlin.String,kotlin.String>){}kotlin.String
|
||||
// Public signature: /withO|-2767877202488996611[0]
|
||||
// Public signature debug description: withO(kotlin.Function1<kotlin.String,kotlin.String>){}kotlin.String
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #withO(kotlin.Function1<kotlin.String,kotlin.String>){}
|
||||
// Public signature: /withO|2914129526547888389[0]
|
||||
// Public signature debug description: withO(kotlin.Function1<kotlin.String,kotlin.String>){}
|
||||
fun withO(fn: Function1<String, String>): String
|
||||
|
||||
|
||||
+5
@@ -6,6 +6,7 @@ fun interface IFoo {
|
||||
// CHECK:
|
||||
// Mangled name: IFoo#foo(kotlin.Int){}
|
||||
// Public signature: /IFoo.foo|-104159190164110731[0]
|
||||
// Public signature debug description: foo(kotlin.Int){}
|
||||
abstract fun foo(i: Int): Unit
|
||||
|
||||
}
|
||||
@@ -13,18 +14,22 @@ fun interface IFoo {
|
||||
// CHECK:
|
||||
// Mangled name: #test(){}
|
||||
// Public signature: /test|6620506149988718649[0]
|
||||
// Public signature debug description: test(){}
|
||||
fun test(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #useFoo(IFoo){}
|
||||
// Public signature: /useFoo|-5008863146598304258[0]
|
||||
// Public signature debug description: useFoo(IFoo){}
|
||||
fun useFoo(foo: IFoo): Unit
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #withVararg(kotlin.IntArray...){}kotlin.Int
|
||||
// Public signature: /withVararg|2262699225692856772[0]
|
||||
// Public signature debug description: withVararg(kotlin.IntArray...){}kotlin.Int
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #withVararg(kotlin.IntArray...){}
|
||||
// Public signature: /withVararg|2511032413940817176[0]
|
||||
// Public signature debug description: withVararg(kotlin.IntArray...){}
|
||||
fun withVararg(vararg xs: Int): Int
|
||||
|
||||
|
||||
+25
@@ -5,14 +5,17 @@ object Host {
|
||||
// CHECK:
|
||||
// Mangled name: Host#<init>(){}
|
||||
// Public signature: /Host.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
private constructor() /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Host#importedObjectMemberWithVarargs(kotlin.IntArray...){}kotlin.String
|
||||
// Public signature: /Host.importedObjectMemberWithVarargs|7476492663444631478[0]
|
||||
// Public signature debug description: importedObjectMemberWithVarargs(kotlin.IntArray...){}kotlin.String
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: Host#importedObjectMemberWithVarargs(kotlin.IntArray...){}
|
||||
// Public signature: /Host.importedObjectMemberWithVarargs|-6707689478577439496[0]
|
||||
// Public signature debug description: importedObjectMemberWithVarargs(kotlin.IntArray...){}
|
||||
fun importedObjectMemberWithVarargs(vararg xs: Int): String
|
||||
|
||||
}
|
||||
@@ -20,90 +23,112 @@ object Host {
|
||||
// CHECK:
|
||||
// Mangled name: #coerceToUnit(kotlin.Function1<kotlin.Int,kotlin.Unit>){}
|
||||
// Public signature: /coerceToUnit|-7636359994506321399[0]
|
||||
// Public signature debug description: coerceToUnit(kotlin.Function1<kotlin.Int,kotlin.Unit>){}
|
||||
fun coerceToUnit(fn: Function1<Int, Unit>): Unit
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #fnWithDefault(kotlin.Int;kotlin.Int){}kotlin.String
|
||||
// Public signature: /fnWithDefault|615312624340614007[0]
|
||||
// Public signature debug description: fnWithDefault(kotlin.Int;kotlin.Int){}kotlin.String
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #fnWithDefault(kotlin.Int;kotlin.Int){}
|
||||
// Public signature: /fnWithDefault|4463734860376909437[0]
|
||||
// Public signature debug description: fnWithDefault(kotlin.Int;kotlin.Int){}
|
||||
fun fnWithDefault(a: Int, b: Int): String
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #fnWithDefaults(kotlin.Int;kotlin.Int){}kotlin.String
|
||||
// Public signature: /fnWithDefaults|684786503990558671[0]
|
||||
// Public signature debug description: fnWithDefaults(kotlin.Int;kotlin.Int){}kotlin.String
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #fnWithDefaults(kotlin.Int;kotlin.Int){}
|
||||
// Public signature: /fnWithDefaults|-7235704441165534247[0]
|
||||
// Public signature debug description: fnWithDefaults(kotlin.Int;kotlin.Int){}
|
||||
fun fnWithDefaults(a: Int, b: Int): String
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #fnWithVarargs(kotlin.IntArray...){}kotlin.String
|
||||
// Public signature: /fnWithVarargs|-2554710779226431969[0]
|
||||
// Public signature debug description: fnWithVarargs(kotlin.IntArray...){}kotlin.String
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #fnWithVarargs(kotlin.IntArray...){}
|
||||
// Public signature: /fnWithVarargs|3976112711378731544[0]
|
||||
// Public signature debug description: fnWithVarargs(kotlin.IntArray...){}
|
||||
fun fnWithVarargs(vararg xs: Int): String
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #testCoercionToUnit(){}
|
||||
// Public signature: /testCoercionToUnit|5471888531952545525[0]
|
||||
// Public signature debug description: testCoercionToUnit(){}
|
||||
fun testCoercionToUnit(): Unit
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #testDefault(){}kotlin.String
|
||||
// Public signature: /testDefault|-5176015430445505410[0]
|
||||
// Public signature debug description: testDefault(){}kotlin.String
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #testDefault(){}
|
||||
// Public signature: /testDefault|3818133201085041648[0]
|
||||
// Public signature debug description: testDefault(){}
|
||||
fun testDefault(): String
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #testDefault0(){}kotlin.String
|
||||
// Public signature: /testDefault0|6498614662521529564[0]
|
||||
// Public signature debug description: testDefault0(){}kotlin.String
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #testDefault0(){}
|
||||
// Public signature: /testDefault0|-915023763116368991[0]
|
||||
// Public signature debug description: testDefault0(){}
|
||||
fun testDefault0(): String
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #testImportedObjectMember(){}kotlin.String
|
||||
// Public signature: /testImportedObjectMember|-2324367102610217786[0]
|
||||
// Public signature debug description: testImportedObjectMember(){}kotlin.String
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #testImportedObjectMember(){}
|
||||
// Public signature: /testImportedObjectMember|-2303712063541498691[0]
|
||||
// Public signature debug description: testImportedObjectMember(){}
|
||||
fun testImportedObjectMember(): String
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #testVararg(){}kotlin.String
|
||||
// Public signature: /testVararg|-987920175184523683[0]
|
||||
// Public signature debug description: testVararg(){}kotlin.String
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #testVararg(){}
|
||||
// Public signature: /testVararg|-5161893703415149761[0]
|
||||
// Public signature debug description: testVararg(){}
|
||||
fun testVararg(): String
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #testVararg0(){}kotlin.String
|
||||
// Public signature: /testVararg0|-3604981276033465673[0]
|
||||
// Public signature debug description: testVararg0(){}kotlin.String
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #testVararg0(){}
|
||||
// Public signature: /testVararg0|2721664056984839243[0]
|
||||
// Public signature debug description: testVararg0(){}
|
||||
fun testVararg0(): String
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #use(kotlin.Function1<kotlin.Int,kotlin.String>){}kotlin.String
|
||||
// Public signature: /use|6965134968711081892[0]
|
||||
// Public signature debug description: use(kotlin.Function1<kotlin.Int,kotlin.String>){}kotlin.String
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #use(kotlin.Function1<kotlin.Int,kotlin.String>){}
|
||||
// Public signature: /use|-5628727036913455711[0]
|
||||
// Public signature debug description: use(kotlin.Function1<kotlin.Int,kotlin.String>){}
|
||||
fun use(fn: Function1<Int, String>): String
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #use0(kotlin.Function0<kotlin.String>){}kotlin.String
|
||||
// Public signature: /use0|-1882178247581270166[0]
|
||||
// Public signature debug description: use0(kotlin.Function0<kotlin.String>){}kotlin.String
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #use0(kotlin.Function0<kotlin.String>){}
|
||||
// Public signature: /use0|1837102046920892382[0]
|
||||
// Public signature debug description: use0(kotlin.Function0<kotlin.String>){}
|
||||
fun use0(fn: Function0<String>): String
|
||||
|
||||
|
||||
+9
@@ -5,39 +5,47 @@ class Host {
|
||||
// CHECK:
|
||||
// Mangled name: Host#<init>(){}
|
||||
// Public signature: /Host.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: Host#testBoundReceiverExpression(){}
|
||||
// Public signature: /Host.testBoundReceiverExpression|4527152464563403382[0]
|
||||
// Public signature debug description: testBoundReceiverExpression(){}
|
||||
fun testBoundReceiverExpression(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: Host#testBoundReceiverLocalVal(){}
|
||||
// Public signature: /Host.testBoundReceiverLocalVal|5089842263939902901[0]
|
||||
// Public signature debug description: testBoundReceiverLocalVal(){}
|
||||
fun testBoundReceiverLocalVal(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: Host#testBoundReceiverLocalVar(){}
|
||||
// Public signature: /Host.testBoundReceiverLocalVar|7082315393387759929[0]
|
||||
// Public signature debug description: testBoundReceiverLocalVar(){}
|
||||
fun testBoundReceiverLocalVar(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: Host#testBoundReceiverParameter(Host){}
|
||||
// Public signature: /Host.testBoundReceiverParameter|2962165494345239444[0]
|
||||
// Public signature debug description: testBoundReceiverParameter(Host){}
|
||||
fun testBoundReceiverParameter(h: Host): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: Host#testImplicitThis(){}
|
||||
// Public signature: /Host.testImplicitThis|-6601040006825871356[0]
|
||||
// Public signature debug description: testImplicitThis(){}
|
||||
fun testImplicitThis(): Unit
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Host#withVararg(kotlin.IntArray...){}kotlin.String
|
||||
// Public signature: /Host.withVararg|3343284378880347768[0]
|
||||
// Public signature debug description: withVararg(kotlin.IntArray...){}kotlin.String
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: Host#withVararg(kotlin.IntArray...){}
|
||||
// Public signature: /Host.withVararg|2511032413940817176[0]
|
||||
// Public signature debug description: withVararg(kotlin.IntArray...){}
|
||||
fun withVararg(vararg xs: Int): String
|
||||
|
||||
}
|
||||
@@ -45,5 +53,6 @@ class Host {
|
||||
// CHECK:
|
||||
// Mangled name: #use(kotlin.Function1<kotlin.Int,kotlin.Unit>){}
|
||||
// Public signature: /use|4736665629979262606[0]
|
||||
// Public signature debug description: use(kotlin.Function1<kotlin.Int,kotlin.Unit>){}
|
||||
fun use(fn: Function1<Int, Unit>): Unit
|
||||
|
||||
|
||||
Vendored
+13
@@ -1,61 +1,74 @@
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #nsum(kotlin.Array<out|kotlin.Number>...){}kotlin.Int
|
||||
// Public signature: /nsum|849274247512080219[0]
|
||||
// Public signature debug description: nsum(kotlin.Array<out|kotlin.Number>...){}kotlin.Int
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #nsum(kotlin.Array<out|kotlin.Number>...){}
|
||||
// Public signature: /nsum|1669670680890244180[0]
|
||||
// Public signature debug description: nsum(kotlin.Array<out|kotlin.Number>...){}
|
||||
fun nsum(vararg args: Number): Int
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #sum(kotlin.IntArray...){}kotlin.Int
|
||||
// Public signature: /sum|7786429240262788644[0]
|
||||
// Public signature debug description: sum(kotlin.IntArray...){}kotlin.Int
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #sum(kotlin.IntArray...){}
|
||||
// Public signature: /sum|2467160042393820864[0]
|
||||
// Public signature debug description: sum(kotlin.IntArray...){}
|
||||
fun sum(vararg args: Int): Int
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #testArrayAndDefaults(){}
|
||||
// Public signature: /testArrayAndDefaults|-7178960797889847684[0]
|
||||
// Public signature debug description: testArrayAndDefaults(){}
|
||||
fun testArrayAndDefaults(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #testArrayAsVararg(){}
|
||||
// Public signature: /testArrayAsVararg|-3169605914862197201[0]
|
||||
// Public signature debug description: testArrayAsVararg(){}
|
||||
fun testArrayAsVararg(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #testPlainArgs(){}
|
||||
// Public signature: /testPlainArgs|2446557808710455455[0]
|
||||
// Public signature debug description: testPlainArgs(){}
|
||||
fun testPlainArgs(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #testPrimitiveArrayAsVararg(){}
|
||||
// Public signature: /testPrimitiveArrayAsVararg|-8111480002705343386[0]
|
||||
// Public signature debug description: testPrimitiveArrayAsVararg(){}
|
||||
fun testPrimitiveArrayAsVararg(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #useArray(kotlin.Function1<kotlin.Array<kotlin.Int>,kotlin.Int>){}
|
||||
// Public signature: /useArray|7556411346761547128[0]
|
||||
// Public signature debug description: useArray(kotlin.Function1<kotlin.Array<kotlin.Int>,kotlin.Int>){}
|
||||
fun useArray(fn: Function1<Array<Int>, Int>): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #usePlainArgs(kotlin.Function2<kotlin.Int,kotlin.Int,kotlin.Int>){}
|
||||
// Public signature: /usePlainArgs|-2723039808667754959[0]
|
||||
// Public signature debug description: usePlainArgs(kotlin.Function2<kotlin.Int,kotlin.Int,kotlin.Int>){}
|
||||
fun usePlainArgs(fn: Function2<Int, Int, Int>): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #usePrimitiveArray(kotlin.Function1<kotlin.IntArray,kotlin.Int>){}
|
||||
// Public signature: /usePrimitiveArray|-3895122125685485943[0]
|
||||
// Public signature debug description: usePrimitiveArray(kotlin.Function1<kotlin.IntArray,kotlin.Int>){}
|
||||
fun usePrimitiveArray(fn: Function1<IntArray, Int>): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #useStringArray(kotlin.Function1<kotlin.Array<kotlin.String>,kotlin.Unit>){}
|
||||
// Public signature: /useStringArray|-6441375296594019709[0]
|
||||
// Public signature debug description: useStringArray(kotlin.Function1<kotlin.Array<kotlin.String>,kotlin.Unit>){}
|
||||
fun useStringArray(fn: Function1<Array<String>, Unit>): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #zap(kotlin.Array<out|kotlin.String>...;kotlin.Int){}
|
||||
// Public signature: /zap|-516812668141712757[0]
|
||||
// Public signature debug description: zap(kotlin.Array<out|kotlin.String>...;kotlin.Int){}
|
||||
fun zap(vararg b: String, k: Int): Unit
|
||||
|
||||
|
||||
Reference in New Issue
Block a user