[klib] Test signature descriptions in irText tests

KT-59486
This commit is contained in:
Sergej Jaskiewicz
2023-06-22 17:30:00 +02:00
committed by Space Team
parent 6142d75bb4
commit 5e63f7627f
562 changed files with 6867 additions and 9 deletions
@@ -7,16 +7,19 @@ class C : B {
// CHECK:
// Mangled name: test.C#<init>(){}
// Public signature: test/C.<init>|-5645683436151566731[0]
// Public signature debug description: <init>(){}
constructor() /* primary */
// CHECK JVM_IR:
// Mangled name: test.C#f(){}kotlin.String?
// Public signature: test/C.f|6718023650115810455[0]
// Public signature debug description: f(){}kotlin.String?
fun f(): String?
// CHECK JVM_IR:
// Mangled name: test.C#g(){}kotlin.String?
// Public signature: test/C.g|-377144927952738440[0]
// Public signature debug description: g(){}kotlin.String?
fun g(): String?
}
@@ -24,5 +27,6 @@ class C : B {
// CHECK JVM_IR:
// Mangled name: test#eval(kotlin.Function0<0:0>){0§<kotlin.Any?>}0:0
// Public signature: test/eval|-3571752498880916343[0]
// Public signature debug description: eval(kotlin.Function0<0:0>){0§<kotlin.Any?>}0:0
fun <T : Any?> eval(f: Function0<T>): T
@@ -1,22 +1,27 @@
// CHECK JVM_IR:
// Mangled name: #convert@kotlin.Number(){0§<kotlin.Number>}0:0
// Public signature: /convert|-8929373318028206908[0]
// Public signature debug description: convert@kotlin.Number(){0§<kotlin.Number>}0:0
// CHECK JS_IR NATIVE:
// Mangled name: #convert@kotlin.Number(){0§<kotlin.Number>}
// Public signature: /convert|1202542150258287198[0]
// Public signature debug description: convert@kotlin.Number(){0§<kotlin.Number>}
fun <R : Number> Number.convert(): R
// CHECK:
// Mangled name: #foo(kotlin.Number){}
// Public signature: /foo|97687418835402471[0]
// Public signature debug description: foo(kotlin.Number){}
fun foo(arg: Number): Unit
// CHECK JVM_IR:
// Mangled name computed from Ir: #main(kotlin.Array<kotlin.String>){}
// Mangled name computed from Descriptor: #main(kotlin.Array<kotlin.String>){}%argumentMappedWithError.kt
// Public signature: /main|5561668743171252170[0]
// Public signature debug description: main(kotlin.Array<kotlin.String>){}%argumentMappedWithError.kt
// CHECK JS_IR NATIVE:
// Mangled name: #main(kotlin.Array<kotlin.String>){}
// Public signature: /main|5976701115139892152[0]
// Public signature debug description: main(kotlin.Array<kotlin.String>){}
fun main(args: Array<String>): Unit
@@ -1,28 +1,35 @@
// CHECK:
// Mangled name: {}p
// Public signature: /p|6715504260787941082[0]
// Public signature debug description: {}p
val p: Int
// CHECK JVM_IR:
// Mangled name: #<get-p>(){}kotlin.Int
// Public signature: /p.<get-p>|5329635969197638839[0]
// Public signature debug description: <get-p>(){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: #<get-p>(){}
// Public signature: /p.<get-p>|-1162552463316289847[0]
// Public signature debug description: <get-p>(){}
get
// CHECK JVM_IR:
// Mangled name: #foo(){}kotlin.Int
// Public signature: /foo|-1256155405684507276[0]
// Public signature debug description: foo(){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: #foo(){}
// Public signature: /foo|-1041209573719867811[0]
// Public signature debug description: foo(){}
fun foo(): Int
// CHECK JVM_IR:
// Mangled name: #test(kotlin.IntArray){}kotlin.Int
// Public signature: /test|3593442840675733055[0]
// Public signature debug description: test(kotlin.IntArray){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: #test(kotlin.IntArray){}
// Public signature: /test|7529327046024896503[0]
// Public signature debug description: test(kotlin.IntArray){}
fun test(a: IntArray): Int
@@ -1,18 +1,22 @@
// CHECK JVM_IR:
// Mangled name: #foo(){}kotlin.Int
// Public signature: /foo|-1256155405684507276[0]
// Public signature debug description: foo(){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: #foo(){}
// Public signature: /foo|-1041209573719867811[0]
// Public signature debug description: foo(){}
fun foo(): Int
// CHECK:
// Mangled name: #test(){}
// Public signature: /test|6620506149988718649[0]
// Public signature debug description: test(){}
fun test(): Unit
// CHECK:
// Mangled name: #test2(){}
// Public signature: /test2|4279114864133353152[0]
// Public signature debug description: test2(){}
fun test2(): Unit
@@ -5,18 +5,22 @@ class C {
// CHECK:
// Mangled name: C{}x
// Public signature: /C.x|-8060530855978347579[0]
// Public signature debug description: {}x
val x: IntArray
// CHECK JVM_IR:
// Mangled name: C#<get-x>(){}kotlin.IntArray
// Public signature: /C.x.<get-x>|-5699461780158713262[0]
// Public signature debug description: <get-x>(){}kotlin.IntArray
// 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.IntArray){}
// Public signature: /C.<init>|6811679238332965682[0]
// Public signature debug description: <init>(kotlin.IntArray){}
constructor(x: IntArray) /* primary */
}
@@ -24,31 +28,38 @@ class C {
// CHECK JVM_IR:
// Mangled name: #bar(){}kotlin.Int
// Public signature: /bar|-6436649210114349217[0]
// Public signature debug description: bar(){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: #bar(){}
// Public signature: /bar|496682602797471549[0]
// Public signature debug description: bar(){}
fun bar(): Int
// CHECK JVM_IR:
// Mangled name: #foo(){}kotlin.IntArray
// Public signature: /foo|-7128217666146299316[0]
// Public signature debug description: foo(){}kotlin.IntArray
// CHECK JS_IR NATIVE:
// Mangled name: #foo(){}
// Public signature: /foo|-1041209573719867811[0]
// Public signature debug description: foo(){}
fun foo(): IntArray
// CHECK:
// Mangled name: #testCall(){}
// Public signature: /testCall|-7871976205737309252[0]
// Public signature debug description: testCall(){}
fun testCall(): Unit
// CHECK:
// Mangled name: #testMember(C){}
// Public signature: /testMember|-6666493840981303553[0]
// Public signature debug description: testMember(C){}
fun testMember(c: C): Unit
// CHECK:
// Mangled name: #testVariable(){}
// Public signature: /testVariable|660968387512033895[0]
// Public signature debug description: testVariable(){}
fun testVariable(): Unit
@@ -6,9 +6,11 @@ interface IA {
// CHECK JVM_IR:
// Mangled name: IA#get(kotlin.String){}kotlin.Int
// Public signature: /IA.get|8115151130332405730[0]
// Public signature debug description: get(kotlin.String){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: IA#get(kotlin.String){}
// Public signature: /IA.get|-2844435113185872994[0]
// Public signature debug description: get(kotlin.String){}
abstract operator fun get(index: String): Int
}
@@ -21,6 +23,7 @@ interface IB {
// CHECK:
// Mangled name: IB#set@IA(kotlin.String;kotlin.Int){}
// Public signature: /IB.set|-3878244067281394744[0]
// Public signature debug description: set@IA(kotlin.String;kotlin.Int){}
abstract operator fun IA.set(index: String, value: Int): Unit
}
@@ -28,5 +31,6 @@ interface IB {
// CHECK:
// Mangled name: #test@IB(IA){}
// Public signature: /test|-3494937446551267445[0]
// Public signature debug description: test@IB(IA){}
fun IB.test(a: IA): Unit
@@ -5,22 +5,27 @@ class Ref {
// CHECK:
// Mangled name: Ref{}x
// Public signature: /Ref.x|-8060530855978347579[0]
// Public signature debug description: {}x
var x: Int
// CHECK JVM_IR:
// Mangled name: Ref#<get-x>(){}kotlin.Int
// Public signature: /Ref.x.<get-x>|4966956098150895696[0]
// Public signature debug description: <get-x>(){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: Ref#<get-x>(){}
// Public signature: /Ref.x.<get-x>|1482705010654679335[0]
// Public signature debug description: <get-x>(){}
get
// CHECK:
// Mangled name: Ref#<set-x>(kotlin.Int){}
// Public signature: /Ref.x.<set-x>|-740209739415615559[0]
// Public signature debug description: <set-x>(kotlin.Int){}
set
// CHECK:
// Mangled name: Ref#<init>(kotlin.Int){}
// Public signature: /Ref.<init>|-5182794243525578284[0]
// Public signature debug description: <init>(kotlin.Int){}
constructor(x: Int) /* primary */
}
@@ -28,10 +33,12 @@ class Ref {
// CHECK:
// Mangled name: #test1(){}
// Public signature: /test1|4297044443957252634[0]
// Public signature debug description: test1(){}
fun test1(): Unit
// CHECK:
// Mangled name: #test2(Ref){}
// Public signature: /test2|-2139715783370980088[0]
// Public signature debug description: test2(Ref){}
fun test2(r: Ref): Unit
@@ -1,26 +1,32 @@
// CHECK:
// Mangled name: {}p
// Public signature: /p|6715504260787941082[0]
// Public signature debug description: {}p
var p: Int
// CHECK JVM_IR:
// Mangled name: #<get-p>(){}kotlin.Int
// Public signature: /p.<get-p>|5329635969197638839[0]
// Public signature debug description: <get-p>(){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: #<get-p>(){}
// Public signature: /p.<get-p>|-1162552463316289847[0]
// Public signature debug description: <get-p>(){}
get
// CHECK:
// Mangled name: #<set-p>(kotlin.Int){}
// Public signature: /p.<set-p>|-6346582004572228570[0]
// Public signature debug description: <set-p>(kotlin.Int){}
set
// CHECK:
// Mangled name: #testProperty(){}
// Public signature: /testProperty|5285658686723604291[0]
// Public signature debug description: testProperty(){}
fun testProperty(): Unit
// CHECK:
// Mangled name: #testVariable(){}
// Public signature: /testVariable|660968387512033895[0]
// Public signature debug description: testVariable(){}
fun testVariable(): Unit
@@ -1,13 +1,16 @@
// CHECK:
// Mangled name: {}p
// Public signature: /p|6715504260787941082[0]
// Public signature debug description: {}p
val p: A
// CHECK JVM_IR:
// Mangled name: #<get-p>(){}A
// Public signature: /p.<get-p>|2133879666814551157[0]
// Public signature debug description: <get-p>(){}A
// CHECK JS_IR NATIVE:
// Mangled name: #<get-p>(){}
// Public signature: /p.<get-p>|-1162552463316289847[0]
// Public signature debug description: <get-p>(){}
get
// CHECK:
@@ -17,6 +20,7 @@ class A {
// CHECK:
// Mangled name: A#<init>(){}
// Public signature: /A.<init>|-5645683436151566731[0]
// Public signature debug description: <init>(){}
constructor() /* primary */
}
@@ -24,35 +28,42 @@ class A {
// CHECK:
// Mangled name: #divAssign@A(kotlin.String){}
// Public signature: /divAssign|8861164861689844119[0]
// Public signature debug description: divAssign@A(kotlin.String){}
operator fun A.divAssign(s: String): Unit
// CHECK:
// Mangled name: #minusAssign@A(kotlin.String){}
// Public signature: /minusAssign|7280125346699981355[0]
// Public signature debug description: minusAssign@A(kotlin.String){}
operator fun A.minusAssign(s: String): Unit
// CHECK:
// Mangled name: #plusAssign@A(kotlin.String){}
// Public signature: /plusAssign|-3878040514225458311[0]
// Public signature debug description: plusAssign@A(kotlin.String){}
operator fun A.plusAssign(s: String): Unit
// CHECK:
// Mangled name: #remAssign@A(kotlin.String){}
// Public signature: /remAssign|-6176434065111215580[0]
// Public signature debug description: remAssign@A(kotlin.String){}
operator fun A.remAssign(s: String): Unit
// CHECK:
// Mangled name: #testProperty(){}
// Public signature: /testProperty|5285658686723604291[0]
// Public signature debug description: testProperty(){}
fun testProperty(): Unit
// CHECK:
// Mangled name: #testVariable(){}
// Public signature: /testVariable|660968387512033895[0]
// Public signature debug description: testVariable(){}
fun testVariable(): Unit
// CHECK:
// Mangled name: #timesAssign@A(kotlin.String){}
// Public signature: /timesAssign|-8299603771166721739[0]
// Public signature debug description: timesAssign@A(kotlin.String){}
operator fun A.timesAssign(s: String): Unit
@@ -5,16 +5,19 @@ class Host {
// CHECK:
// Mangled name: Host#<init>(){}
// Public signature: /Host.<init>|-5645683436151566731[0]
// Public signature debug description: <init>(){}
constructor() /* primary */
// CHECK:
// Mangled name: Host#plusAssign(kotlin.Int){}
// Public signature: /Host.plusAssign|3258359553712471205[0]
// Public signature debug description: plusAssign(kotlin.Int){}
operator fun plusAssign(x: Int): Unit
// CHECK:
// Mangled name: Host#test1(){}
// Public signature: /Host.test1|4297044443957252634[0]
// Public signature debug description: test1(){}
fun test1(): Unit
}
@@ -22,23 +25,28 @@ class Host {
// CHECK JVM_IR:
// Mangled name: #foo(){}Host
// Public signature: /foo|-9155687047523720482[0]
// Public signature debug description: foo(){}Host
// CHECK JS_IR NATIVE:
// Mangled name: #foo(){}
// Public signature: /foo|-1041209573719867811[0]
// Public signature debug description: foo(){}
fun foo(): Host
// CHECK:
// Mangled name: #test2@Host(){}
// Public signature: /test2|-8326697418267123126[0]
// Public signature debug description: test2@Host(){}
fun Host.test2(): Unit
// CHECK:
// Mangled name: #test3(){}
// Public signature: /test3|-3759735065270951803[0]
// Public signature debug description: test3(){}
fun test3(): Unit
// CHECK:
// Mangled name: #test4(kotlin.Function0<Host>){}
// Public signature: /test4|1361778723589440005[0]
// Public signature debug description: test4(kotlin.Function0<Host>){}
fun test4(a: Function0<Host>): Unit
@@ -1,20 +1,24 @@
// 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(){}
// Public signature: /test3|-3759735065270951803[0]
// Public signature debug description: test3(){}
fun test3(): Unit
// CHECK:
// Mangled name: #test4(){}
// Public signature: /test4|5588455914500386239[0]
// Public signature debug description: test4(){}
fun test4(): Unit
@@ -1,60 +1,72 @@
// CHECK:
// Mangled name: #bar(kotlin.Function0<kotlin.Unit>;kotlin.Function0<kotlin.Unit>){}
// Public signature: /bar|1436837239648519468[0]
// Public signature debug description: bar(kotlin.Function0<kotlin.Unit>;kotlin.Function0<kotlin.Unit>){}
inline fun bar(block1: Function0<Unit>, noinline block2: Function0<Unit>): Unit
// CHECK:
// Mangled name: #baz(kotlin.Function0<kotlin.Unit>){}
// Public signature: /baz|-1086471891001796248[0]
// Public signature debug description: baz(kotlin.Function0<kotlin.Unit>){}
inline fun baz(crossinline block: Function0<Unit>): Unit
// CHECK:
// Mangled name: #foo(kotlin.Function0<kotlin.Unit>){}
// Public signature: /foo|251397761749529488[0]
// Public signature debug description: foo(kotlin.Function0<kotlin.Unit>){}
inline fun foo(block: Function0<Unit>): Unit
// CHECK:
// Mangled name: #myForEach@kotlin.collections.Iterable<0:0>(kotlin.Function1<0:0,kotlin.Unit>){0§<kotlin.Any?>}
// Public signature: /myForEach|-478947801945904451[0]
// Public signature debug description: myForEach@kotlin.collections.Iterable<0:0>(kotlin.Function1<0:0,kotlin.Unit>){0§<kotlin.Any?>}
inline fun <T : Any?> Iterable<T>.myForEach(action: Function1<T, Unit>): 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(){}
// Public signature: /test3|-3759735065270951803[0]
// Public signature debug description: test3(){}
fun test3(): Unit
// CHECK:
// Mangled name: #test4(){}
// Public signature: /test4|5588455914500386239[0]
// Public signature debug description: test4(){}
fun test4(): Unit
// CHECK:
// Mangled name: #test5(){}
// Public signature: /test5|-2461239215881954159[0]
// Public signature debug description: test5(){}
fun test5(): Unit
// CHECK:
// Mangled name: #test6(){}
// Public signature: /test6|-6357717956567725919[0]
// Public signature debug description: test6(){}
fun test6(): Unit
// CHECK:
// Mangled name: #test7(){}
// Public signature: /test7|-8173197202779127520[0]
// Public signature debug description: test7(){}
fun test7(): Unit
// CHECK:
// Mangled name: #test8(){}
// Public signature: /test8|70876202459738419[0]
// Public signature debug description: test8(){}
fun test8(): Unit
@@ -1,34 +1,42 @@
// CHECK JVM_IR:
// Mangled name: #test1(kotlin.Any?){}kotlin.Any
// Public signature: /test1|3740103800770013069[0]
// Public signature debug description: test1(kotlin.Any?){}kotlin.Any
// CHECK JS_IR NATIVE:
// Mangled name: #test1(kotlin.Any?){}
// Public signature: /test1|5022087227201313016[0]
// Public signature debug description: test1(kotlin.Any?){}
fun test1(a: Any?): Any
// CHECK JVM_IR:
// Mangled name: #test2(kotlin.Any?){}kotlin.Int
// Public signature: /test2|5851677675624690854[0]
// Public signature debug description: test2(kotlin.Any?){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: #test2(kotlin.Any?){}
// Public signature: /test2|7269867005815420933[0]
// Public signature debug description: test2(kotlin.Any?){}
fun test2(a: Any?): Int
// CHECK JVM_IR:
// Mangled name: #test3(0:0){0§<kotlin.Any?>}0:0
// Public signature: /test3|6230015698608081924[0]
// Public signature debug description: test3(0:0){0§<kotlin.Any?>}0:0
// CHECK JS_IR NATIVE:
// Mangled name: #test3(0:0){0§<kotlin.Any?>}
// Public signature: /test3|-7928313088684974141[0]
// Public signature debug description: test3(0:0){0§<kotlin.Any?>}
fun <X : Any?> test3(a: X): (X & Any)
// CHECK:
// Mangled name: #test4(0:0){0§<kotlin.Any?>}
// Public signature: /test4|5293645353028387515[0]
// Public signature debug description: test4(0:0){0§<kotlin.Any?>}
fun <X : Any?> test4(a: X): Unit
// CHECK:
// Mangled name: #useString(kotlin.String){}
// Public signature: /useString|2275790659251057343[0]
// Public signature debug description: useString(kotlin.String){}
fun useString(s: String): Unit
@@ -1,10 +1,12 @@
// CHECK:
// Mangled name: #test1(kotlin.Boolean){}
// Public signature: /test1|-5145024389903460958[0]
// Public signature debug description: test1(kotlin.Boolean){}
fun test1(b: Boolean): Unit
// CHECK:
// Mangled name: #test2(kotlin.Boolean){}
// Public signature: /test2|-1465977587350129281[0]
// Public signature debug description: test2(kotlin.Boolean){}
fun test2(b: Boolean): Unit
@@ -1,32 +1,40 @@
// CHECK JVM_IR:
// Mangled name: #test1(kotlin.Boolean;kotlin.Boolean){}kotlin.Boolean
// Public signature: /test1|1784310317697180459[0]
// Public signature debug description: test1(kotlin.Boolean;kotlin.Boolean){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test1(kotlin.Boolean;kotlin.Boolean){}
// Public signature: /test1|4334636876570982581[0]
// Public signature debug description: test1(kotlin.Boolean;kotlin.Boolean){}
fun test1(a: Boolean, b: Boolean): Boolean
// CHECK JVM_IR:
// Mangled name: #test1x(kotlin.Boolean;kotlin.Boolean){}kotlin.Boolean
// Public signature: /test1x|-1515408322066060577[0]
// Public signature debug description: test1x(kotlin.Boolean;kotlin.Boolean){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test1x(kotlin.Boolean;kotlin.Boolean){}
// Public signature: /test1x|5571934274519213675[0]
// Public signature debug description: test1x(kotlin.Boolean;kotlin.Boolean){}
fun test1x(a: Boolean, b: Boolean): Boolean
// CHECK JVM_IR:
// Mangled name: #test2(kotlin.Boolean;kotlin.Boolean){}kotlin.Boolean
// Public signature: /test2|799203320988960255[0]
// Public signature debug description: test2(kotlin.Boolean;kotlin.Boolean){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test2(kotlin.Boolean;kotlin.Boolean){}
// Public signature: /test2|7186870617663885862[0]
// Public signature debug description: test2(kotlin.Boolean;kotlin.Boolean){}
fun test2(a: Boolean, b: Boolean): Boolean
// CHECK JVM_IR:
// Mangled name: #test2x(kotlin.Boolean;kotlin.Boolean){}kotlin.Boolean
// Public signature: /test2x|-4460874089779287126[0]
// Public signature debug description: test2x(kotlin.Boolean;kotlin.Boolean){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test2x(kotlin.Boolean;kotlin.Boolean){}
// Public signature: /test2x|-6733438950512439356[0]
// Public signature debug description: test2x(kotlin.Boolean;kotlin.Boolean){}
fun test2x(a: Boolean, b: Boolean): Boolean
@@ -1,37 +1,46 @@
// CHECK:
// Mangled name: {}test1
// Public signature: /test1|6005685442305498193[0]
// Public signature debug description: {}test1
val test1: KFunction0<Unit>
// CHECK JVM_IR:
// Mangled name: #<get-test1>(){}kotlin.reflect.KFunction0<kotlin.Unit>
// Public signature: /test1.<get-test1>|-3212001184270190599[0]
// Public signature debug description: <get-test1>(){}kotlin.reflect.KFunction0<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: KProperty0<Int>
// CHECK JVM_IR:
// Mangled name: #<get-test2>(){}kotlin.reflect.KProperty0<kotlin.Int>
// Public signature: /test2.<get-test2>|7095906335176274261[0]
// Public signature debug description: <get-test2>(){}kotlin.reflect.KProperty0<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:
// Mangled name: {}test3
// Public signature: /test3|7677556066983021166[0]
// Public signature debug description: {}test3
val test3: KFunction0<Unit>
// CHECK JVM_IR:
// Mangled name: #<get-test3>(){}kotlin.reflect.KFunction0<kotlin.Unit>
// Public signature: /test3.<get-test3>|-4039299570509212380[0]
// Public signature debug description: <get-test3>(){}kotlin.reflect.KFunction0<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,23 +50,28 @@ class A {
// 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
}
@@ -65,5 +79,6 @@ class A {
// CHECK:
// Mangled name: #qux@A(){}
// Public signature: /qux|-6354945730448165600[0]
// Public signature debug description: qux@A(){}
fun A.qux(): Unit
@@ -1,8 +1,10 @@
// CHECK JVM_IR:
// Mangled name: #box(){}kotlin.String
// Public signature: /box|-9347091776561469[0]
// Public signature debug description: box(){}kotlin.String
// CHECK JS_IR NATIVE:
// Mangled name: #box(){}
// Public signature: /box|2173511048851971368[0]
// Public signature debug description: box(){}
fun box(): String
@@ -1,15 +1,18 @@
// 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(){}
// Public signature: /test3|-3759735065270951803[0]
// Public signature debug description: test3(){}
fun test3(): Unit
@@ -1,25 +1,30 @@
// CHECK:
// Mangled name: #test1(kotlin.Boolean?){}
// Public signature: /test1|-614655814357645647[0]
// Public signature debug description: test1(kotlin.Boolean?){}
fun test1(c: Boolean?): Unit
// CHECK:
// Mangled name: #test2(kotlin.Boolean?){}
// Public signature: /test2|433529625541321478[0]
// Public signature debug description: test2(kotlin.Boolean?){}
fun test2(c: Boolean?): Unit
// CHECK:
// Mangled name: #test3(kotlin.collections.List<kotlin.String>?){}
// Public signature: /test3|7517805814041019716[0]
// Public signature debug description: test3(kotlin.collections.List<kotlin.String>?){}
fun test3(ss: List<String>?): Unit
// CHECK:
// Mangled name: #test4(kotlin.collections.List<kotlin.String>?){}
// Public signature: /test4|1371726193385654339[0]
// Public signature debug description: test4(kotlin.collections.List<kotlin.String>?){}
fun test4(ss: List<String>?): Unit
// CHECK:
// Mangled name: #test5(){}
// Public signature: /test5|-2461239215881954159[0]
// Public signature debug description: test5(){}
fun test5(): Unit
@@ -1,30 +1,36 @@
// CHECK:
// Mangled name: #testBreakDoWhile(){}
// Public signature: /testBreakDoWhile|-1704674514591918334[0]
// Public signature debug description: testBreakDoWhile(){}
fun testBreakDoWhile(): Unit
// CHECK:
// Mangled name: #testBreakFor(){}
// Public signature: /testBreakFor|-7772840210562213149[0]
// Public signature debug description: testBreakFor(){}
fun testBreakFor(): Unit
// CHECK:
// Mangled name: #testBreakWhile(){}
// Public signature: /testBreakWhile|3882710933639253522[0]
// Public signature debug description: testBreakWhile(){}
fun testBreakWhile(): Unit
// CHECK:
// Mangled name: #testContinueDoWhile(){}
// Public signature: /testContinueDoWhile|-1939470436794612956[0]
// Public signature debug description: testContinueDoWhile(){}
fun testContinueDoWhile(): Unit
// CHECK:
// Mangled name: #testContinueFor(){}
// Public signature: /testContinueFor|-6520729324717708312[0]
// Public signature debug description: testContinueFor(){}
fun testContinueFor(): Unit
// CHECK:
// Mangled name: #testContinueWhile(){}
// Public signature: /testContinueWhile|2151596509430082894[0]
// Public signature debug description: testContinueWhile(){}
fun testContinueWhile(): Unit
@@ -3,5 +3,6 @@ package test
// CHECK:
// Mangled name: test#callBuiltinFunctions(kotlin.Int;kotlin.Int){}
// Public signature: test/callBuiltinFunctions|7396310918419190407[0]
// Public signature debug description: callBuiltinFunctions(kotlin.Int;kotlin.Int){}
fun callBuiltinFunctions(a: Int, b: Int): Unit
@@ -1,42 +1,52 @@
// CHECK:
// Mangled name: #foo(kotlin.Int;kotlin.Int){}
// Public signature: /foo|-5894601321690082118[0]
// Public signature debug description: foo(kotlin.Int;kotlin.Int){}
fun foo(a: Int, b: Int): Unit
// CHECK JVM_IR:
// Mangled name: #noReorder1(){}kotlin.Int
// Public signature: /noReorder1|8490746646819369513[0]
// Public signature debug description: noReorder1(){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: #noReorder1(){}
// Public signature: /noReorder1|2041802031203244090[0]
// Public signature debug description: noReorder1(){}
fun noReorder1(): Int
// CHECK JVM_IR:
// Mangled name: #noReorder2(){}kotlin.Int
// Public signature: /noReorder2|1318805316632640434[0]
// Public signature debug description: noReorder2(){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: #noReorder2(){}
// Public signature: /noReorder2|-4183322961147077454[0]
// Public signature debug description: noReorder2(){}
fun noReorder2(): Int
// CHECK JVM_IR:
// Mangled name: #reordered1(){}kotlin.Int
// Public signature: /reordered1|-3373748716222518893[0]
// Public signature debug description: reordered1(){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: #reordered1(){}
// Public signature: /reordered1|3363717619618452144[0]
// Public signature debug description: reordered1(){}
fun reordered1(): Int
// CHECK JVM_IR:
// Mangled name: #reordered2(){}kotlin.Int
// Public signature: /reordered2|-1663811084556182906[0]
// Public signature debug description: reordered2(){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: #reordered2(){}
// Public signature: /reordered2|8960515960707640681[0]
// Public signature debug description: reordered2(){}
fun reordered2(): Int
// CHECK:
// Mangled name: #test(){}
// Public signature: /test|6620506149988718649[0]
// Public signature debug description: test(){}
fun test(): Unit
@@ -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
@@ -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
@@ -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
@@ -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>
@@ -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
@@ -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
@@ -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
@@ -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>
@@ -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
}
@@ -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
}
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -1,48 +1,60 @@
// CHECK JVM_IR:
// Mangled name: #bar(kotlin.Int){}kotlin.Int
// Public signature: /bar|-9139551794686561208[0]
// Public signature debug description: bar(kotlin.Int){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: #bar(kotlin.Int){}
// Public signature: /bar|-6662241134515685168[0]
// Public signature debug description: bar(kotlin.Int){}
fun bar(x: Int): Int
// CHECK JVM_IR:
// Mangled name: #ext1@kotlin.Int(){}kotlin.Int
// Public signature: /ext1|6413226340790463095[0]
// Public signature debug description: ext1@kotlin.Int(){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: #ext1@kotlin.Int(){}
// Public signature: /ext1|2676317939288138925[0]
// Public signature debug description: ext1@kotlin.Int(){}
fun Int.ext1(): Int
// CHECK JVM_IR:
// Mangled name: #ext2@kotlin.Int(kotlin.Int){}kotlin.Int
// Public signature: /ext2|-8066960946657179620[0]
// Public signature debug description: ext2@kotlin.Int(kotlin.Int){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: #ext2@kotlin.Int(kotlin.Int){}
// Public signature: /ext2|-2215403909210362549[0]
// Public signature debug description: ext2@kotlin.Int(kotlin.Int){}
fun Int.ext2(x: Int): Int
// CHECK JVM_IR:
// Mangled name: #ext3@kotlin.Int(kotlin.Int){}kotlin.Int
// Public signature: /ext3|5977745580530222116[0]
// Public signature debug description: ext3@kotlin.Int(kotlin.Int){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: #ext3@kotlin.Int(kotlin.Int){}
// Public signature: /ext3|8845146764019956410[0]
// Public signature debug description: ext3@kotlin.Int(kotlin.Int){}
fun Int.ext3(x: Int): Int
// CHECK JVM_IR:
// Mangled name: #foo(kotlin.Int;kotlin.Int){}kotlin.Int
// Public signature: /foo|4963416038277150675[0]
// Public signature debug description: foo(kotlin.Int;kotlin.Int){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: #foo(kotlin.Int;kotlin.Int){}
// Public signature: /foo|-5894601321690082118[0]
// Public signature debug description: foo(kotlin.Int;kotlin.Int){}
fun foo(x: Int, y: Int): Int
// CHECK JVM_IR:
// Mangled name: #qux(kotlin.Int){}kotlin.Int
// Public signature: /qux|8810931378534960479[0]
// Public signature debug description: qux(kotlin.Int){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: #qux(kotlin.Int){}
// Public signature: /qux|-7492140954119175349[0]
// Public signature debug description: qux(kotlin.Int){}
fun qux(x: Int): Int
@@ -5,62 +5,77 @@ class Host<T : Any?> {
// CHECK:
// Mangled name: Host#<init>(){}
// Public signature: /Host.<init>|-5645683436151566731[0]
// Public signature debug description: <init>(){}
constructor() /* primary */
// CHECK JVM_IR:
// Mangled name: Host#castGenericMemberExtFun@kotlin.Any(){0§<kotlin.Any?>}0:0
// Public signature: /Host.castGenericMemberExtFun|-1526087761761488718[0]
// Public signature debug description: castGenericMemberExtFun@kotlin.Any(){0§<kotlin.Any?>}0:0
// CHECK JS_IR NATIVE:
// Mangled name: Host#castGenericMemberExtFun@kotlin.Any(){0§<kotlin.Any?>}
// Public signature: /Host.castGenericMemberExtFun|-4690922237571156264[0]
// Public signature debug description: castGenericMemberExtFun@kotlin.Any(){0§<kotlin.Any?>}
fun <TF : Any?> Any.castGenericMemberExtFun(): TF
// CHECK JVM_IR:
// Mangled name: Host#castGenericMemberFun(kotlin.Any){0§<kotlin.Any?>}0:0
// Public signature: /Host.castGenericMemberFun|-1392782893551809351[0]
// Public signature debug description: castGenericMemberFun(kotlin.Any){0§<kotlin.Any?>}0:0
// CHECK JS_IR NATIVE:
// Mangled name: Host#castGenericMemberFun(kotlin.Any){0§<kotlin.Any?>}
// Public signature: /Host.castGenericMemberFun|-4509731927562399444[0]
// Public signature debug description: castGenericMemberFun(kotlin.Any){0§<kotlin.Any?>}
fun <TF : Any?> castGenericMemberFun(x: Any): TF
// CHECK JVM_IR:
// Mangled name: Host#castMemberExtFun@kotlin.Any(){}1:0
// Public signature: /Host.castMemberExtFun|-5532394822767782605[0]
// Public signature debug description: castMemberExtFun@kotlin.Any(){}1:0
// CHECK JS_IR NATIVE:
// Mangled name: Host#castMemberExtFun@kotlin.Any(){}
// Public signature: /Host.castMemberExtFun|5384958774215550302[0]
// Public signature debug description: castMemberExtFun@kotlin.Any(){}
fun Any.castMemberExtFun(): T
// CHECK JVM_IR:
// Mangled name: Host#castMemberFun(kotlin.Any){}1:0
// Public signature: /Host.castMemberFun|2134838373810955115[0]
// Public signature debug description: castMemberFun(kotlin.Any){}1:0
// CHECK JS_IR NATIVE:
// Mangled name: Host#castMemberFun(kotlin.Any){}
// Public signature: /Host.castMemberFun|6787179251543517018[0]
// Public signature debug description: castMemberFun(kotlin.Any){}
fun castMemberFun(x: Any): T
// CHECK:
// Mangled name: Host@0:0{0§<kotlin.Any?>}castGenericMemberExtVal
// Public signature: /Host.castGenericMemberExtVal|-3234774000451781478[0]
// Public signature debug description: @0:0{0§<kotlin.Any?>}castGenericMemberExtVal
val <TV : Any?> TV.castGenericMemberExtVal: TV
// CHECK JVM_IR:
// Mangled name: Host#<get-castGenericMemberExtVal>@0:0(){0§<kotlin.Any?>}0:0
// Public signature: /Host.castGenericMemberExtVal.<get-castGenericMemberExtVal>|7589356697377818796[0]
// Public signature debug description: <get-castGenericMemberExtVal>@0:0(){0§<kotlin.Any?>}0:0
// CHECK JS_IR NATIVE:
// Mangled name: Host#<get-castGenericMemberExtVal>@0:0(){0§<kotlin.Any?>}
// Public signature: /Host.castGenericMemberExtVal.<get-castGenericMemberExtVal>|4479089431798055620[0]
// Public signature debug description: <get-castGenericMemberExtVal>@0:0(){0§<kotlin.Any?>}
get(): TV
// CHECK:
// Mangled name: Host@kotlin.Any{}castMemberExtVal
// Public signature: /Host.castMemberExtVal|-3747833166603208627[0]
// Public signature debug description: @kotlin.Any{}castMemberExtVal
val Any.castMemberExtVal: T
// CHECK JVM_IR:
// Mangled name: Host#<get-castMemberExtVal>@kotlin.Any(){}1:0
// Public signature: /Host.castMemberExtVal.<get-castMemberExtVal>|2557829452396081481[0]
// Public signature debug description: <get-castMemberExtVal>@kotlin.Any(){}1:0
// CHECK JS_IR NATIVE:
// Mangled name: Host#<get-castMemberExtVal>@kotlin.Any(){}
// Public signature: /Host.castMemberExtVal.<get-castMemberExtVal>|3750750251852948973[0]
// Public signature debug description: <get-castMemberExtVal>@kotlin.Any(){}
get(): T
}
@@ -68,28 +83,35 @@ class Host<T : Any?> {
// CHECK JVM_IR:
// Mangled name: #castExtFun@kotlin.Any(){0§<kotlin.Any?>}0:0
// Public signature: /castExtFun|-8988515931245067967[0]
// Public signature debug description: castExtFun@kotlin.Any(){0§<kotlin.Any?>}0:0
// CHECK JS_IR NATIVE:
// Mangled name: #castExtFun@kotlin.Any(){0§<kotlin.Any?>}
// Public signature: /castExtFun|8616851465893920757[0]
// Public signature debug description: castExtFun@kotlin.Any(){0§<kotlin.Any?>}
fun <T : Any?> Any.castExtFun(): T
// CHECK JVM_IR:
// Mangled name: #castFun(kotlin.Any){0§<kotlin.Any?>}0:0
// Public signature: /castFun|8452838661195068745[0]
// Public signature debug description: castFun(kotlin.Any){0§<kotlin.Any?>}0:0
// CHECK JS_IR NATIVE:
// Mangled name: #castFun(kotlin.Any){0§<kotlin.Any?>}
// Public signature: /castFun|-352412518169718568[0]
// Public signature debug description: castFun(kotlin.Any){0§<kotlin.Any?>}
fun <T : Any?> castFun(x: Any): T
// CHECK:
// Mangled name: @0:0{0§<kotlin.Any?>}castExtVal
// Public signature: /castExtVal|-2827941227832238214[0]
// Public signature debug description: @0:0{0§<kotlin.Any?>}castExtVal
val <T : Any?> T.castExtVal: T
// CHECK JVM_IR:
// Mangled name: #<get-castExtVal>@0:0(){0§<kotlin.Any?>}0:0
// Public signature: /castExtVal.<get-castExtVal>|-7034055135715887678[0]
// Public signature debug description: <get-castExtVal>@0:0(){0§<kotlin.Any?>}0:0
// CHECK JS_IR NATIVE:
// Mangled name: #<get-castExtVal>@0:0(){0§<kotlin.Any?>}
// Public signature: /castExtVal.<get-castExtVal>|8519438336102468076[0]
// Public signature debug description: <get-castExtVal>@0:0(){0§<kotlin.Any?>}
get(): T
@@ -1,5 +1,6 @@
// CHECK:
// Mangled name: #test(kotlin.Function0<kotlin.Unit>){}
// Public signature: /test|6634439856618498021[0]
// Public signature debug description: test(kotlin.Function0<kotlin.Unit>){}
fun test(f: Function0<Unit>): Unit
@@ -5,22 +5,27 @@ class C {
// CHECK:
// Mangled name: C#<init>(){}
// Public signature: /C.<init>|-5645683436151566731[0]
// Public signature debug description: <init>(){}
constructor() /* primary */
// CHECK JVM_IR:
// Mangled name: C#bar(){}C?
// Public signature: /C.bar|1617899871460343611[0]
// Public signature debug description: bar(){}C?
// CHECK JS_IR NATIVE:
// Mangled name: C#bar(){}
// Public signature: /C.bar|496682602797471549[0]
// Public signature debug description: bar(){}
fun bar(): C?
// CHECK JVM_IR:
// Mangled name: C#foo(){}C
// Public signature: /C.foo|3027884397623430086[0]
// Public signature debug description: foo(){}C
// CHECK JS_IR NATIVE:
// Mangled name: C#foo(){}
// Public signature: /C.foo|-1041209573719867811[0]
// Public signature debug description: foo(){}
fun foo(): C
}
@@ -28,8 +33,10 @@ class C {
// CHECK JVM_IR:
// Mangled name: #test(C?){}C?
// Public signature: /test|2090113898813172602[0]
// Public signature debug description: test(C?){}C?
// CHECK JS_IR NATIVE:
// Mangled name: #test(C?){}
// Public signature: /test|-9127084887599042119[0]
// Public signature debug description: test(C?){}
fun test(nc: C?): C?
@@ -6,6 +6,7 @@ fun interface SuspendRunnable {
// CHECK:
// Mangled name: SuspendRunnable#invoke(){}
// Public signature: /SuspendRunnable.invoke|-4663091332620260873[0]
// Public signature debug description: invoke(){}
abstract suspend fun invoke(): Unit
}
@@ -13,18 +14,22 @@ fun interface SuspendRunnable {
// CHECK JVM_IR:
// Mangled name: #bar(){}kotlin.Function0<kotlin.Unit>
// Public signature: /bar|-2077237772809994309[0]
// Public signature debug description: bar(){}kotlin.Function0<kotlin.Unit>
// CHECK JS_IR NATIVE:
// Mangled name: #bar(){}
// Public signature: /bar|496682602797471549[0]
// Public signature debug description: bar(){}
fun bar(): Function0<Unit>
// CHECK:
// Mangled name: #foo(SuspendRunnable){}
// Public signature: /foo|3528754128205426736[0]
// Public signature debug description: foo(SuspendRunnable){}
fun foo(s: SuspendRunnable): Unit
// CHECK:
// Mangled name: #test(kotlin.Function0<kotlin.Unit>){}
// Public signature: /test|6634439856618498021[0]
// Public signature debug description: test(kotlin.Function0<kotlin.Unit>){}
fun test(f: Function0<Unit>): Unit
@@ -5,6 +5,7 @@ class A {
// CHECK:
// Mangled name: A#<init>(){}
// Public signature: /A.<init>|-5645683436151566731[0]
// Public signature debug description: <init>(){}
constructor() /* primary */
}
@@ -12,5 +13,6 @@ class A {
// CHECK:
// Mangled name: #test(){}
// Public signature: /test|6620506149988718649[0]
// Public signature debug description: test(){}
fun test(): Unit
@@ -1,19 +1,23 @@
// CHECK:
// Mangled name: {}test1
// Public signature: /test1|6005685442305498193[0]
// Public signature debug description: {}test1
val test1: Function0<Unit>
// CHECK JVM_IR:
// Mangled name: #<get-test1>(){}kotlin.Function0<kotlin.Unit>
// Public signature: /test1.<get-test1>|4031203072491725526[0]
// Public signature debug description: <get-test1>(){}kotlin.Function0<kotlin.Unit>
get
// CHECK:
// Mangled name: #test2(kotlin.collections.MutableCollection<kotlin.String>){}
// Public signature: /test2|127920314882232051[0]
// Public signature debug description: test2(kotlin.collections.MutableCollection<kotlin.String>){}
fun test2(mc: MutableCollection<String>): Unit
// CHECK:
// Mangled name: #test3(){}
// Public signature: /test3|-3759735065270951803[0]
// Public signature debug description: test3(){}
fun test3(): Unit
@@ -5,22 +5,27 @@ class B {
// CHECK:
// Mangled name: B{}s
// Public signature: /B.s|7217541905509134881[0]
// Public signature debug description: {}s
var s: Int
// CHECK JVM_IR:
// Mangled name: B#<get-s>(){}kotlin.Int
// Public signature: /B.s.<get-s>|-4647012324166823285[0]
// Public signature debug description: <get-s>(){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: B#<get-s>(){}
// Public signature: /B.s.<get-s>|-1662172381559511151[0]
// Public signature debug description: <get-s>(){}
get
// CHECK:
// Mangled name: B#<set-s>(kotlin.Int){}
// Public signature: /B.s.<set-s>|-271772167961470196[0]
// Public signature debug description: <set-s>(kotlin.Int){}
set
// CHECK:
// Mangled name: B#<init>(kotlin.Int){}
// Public signature: /B.<init>|-5182794243525578284[0]
// Public signature debug description: <init>(kotlin.Int){}
constructor(s: Int) /* primary */
}
@@ -32,11 +37,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#plusAssign@B(B){}
// Public signature: /Host.plusAssign|2019899313104241875[0]
// Public signature debug description: plusAssign@B(B){}
operator fun B.plusAssign(b: B): Unit
}
@@ -48,17 +55,21 @@ object X1 {
// CHECK:
// Mangled name: X1{}x1
// Public signature: /X1.x1|-8458287146120398778[0]
// Public signature debug description: {}x1
var x1: Int
// CHECK JVM_IR:
// Mangled name: X1#<get-x1>(){}kotlin.Int
// Public signature: /X1.x1.<get-x1>|7552224918031182012[0]
// Public signature debug description: <get-x1>(){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: X1#<get-x1>(){}
// Public signature: /X1.x1.<get-x1>|-6784695929064323344[0]
// Public signature debug description: <get-x1>(){}
get
// CHECK:
// Mangled name: X1#<set-x1>(kotlin.Int){}
// Public signature: /X1.x1.<set-x1>|6559558337863343625[0]
// Public signature debug description: <set-x1>(kotlin.Int){}
set
// CHECK:
@@ -68,17 +79,21 @@ object X1 {
// CHECK:
// Mangled name: X1.X2{}x2
// Public signature: /X1.X2.x2|7624999599297478649[0]
// Public signature debug description: {}x2
var x2: Int
// CHECK JVM_IR:
// Mangled name: X1.X2#<get-x2>(){}kotlin.Int
// Public signature: /X1.X2.x2.<get-x2>|8643944297803616344[0]
// Public signature debug description: <get-x2>(){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: X1.X2#<get-x2>(){}
// Public signature: /X1.X2.x2.<get-x2>|4516516368910539088[0]
// Public signature debug description: <get-x2>(){}
get
// CHECK:
// Mangled name: X1.X2#<set-x2>(kotlin.Int){}
// Public signature: /X1.X2.x2.<set-x2>|8440745702617099146[0]
// Public signature debug description: <set-x2>(kotlin.Int){}
set
// CHECK:
@@ -88,22 +103,27 @@ object X1 {
// CHECK:
// Mangled name: X1.X2.X3{}x3
// Public signature: /X1.X2.X3.x3|6087740953699108933[0]
// Public signature debug description: {}x3
var x3: Int
// CHECK JVM_IR:
// Mangled name: X1.X2.X3#<get-x3>(){}kotlin.Int
// Public signature: /X1.X2.X3.x3.<get-x3>|8346856633438806711[0]
// Public signature debug description: <get-x3>(){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: X1.X2.X3#<get-x3>(){}
// Public signature: /X1.X2.X3.x3.<get-x3>|1880487902145043103[0]
// Public signature debug description: <get-x3>(){}
get
// CHECK:
// Mangled name: X1.X2.X3#<set-x3>(kotlin.Int){}
// Public signature: /X1.X2.X3.x3.<set-x3>|5328650237314019083[0]
// Public signature debug description: <set-x3>(kotlin.Int){}
set
// CHECK:
// Mangled name: X1.X2.X3#<init>(){}
// Public signature: /X1.X2.X3.<init>|-5645683436151566731[0]
// Public signature debug description: <init>(){}
private constructor() /* primary */
}
@@ -111,6 +131,7 @@ object X1 {
// CHECK:
// Mangled name: X1.X2#<init>(){}
// Public signature: /X1.X2.<init>|-5645683436151566731[0]
// Public signature debug description: <init>(){}
private constructor() /* primary */
}
@@ -118,6 +139,7 @@ object X1 {
// CHECK:
// Mangled name: X1#<init>(){}
// Public signature: /X1.<init>|-5645683436151566731[0]
// Public signature debug description: <init>(){}
private constructor() /* primary */
}
@@ -125,15 +147,18 @@ object X1 {
// CHECK:
// Mangled name: #test1(kotlin.IntArray){}
// Public signature: /test1|4961304868876759524[0]
// Public signature debug description: test1(kotlin.IntArray){}
fun test1(a: IntArray): Unit
// CHECK:
// Mangled name: #test2(){}
// Public signature: /test2|4279114864133353152[0]
// Public signature debug description: test2(){}
fun test2(): Unit
// CHECK:
// Mangled name: #test3@Host(B){}
// Public signature: /test3|8876438075235988874[0]
// Public signature debug description: test3@Host(B){}
fun Host.test3(v: B): Unit
@@ -9,6 +9,7 @@ class K1<T1 : Number> {
// CHECK:
// Mangled name: K1.K2#<init>(){}
// Public signature: /K1.K2.<init>|-5645683436151566731[0]
// Public signature debug description: <init>(){}
constructor() /* primary */
}
@@ -16,6 +17,7 @@ class K1<T1 : Number> {
// CHECK:
// Mangled name: K1#<init>(){}
// Public signature: /K1.<init>|-5645683436151566731[0]
// Public signature debug description: <init>(){}
constructor() /* primary */
}
@@ -23,10 +25,12 @@ class K1<T1 : Number> {
// CHECK JVM_IR:
// Mangled name: #testJava(){}J1.J2<kotlin.Double,kotlin.Int>
// Public signature: /testJava|4724217123423783781[0]
// Public signature debug description: testJava(){}J1.J2<kotlin.Double,kotlin.Int>
fun testJava(): J2<Double, Int>
// CHECK JVM_IR:
// Mangled name: #testKotlin(){}K1.K2<kotlin.String,kotlin.Int>
// Public signature: /testKotlin|8698549833663124127[0]
// Public signature debug description: testKotlin(){}K1.K2<kotlin.String,kotlin.Int>
fun testKotlin(): K2<String, Int>
@@ -1,13 +1,16 @@
// CHECK:
// Mangled name: {}test
// Public signature: /test|-5712650070209114719[0]
// Public signature debug description: {}test
val test: A
// CHECK JVM_IR:
// Mangled name: #<get-test>(){}A
// Public signature: /test.<get-test>|1008694073924452605[0]
// Public signature debug description: <get-test>(){}A
// CHECK JS_IR NATIVE:
// Mangled name: #<get-test>(){}
// Public signature: /test.<get-test>|208282462577758837[0]
// Public signature debug description: <get-test>(){}
get
// CHECK:
@@ -17,6 +20,7 @@ class A {
// CHECK:
// Mangled name: A#<init>(){}
// Public signature: /A.<init>|-5645683436151566731[0]
// Public signature debug description: <init>(){}
constructor() /* primary */
}
@@ -13,9 +13,11 @@ interface IB {
// CHECK JVM_IR:
// Mangled name: IB#compareTo@IA(IA){}kotlin.Int
// Public signature: /IB.compareTo|-7259969497814497426[0]
// Public signature debug description: compareTo@IA(IA){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: IB#compareTo@IA(IA){}
// Public signature: /IB.compareTo|-6258326288651646740[0]
// Public signature debug description: compareTo@IA(IA){}
abstract operator fun IA.compareTo(other: IA): Int
}
@@ -23,32 +25,40 @@ interface IB {
// CHECK JVM_IR:
// Mangled name: #test1@IB(IA;IA){}kotlin.Boolean
// Public signature: /test1|-4373836657117486273[0]
// Public signature debug description: test1@IB(IA;IA){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test1@IB(IA;IA){}
// Public signature: /test1|2110430035798087324[0]
// Public signature debug description: test1@IB(IA;IA){}
fun IB.test1(a1: IA, a2: IA): Boolean
// CHECK JVM_IR:
// Mangled name: #test2@IB(IA;IA){}kotlin.Boolean
// Public signature: /test2|5436750902587155920[0]
// Public signature debug description: test2@IB(IA;IA){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test2@IB(IA;IA){}
// Public signature: /test2|-1582753887583153969[0]
// Public signature debug description: test2@IB(IA;IA){}
fun IB.test2(a1: IA, a2: IA): Boolean
// CHECK JVM_IR:
// Mangled name: #test3@IB(IA;IA){}kotlin.Boolean
// Public signature: /test3|-6567103906122911326[0]
// Public signature debug description: test3@IB(IA;IA){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test3@IB(IA;IA){}
// Public signature: /test3|7130450291559664455[0]
// Public signature debug description: test3@IB(IA;IA){}
fun IB.test3(a1: IA, a2: IA): Boolean
// CHECK JVM_IR:
// Mangled name: #test4@IB(IA;IA){}kotlin.Boolean
// Public signature: /test4|-2122684825224786608[0]
// Public signature debug description: test4@IB(IA;IA){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test4@IB(IA;IA){}
// Public signature: /test4|-7050566763299108335[0]
// Public signature debug description: test4@IB(IA;IA){}
fun IB.test4(a1: IA, a2: IA): Boolean
@@ -5,6 +5,7 @@ object A {
// CHECK:
// Mangled name: A#<init>(){}
// Public signature: /A.<init>|-5645683436151566731[0]
// Public signature debug description: <init>(){}
private constructor() /* primary */
}
@@ -16,22 +17,27 @@ object B {
// CHECK:
// Mangled name: B#<init>(){}
// Public signature: /B.<init>|-5645683436151566731[0]
// Public signature debug description: <init>(){}
private constructor() /* primary */
// CHECK JVM_IR:
// Mangled name: B#component1@A(){}kotlin.Int
// Public signature: /B.component1|-7852292492190161170[0]
// Public signature debug description: component1@A(){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: B#component1@A(){}
// Public signature: /B.component1|-5209316971718544805[0]
// Public signature debug description: component1@A(){}
operator fun A.component1(): Int
// CHECK JVM_IR:
// Mangled name: B#component2@A(){}kotlin.Int
// Public signature: /B.component2|-9145888741821901515[0]
// Public signature debug description: component2@A(){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: B#component2@A(){}
// Public signature: /B.component2|-4967140045736561606[0]
// Public signature debug description: component2@A(){}
operator fun A.component2(): Int
}
@@ -39,5 +45,6 @@ object B {
// CHECK:
// Mangled name: #test@B(){}
// Public signature: /test|5810566108753944346[0]
// Public signature debug description: test@B(){}
fun B.test(): Unit
@@ -5,6 +5,7 @@ object A {
// CHECK:
// Mangled name: A#<init>(){}
// Public signature: /A.<init>|-5645683436151566731[0]
// Public signature debug description: <init>(){}
private constructor() /* primary */
}
@@ -16,30 +17,37 @@ object B {
// CHECK:
// Mangled name: B#<init>(){}
// Public signature: /B.<init>|-5645683436151566731[0]
// Public signature debug description: <init>(){}
private constructor() /* primary */
// CHECK JVM_IR:
// Mangled name: B#component1@A(){}kotlin.Int
// Public signature: /B.component1|-7852292492190161170[0]
// Public signature debug description: component1@A(){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: B#component1@A(){}
// Public signature: /B.component1|-5209316971718544805[0]
// Public signature debug description: component1@A(){}
operator fun A.component1(): Int
// CHECK JVM_IR:
// Mangled name: B#component2@A(){}kotlin.Int
// Public signature: /B.component2|-9145888741821901515[0]
// Public signature debug description: component2@A(){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: B#component2@A(){}
// Public signature: /B.component2|-4967140045736561606[0]
// Public signature debug description: component2@A(){}
operator fun A.component2(): Int
// CHECK JVM_IR:
// Mangled name: B#component3@A(){}kotlin.Int
// Public signature: /B.component3|-6348117122081835134[0]
// Public signature debug description: component3@A(){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: B#component3@A(){}
// Public signature: /B.component3|-5144611481254766335[0]
// Public signature debug description: component3@A(){}
operator fun A.component3(): Int
}
@@ -47,5 +55,6 @@ object B {
// CHECK:
// Mangled name: #test@B(){}
// Public signature: /test|5810566108753944346[0]
// Public signature debug description: test@B(){}
fun B.test(): Unit
@@ -1,16 +1,20 @@
// CHECK JVM_IR:
// Mangled name: #length(kotlin.String){}kotlin.Int
// Public signature: /length|-1740595923541354280[0]
// Public signature debug description: length(kotlin.String){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: #length(kotlin.String){}
// Public signature: /length|-4601517635690082987[0]
// Public signature debug description: length(kotlin.String){}
fun length(s: String): Int
// CHECK JVM_IR:
// Mangled name: #lengthN(kotlin.String?){}kotlin.Int?
// Public signature: /lengthN|-8193665080783092535[0]
// Public signature debug description: lengthN(kotlin.String?){}kotlin.Int?
// CHECK JS_IR NATIVE:
// Mangled name: #lengthN(kotlin.String?){}
// Public signature: /lengthN|-6892154630635195903[0]
// Public signature debug description: lengthN(kotlin.String?){}
fun lengthN(s: String?): Int?
@@ -1,60 +1,75 @@
// CHECK:
// Mangled name: {}p
// Public signature: /p|6715504260787941082[0]
// Public signature debug description: {}p
val p: Any?
// CHECK JVM_IR:
// Mangled name: #<get-p>(){}kotlin.Any?
// Public signature: /p.<get-p>|-8403090778350003178[0]
// Public signature debug description: <get-p>(){}kotlin.Any?
// CHECK JS_IR NATIVE:
// Mangled name: #<get-p>(){}
// Public signature: /p.<get-p>|-1162552463316289847[0]
// Public signature debug description: <get-p>(){}
get
// CHECK JVM_IR:
// Mangled name: #foo(){}kotlin.Any?
// Public signature: /foo|7186954136321860865[0]
// Public signature debug description: foo(){}kotlin.Any?
// CHECK JS_IR NATIVE:
// Mangled name: #foo(){}
// Public signature: /foo|-1041209573719867811[0]
// Public signature debug description: foo(){}
fun foo(): Any?
// CHECK JVM_IR:
// Mangled name: #test1(kotlin.Any?;kotlin.Any){}kotlin.Any
// Public signature: /test1|8089037287083732315[0]
// Public signature debug description: test1(kotlin.Any?;kotlin.Any){}kotlin.Any
// CHECK JS_IR NATIVE:
// Mangled name: #test1(kotlin.Any?;kotlin.Any){}
// Public signature: /test1|-6997889103907623622[0]
// Public signature debug description: test1(kotlin.Any?;kotlin.Any){}
fun test1(a: Any?, b: Any): Any
// CHECK JVM_IR:
// Mangled name: #test2(kotlin.String?;kotlin.Any){}kotlin.Any
// Public signature: /test2|8978773976435569675[0]
// Public signature debug description: test2(kotlin.String?;kotlin.Any){}kotlin.Any
// CHECK JS_IR NATIVE:
// Mangled name: #test2(kotlin.String?;kotlin.Any){}
// Public signature: /test2|4742672895762434756[0]
// Public signature debug description: test2(kotlin.String?;kotlin.Any){}
fun test2(a: String?, b: Any): Any
// CHECK JVM_IR:
// Mangled name: #test3(kotlin.Any?;kotlin.Any?){}kotlin.String
// Public signature: /test3|-8038061391637261704[0]
// Public signature debug description: test3(kotlin.Any?;kotlin.Any?){}kotlin.String
// CHECK JS_IR NATIVE:
// Mangled name: #test3(kotlin.Any?;kotlin.Any?){}
// Public signature: /test3|6801898630268838874[0]
// Public signature debug description: test3(kotlin.Any?;kotlin.Any?){}
fun test3(a: Any?, b: Any?): String
// CHECK JVM_IR:
// Mangled name: #test4(kotlin.Any){}kotlin.Any
// Public signature: /test4|6711648886037953081[0]
// Public signature debug description: test4(kotlin.Any){}kotlin.Any
// CHECK JS_IR NATIVE:
// Mangled name: #test4(kotlin.Any){}
// Public signature: /test4|-9023258848991787985[0]
// Public signature debug description: test4(kotlin.Any){}
fun test4(x: Any): Any
// CHECK JVM_IR:
// Mangled name: #test5(kotlin.Any){}kotlin.Any
// Public signature: /test5|5392832943480599790[0]
// Public signature debug description: test5(kotlin.Any){}kotlin.Any
// CHECK JS_IR NATIVE:
// Mangled name: #test5(kotlin.Any){}
// Public signature: /test5|4504681808078971124[0]
// Public signature debug description: test5(kotlin.Any){}
fun test5(x: Any): Any
@@ -5,6 +5,7 @@ abstract enum class X : Enum<X> {
// CHECK:
// Mangled name: X#<init>(){}
// Public signature: /X.<init>|-5645683436151566731[0]
// Public signature debug description: <init>(){}
private constructor() /* primary */
// CHECK:
// Mangled name: X.B
@@ -18,93 +19,116 @@ abstract enum class X : Enum<X> {
// CHECK:
// Mangled name: X.B{}value2
// Public signature: /X.B.<EEC>.value2|-1664181645671419060[0]
// Public signature debug description: {}value2
val value2: String
// CHECK JVM_IR:
// Mangled name: X.B#<get-value2>(){}kotlin.String
// Public signature: /X.B.<EEC>.value2.<get-value2>|2390168402748813003[0]
// Public signature debug description: <get-value2>(){}kotlin.String
// CHECK JS_IR NATIVE:
// Mangled name: X.B#<get-value2>(){}
// Public signature: /X.B.<EEC>.value2.<get-value2>|1776957621204807843[0]
// Public signature debug description: <get-value2>(){}
get
// CHECK:
// Mangled name: X.B{}value
// Public signature: /X.B.<EEC>.value|1987073854177347439[0]
// Public signature debug description: {}value
override val value: Function0<String>
// CHECK JVM_IR:
// Mangled name: X.B#<get-value>(){}kotlin.Function0<kotlin.String>
// Public signature: /X.B.<EEC>.value.<get-value>|-2160558915408168462[0]
// Public signature debug description: <get-value>(){}kotlin.Function0<kotlin.String>
// CHECK JS_IR NATIVE:
// Mangled name: X.B#<get-value>(){}
// Public signature: /X.B.<EEC>.value.<get-value>|3260093555963109437[0]
// Public signature debug description: <get-value>(){}
override get
// CHECK:
// Mangled name: X.B#<init>(){}
// Public signature: /X.B.<EEC>.<init>|-5645683436151566731[0]
// Public signature debug description: <init>(){}
private constructor() /* primary */
// CHECK JVM_IR:
// Mangled name: X.B#clone(){}kotlin.Any
// Public signature: /X.B.<EEC>.clone|-6903128697527593263[0]
// Public signature debug description: clone(){}kotlin.Any
// CHECK JS_IR NATIVE:
// Mangled name: X.B#compareTo(X){}
// Public signature: /X.B.<EEC>.compareTo|1261254128967309541[0]
// Public signature debug description: compareTo(X){}
protected /* fake */ override fun clone(): Any
// CHECK JVM_IR:
// Mangled name: X.B#compareTo(X){}kotlin.Int
// Public signature: /X.B.<EEC>.compareTo|-4945307460605318887[0]
// Public signature debug description: compareTo(X){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: X.B#equals(kotlin.Any?){}
// Public signature: /X.B.<EEC>.equals|4638265728071529943[0]
// Public signature debug description: equals(kotlin.Any?){}
/* fake */ override operator fun compareTo(other: X): Int
// CHECK JVM_IR:
// Mangled name: X.B#equals(kotlin.Any?){}kotlin.Boolean
// Public signature: /X.B.<EEC>.equals|722809408929142791[0]
// Public signature debug description: equals(kotlin.Any?){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: X.B#hashCode(){}
// Public signature: /X.B.<EEC>.hashCode|3409210261493131192[0]
// Public signature debug description: hashCode(){}
/* fake */ override operator fun equals(other: Any?): Boolean
// CHECK JVM_IR:
// Mangled name: X.B#hashCode(){}kotlin.Int
// Public signature: /X.B.<EEC>.hashCode|-8048879360829830756[0]
// Public signature debug description: hashCode(){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: X.B#toString(){}
// Public signature: /X.B.<EEC>.toString|-1522858123163872138[0]
// Public signature debug description: toString(){}
/* fake */ override fun hashCode(): Int
// CHECK JVM_IR:
// Mangled name: X.B#toString(){}kotlin.String
// Public signature: /X.B.<EEC>.toString|6958853723545266802[0]
// Public signature debug description: toString(){}kotlin.String
// CHECK JS_IR NATIVE:
// Mangled name: X.B{}name
// Public signature: /X.B.<EEC>.name|4231860309499509769[0]
// Public signature debug description: {}name
/* fake */ override fun toString(): String
// CHECK:
// Mangled name: X.B{}name
// Public signature: /X.B.<EEC>.name|4231860309499509769[0]
// Public signature debug description: {}name
/* fake */ override val name: String
// CHECK JVM_IR:
// Mangled name: X.B#<get-name>(){}kotlin.String
// Public signature: /X.B.<EEC>.name.<get-name>|-8006111524522882650[0]
// Public signature debug description: <get-name>(){}kotlin.String
// CHECK JS_IR NATIVE:
// Mangled name: X.B{}ordinal
// Public signature: /X.B.<EEC>.ordinal|1912745122988592376[0]
// Public signature debug description: {}ordinal
/* fake */ override get(): String
// CHECK:
// Mangled name: X.B{}ordinal
// Public signature: /X.B.<EEC>.ordinal|1912745122988592376[0]
// Public signature debug description: {}ordinal
/* fake */ override val ordinal: Int
// CHECK JVM_IR:
// Mangled name: X.B#<get-ordinal>(){}kotlin.Int
// Public signature: /X.B.<EEC>.ordinal.<get-ordinal>|-6902664390061762634[0]
// Public signature debug description: <get-ordinal>(){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: X#valueOf#static(kotlin.String){}
// Public signature: /X.valueOf|-4683474617854611729[0]
// Public signature debug description: valueOf#static(kotlin.String){}
/* fake */ override get(): Int
}
@@ -112,102 +136,127 @@ abstract enum class X : Enum<X> {
// CHECK JVM_IR:
// Mangled name: X#valueOf#static(kotlin.String){}X
// Public signature: /X.valueOf|5795127078210310399[0]
// Public signature debug description: valueOf#static(kotlin.String){}X
// CHECK JS_IR NATIVE:
// Mangled name: X#values#static(){}
// Public signature: /X.values|-8715569000920726747[0]
// Public signature debug description: values#static(){}
fun valueOf(value: String): X
// CHECK JVM_IR:
// Mangled name: X#values#static(){}kotlin.Array<X>
// Public signature: /X.values|-7109739533511471403[0]
// Public signature debug description: values#static(){}kotlin.Array<X>
// CHECK JS_IR NATIVE:
// Mangled name: X#compareTo(X){}
// Public signature: /X.compareTo|1261254128967309541[0]
// Public signature debug description: compareTo(X){}
fun values(): Array<X>
// CHECK JVM_IR:
// Mangled name: X#clone(){}kotlin.Any
// Public signature: /X.clone|-6903128697527593263[0]
// Public signature debug description: clone(){}kotlin.Any
// CHECK JS_IR NATIVE:
// Mangled name: X#equals(kotlin.Any?){}
// Public signature: /X.equals|4638265728071529943[0]
// Public signature debug description: equals(kotlin.Any?){}
protected /* fake */ override fun clone(): Any
// CHECK JVM_IR:
// Mangled name: X#compareTo(X){}kotlin.Int
// Public signature: /X.compareTo|-4945307460605318887[0]
// Public signature debug description: compareTo(X){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: X#hashCode(){}
// Public signature: /X.hashCode|3409210261493131192[0]
// Public signature debug description: hashCode(){}
/* fake */ override operator fun compareTo(other: X): Int
// CHECK JVM_IR:
// Mangled name: X#equals(kotlin.Any?){}kotlin.Boolean
// Public signature: /X.equals|722809408929142791[0]
// Public signature debug description: equals(kotlin.Any?){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: X#toString(){}
// Public signature: /X.toString|-1522858123163872138[0]
// Public signature debug description: toString(){}
/* fake */ override operator fun equals(other: Any?): Boolean
// CHECK JVM_IR:
// Mangled name: X#hashCode(){}kotlin.Int
// Public signature: /X.hashCode|-8048879360829830756[0]
// Public signature debug description: hashCode(){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: X#static{}entries
// Public signature: /X.entries|-5134227801081826149[0]
// Public signature debug description: #static{}entries
/* fake */ override fun hashCode(): Int
// CHECK JVM_IR:
// Mangled name: X#toString(){}kotlin.String
// Public signature: /X.toString|6958853723545266802[0]
// Public signature debug description: toString(){}kotlin.String
// CHECK JS_IR NATIVE:
// Mangled name: X#<get-entries>#static(){}
// Public signature: /X.entries.<get-entries>|-6068527377476727729[0]
// Public signature debug description: <get-entries>#static(){}
/* fake */ override fun toString(): String
// CHECK:
// Mangled name: X#static{}entries
// Public signature: /X.entries|-5134227801081826149[0]
// Public signature debug description: #static{}entries
val entries: EnumEntries<X>
// CHECK JVM_IR:
// Mangled name: X#<get-entries>#static(){}kotlin.enums.EnumEntries<X>
// Public signature: /X.entries.<get-entries>|6681560497291336349[0]
// Public signature debug description: <get-entries>#static(){}kotlin.enums.EnumEntries<X>
// CHECK JS_IR NATIVE:
// Mangled name: X#<get-name>(){}
// Public signature: /X.name.<get-name>|5879344792307730109[0]
// Public signature debug description: <get-name>(){}
get(): EnumEntries<X>
// CHECK:
// Mangled name: X{}name
// Public signature: /X.name|4231860309499509769[0]
// Public signature debug description: {}name
/* fake */ override val name: String
// CHECK JVM_IR:
// Mangled name: X#<get-name>(){}kotlin.String
// Public signature: /X.name.<get-name>|-8006111524522882650[0]
// Public signature debug description: <get-name>(){}kotlin.String
// CHECK JS_IR NATIVE:
// Mangled name: X#<get-ordinal>(){}
// Public signature: /X.ordinal.<get-ordinal>|8409904226035914023[0]
// Public signature debug description: <get-ordinal>(){}
/* fake */ override get(): String
// CHECK:
// Mangled name: X{}ordinal
// Public signature: /X.ordinal|1912745122988592376[0]
// Public signature debug description: {}ordinal
/* fake */ override val ordinal: Int
// CHECK JVM_IR:
// Mangled name: X#<get-ordinal>(){}kotlin.Int
// Public signature: /X.ordinal.<get-ordinal>|-6902664390061762634[0]
// Public signature debug description: <get-ordinal>(){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: X#<get-value>(){}
// Public signature: /X.value.<get-value>|3260093555963109437[0]
// Public signature debug description: <get-value>(){}
/* fake */ override get(): Int
// CHECK:
// Mangled name: X{}value
// Public signature: /X.value|1987073854177347439[0]
// Public signature debug description: {}value
abstract val value: Function0<String>
// CHECK JVM_IR:
// Mangled name: X#<get-value>(){}kotlin.Function0<kotlin.String>
// Public signature: /X.value.<get-value>|-2160558915408168462[0]
// Public signature debug description: <get-value>(){}kotlin.Function0<kotlin.String>
abstract get
}
@@ -215,5 +264,6 @@ abstract enum class X : Enum<X> {
// CHECK JVM_IR:
// Mangled name: #box(){}kotlin.String
// Public signature: /box|-9347091776561469[0]
// Public signature debug description: box(){}kotlin.String
fun box(): String
@@ -1,24 +1,30 @@
// CHECK JVM_IR:
// Mangled name: #test1(kotlin.Int;kotlin.Int){}kotlin.Boolean
// Public signature: /test1|-7551143999400464285[0]
// Public signature debug description: test1(kotlin.Int;kotlin.Int){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test1(kotlin.Int;kotlin.Int){}
// Public signature: /test1|-6134767217751638375[0]
// Public signature debug description: test1(kotlin.Int;kotlin.Int){}
fun test1(a: Int, b: Int): Boolean
// CHECK JVM_IR:
// Mangled name: #test2(kotlin.Int;kotlin.Int){}kotlin.Boolean
// Public signature: /test2|29360423018429037[0]
// Public signature debug description: test2(kotlin.Int;kotlin.Int){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test2(kotlin.Int;kotlin.Int){}
// Public signature: /test2|-1200247296907510564[0]
// Public signature debug description: test2(kotlin.Int;kotlin.Int){}
fun test2(a: Int, b: Int): Boolean
// CHECK JVM_IR:
// Mangled name: #test3(kotlin.Any?;kotlin.Any?){}kotlin.Boolean
// Public signature: /test3|-3154163417477574713[0]
// Public signature debug description: test3(kotlin.Any?;kotlin.Any?){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test3(kotlin.Any?;kotlin.Any?){}
// Public signature: /test3|6801898630268838874[0]
// Public signature debug description: test3(kotlin.Any?;kotlin.Any?){}
fun test3(a: Any?, b: Any?): Boolean
@@ -1,20 +1,24 @@
// CHECK JVM_IR:
// Mangled name: #testEqeq(kotlin.Int;kotlin.Int){}kotlin.Boolean
// Public signature: /testEqeq|-8467980441682237872[0]
// Public signature debug description: testEqeq(kotlin.Int;kotlin.Int){}kotlin.Boolean
fun testEqeq(a: Int, b: Int): Boolean
// CHECK JVM_IR:
// Mangled name: #testEquals(kotlin.Int;kotlin.Int){}kotlin.Boolean
// Public signature: /testEquals|-6776844626244337538[0]
// Public signature debug description: testEquals(kotlin.Int;kotlin.Int){}kotlin.Boolean
fun testEquals(a: Int, b: Int): Boolean
// CHECK JVM_IR:
// Mangled name: #testJEqeqNull(){}kotlin.Boolean
// Public signature: /testJEqeqNull|-16498498668551755[0]
// Public signature debug description: testJEqeqNull(){}kotlin.Boolean
fun testJEqeqNull(): Boolean
// CHECK JVM_IR:
// Mangled name: #testJEqualsNull(){}kotlin.Boolean
// Public signature: /testJEqualsNull|1794297066470075977[0]
// Public signature debug description: testJEqualsNull(){}kotlin.Boolean
fun testJEqualsNull(): Boolean
@@ -1,10 +1,12 @@
// CHECK:
// Mangled name: #test(){}
// Public signature: /test|6620506149988718649[0]
// Public signature debug description: test(){}
fun test(): Unit
// CHECK:
// Mangled name: #use(kotlin.Any){}
// Public signature: /use|-404813706895505622[0]
// Public signature debug description: use(kotlin.Any){}
fun use(a: Any): Unit
@@ -5,6 +5,7 @@ enum class A : Enum<A> {
// CHECK:
// Mangled name: A#<init>(){}
// Public signature: /A.<init>|-5645683436151566731[0]
// Public signature debug description: <init>(){}
private constructor() /* primary */
// CHECK:
// Mangled name: A.V1
@@ -14,93 +15,116 @@ enum class A : Enum<A> {
// CHECK JVM_IR:
// Mangled name: A#valueOf#static(kotlin.String){}A
// Public signature: /A.valueOf|8636923007498802918[0]
// Public signature debug description: valueOf#static(kotlin.String){}A
// CHECK JS_IR NATIVE:
// Mangled name: A#valueOf#static(kotlin.String){}
// Public signature: /A.valueOf|-4683474617854611729[0]
// Public signature debug description: valueOf#static(kotlin.String){}
fun valueOf(value: String): A
// CHECK JVM_IR:
// Mangled name: A#values#static(){}kotlin.Array<A>
// Public signature: /A.values|5753238680897834936[0]
// Public signature debug description: values#static(){}kotlin.Array<A>
// CHECK JS_IR NATIVE:
// Mangled name: A#values#static(){}
// Public signature: /A.values|-8715569000920726747[0]
// Public signature debug description: values#static(){}
fun values(): Array<A>
// CHECK JVM_IR:
// Mangled name: A#clone(){}kotlin.Any
// Public signature: /A.clone|-6903128697527593263[0]
// Public signature debug description: clone(){}kotlin.Any
// CHECK JS_IR NATIVE:
// Mangled name: A#compareTo(A){}
// Public signature: /A.compareTo|5303387127644845713[0]
// Public signature debug description: compareTo(A){}
protected /* fake */ override fun clone(): Any
// CHECK JVM_IR:
// Mangled name: A#compareTo(A){}kotlin.Int
// Public signature: /A.compareTo|-315052537630360750[0]
// Public signature debug description: compareTo(A){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: A#equals(kotlin.Any?){}
// Public signature: /A.equals|4638265728071529943[0]
// Public signature debug description: equals(kotlin.Any?){}
/* fake */ override operator fun compareTo(other: A): Int
// CHECK JVM_IR:
// Mangled name: A#equals(kotlin.Any?){}kotlin.Boolean
// Public signature: /A.equals|722809408929142791[0]
// Public signature debug description: equals(kotlin.Any?){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: A#hashCode(){}
// Public signature: /A.hashCode|3409210261493131192[0]
// Public signature debug description: hashCode(){}
/* fake */ override operator fun equals(other: Any?): Boolean
// CHECK JVM_IR:
// Mangled name: A#hashCode(){}kotlin.Int
// Public signature: /A.hashCode|-8048879360829830756[0]
// Public signature debug description: hashCode(){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: A#toString(){}
// Public signature: /A.toString|-1522858123163872138[0]
// Public signature debug description: toString(){}
/* fake */ override fun hashCode(): Int
// CHECK JVM_IR:
// Mangled name: A#toString(){}kotlin.String
// Public signature: /A.toString|6958853723545266802[0]
// Public signature debug description: toString(){}kotlin.String
// CHECK JS_IR NATIVE:
// Mangled name: A#static{}entries
// Public signature: /A.entries|-5134227801081826149[0]
// Public signature debug description: #static{}entries
/* fake */ override fun toString(): String
// CHECK:
// Mangled name: A#static{}entries
// Public signature: /A.entries|-5134227801081826149[0]
// Public signature debug description: #static{}entries
val entries: EnumEntries<A>
// CHECK JVM_IR:
// Mangled name: A#<get-entries>#static(){}kotlin.enums.EnumEntries<A>
// Public signature: /A.entries.<get-entries>|3279885591622842062[0]
// Public signature debug description: <get-entries>#static(){}kotlin.enums.EnumEntries<A>
// CHECK JS_IR NATIVE:
// Mangled name: A{}name
// Public signature: /A.name|4231860309499509769[0]
// Public signature debug description: {}name
get(): EnumEntries<A>
// CHECK:
// Mangled name: A{}name
// Public signature: /A.name|4231860309499509769[0]
// Public signature debug description: {}name
/* fake */ override val name: String
// CHECK JVM_IR:
// Mangled name: A#<get-name>(){}kotlin.String
// Public signature: /A.name.<get-name>|-8006111524522882650[0]
// Public signature debug description: <get-name>(){}kotlin.String
// CHECK JS_IR NATIVE:
// Mangled name: A{}ordinal
// Public signature: /A.ordinal|1912745122988592376[0]
// Public signature debug description: {}ordinal
/* fake */ override get(): String
// CHECK:
// Mangled name: A{}ordinal
// Public signature: /A.ordinal|1912745122988592376[0]
// Public signature debug description: {}ordinal
/* fake */ override val ordinal: Int
// CHECK JVM_IR:
// Mangled name: A#<get-ordinal>(){}kotlin.Int
// Public signature: /A.ordinal.<get-ordinal>|-6902664390061762634[0]
// Public signature debug description: <get-ordinal>(){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: #testAnnotated_throwsJvm(A){}
// Public signature: /testAnnotated_throwsJvm|4125008918330317559[0]
// Public signature debug description: testAnnotated_throwsJvm(A){}
/* fake */ override get(): Int
}
@@ -108,48 +132,58 @@ enum class A : Enum<A> {
// CHECK:
// Mangled name: #testAnnotated_throwsJvm(A){}
// Public signature: /testAnnotated_throwsJvm|4125008918330317559[0]
// Public signature debug description: testAnnotated_throwsJvm(A){}
fun testAnnotated_throwsJvm(a: A): Unit
// CHECK JVM_IR:
// Mangled name: #testExpression_throws(A){}kotlin.Int
// Public signature: /testExpression_throws|-3237050390749274330[0]
// Public signature debug description: testExpression_throws(A){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: #testIfTheElseAnnotated_throwsJvm(A;kotlin.Boolean){}
// Public signature: /testIfTheElseAnnotated_throwsJvm|2206683935431102388[0]
// Public signature debug description: testIfTheElseAnnotated_throwsJvm(A;kotlin.Boolean){}
fun testExpression_throws(a: A): Int
// CHECK:
// Mangled name: #testIfTheElseAnnotated_throwsJvm(A;kotlin.Boolean){}
// Public signature: /testIfTheElseAnnotated_throwsJvm|2206683935431102388[0]
// Public signature debug description: testIfTheElseAnnotated_throwsJvm(A;kotlin.Boolean){}
fun testIfTheElseAnnotated_throwsJvm(a: A, flag: Boolean): Unit
// CHECK:
// Mangled name: #testIfTheElseParenthesized_throwsJvm(A;kotlin.Boolean){}
// Public signature: /testIfTheElseParenthesized_throwsJvm|3170189440226289413[0]
// Public signature debug description: testIfTheElseParenthesized_throwsJvm(A;kotlin.Boolean){}
fun testIfTheElseParenthesized_throwsJvm(a: A, flag: Boolean): Unit
// CHECK:
// Mangled name: #testIfTheElseStatement_empty(A;kotlin.Boolean){}
// Public signature: /testIfTheElseStatement_empty|303316846698538218[0]
// Public signature debug description: testIfTheElseStatement_empty(A;kotlin.Boolean){}
fun testIfTheElseStatement_empty(a: A, flag: Boolean): Unit
// CHECK:
// Mangled name: #testLambdaResultExpression_throws(A){}
// Public signature: /testLambdaResultExpression_throws|6372161286444781898[0]
// Public signature debug description: testLambdaResultExpression_throws(A){}
fun testLambdaResultExpression_throws(a: A): Unit
// CHECK:
// Mangled name: #testParenthesized_throwsJvm(A){}
// Public signature: /testParenthesized_throwsJvm|6011674528839266385[0]
// Public signature debug description: testParenthesized_throwsJvm(A){}
fun testParenthesized_throwsJvm(a: A): Unit
// CHECK:
// Mangled name: #testStatement_empty(A){}
// Public signature: /testStatement_empty|7105275116252213819[0]
// Public signature debug description: testStatement_empty(A){}
fun testStatement_empty(a: A): Unit
// CHECK:
// Mangled name: #testVariableAssignment_throws(A){}
// Public signature: /testVariableAssignment_throws|3390143287882484978[0]
// Public signature debug description: testVariableAssignment_throws(A){}
fun testVariableAssignment_throws(a: A): Unit
@@ -1,10 +1,12 @@
// CHECK:
// Mangled name: #with1(kotlin.Any?;kotlin.Function1<kotlin.Any?,kotlin.Unit>){}
// Public signature: /with1|7457831097191590523[0]
// Public signature debug description: with1(kotlin.Any?;kotlin.Function1<kotlin.Any?,kotlin.Unit>){}
fun with1(receiver: Any?, block: @ExtensionFunctionType Function1<Any?, Unit>): Unit
// CHECK:
// Mangled name: #with2(kotlin.Any?;kotlin.Function1<kotlin.Any?,kotlin.Unit>){}
// Public signature: /with2|-8465193088240547938[0]
// Public signature debug description: with2(kotlin.Any?;kotlin.Function1<kotlin.Any?,kotlin.Unit>){}
fun with2(receiver: Any?, block: @ExtensionFunctionType Function1<Any?, Unit>): Unit
@@ -1,8 +1,10 @@
// CHECK JVM_IR:
// Mangled name: #test(kotlin.Any?;kotlin.Function3<kotlin.Any,kotlin.Int,kotlin.String,kotlin.Unit>){}kotlin.Unit?
// Public signature: /test|-6483776340446886488[0]
// Public signature debug description: test(kotlin.Any?;kotlin.Function3<kotlin.Any,kotlin.Int,kotlin.String,kotlin.Unit>){}kotlin.Unit?
// CHECK JS_IR NATIVE:
// Mangled name: #test(kotlin.Any?;kotlin.Function3<kotlin.Any,kotlin.Int,kotlin.String,kotlin.Unit>){}
// Public signature: /test|7562359801694057104[0]
// Public signature debug description: test(kotlin.Any?;kotlin.Function3<kotlin.Any,kotlin.Int,kotlin.String,kotlin.Unit>){}
fun test(receiver: Any?, fn: @ExtensionFunctionType Function3<Any, Int, String, Unit>): Unit?
@@ -1,20 +1,25 @@
// CHECK JVM_IR:
// Mangled name: #test5@kotlin.String(){}kotlin.String
// Public signature: /test5|7396849134865790053[0]
// Public signature debug description: test5@kotlin.String(){}kotlin.String
// CHECK JS_IR NATIVE:
// Mangled name: #test5@kotlin.String(){}
// Public signature: /test5|6764932899271361379[0]
// Public signature debug description: test5@kotlin.String(){}
fun String.test5(): String
// CHECK:
// Mangled name: @kotlin.String{}okext
// Public signature: /okext|-7546376167507800782[0]
// Public signature debug description: @kotlin.String{}okext
val String.okext: String
// CHECK JVM_IR:
// Mangled name: #<get-okext>@kotlin.String(){}kotlin.String
// Public signature: /okext.<get-okext>|-4397362169527603922[0]
// Public signature debug description: <get-okext>@kotlin.String(){}kotlin.String
// CHECK JS_IR NATIVE:
// Mangled name: #<get-okext>@kotlin.String(){}
// Public signature: /okext.<get-okext>|-5103161093403962760[0]
// Public signature debug description: <get-okext>@kotlin.String(){}
get(): String
@@ -1,32 +1,40 @@
// CHECK:
// Mangled name: {}testSimple
// Public signature: /testSimple|4953321271268423714[0]
// Public signature debug description: {}testSimple
var testSimple: Int
// CHECK JVM_IR:
// Mangled name: #<get-testSimple>(){}kotlin.Int
// Public signature: /testSimple.<get-testSimple>|-8005436010067357235[0]
// Public signature debug description: <get-testSimple>(){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: #<get-testSimple>(){}
// Public signature: /testSimple.<get-testSimple>|-8679451114963008530[0]
// Public signature debug description: <get-testSimple>(){}
get
// CHECK:
// Mangled name: #<set-testSimple>(kotlin.Int){}
// Public signature: /testSimple.<set-testSimple>|524645050851415713[0]
// Public signature debug description: <set-testSimple>(kotlin.Int){}
set(value: Int): Unit
// CHECK:
// Mangled name: {}testAugmented
// Public signature: /testAugmented|-6564959773952065103[0]
// Public signature debug description: {}testAugmented
var testAugmented: Int
// CHECK JVM_IR:
// Mangled name: #<get-testAugmented>(){}kotlin.Int
// Public signature: /testAugmented.<get-testAugmented>|2800173571752957459[0]
// Public signature debug description: <get-testAugmented>(){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: #<get-testAugmented>(){}
// Public signature: /testAugmented.<get-testAugmented>|-3271199584899613905[0]
// Public signature debug description: <get-testAugmented>(){}
get
// CHECK:
// Mangled name: #<set-testAugmented>(kotlin.Int){}
// Public signature: /testAugmented.<set-testAugmented>|-5845041817875850586[0]
// Public signature debug description: <set-testAugmented>(kotlin.Int){}
set(value: Int): Unit
@@ -1,16 +1,20 @@
// CHECK JVM_IR:
// Mangled name: #testD(kotlin.Comparable<kotlin.Double>;kotlin.Comparable<kotlin.Double>){}kotlin.Boolean
// Public signature: /testD|-8334682674453061094[0]
// Public signature debug description: testD(kotlin.Comparable<kotlin.Double>;kotlin.Comparable<kotlin.Double>){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #testD(kotlin.Comparable<kotlin.Double>;kotlin.Comparable<kotlin.Double>){}
// Public signature: /testD|6420307726503450357[0]
// Public signature debug description: testD(kotlin.Comparable<kotlin.Double>;kotlin.Comparable<kotlin.Double>){}
fun testD(x: Comparable<Double>, y: Comparable<Double>): Boolean
// CHECK JVM_IR:
// Mangled name: #testF(kotlin.Comparable<kotlin.Float>;kotlin.Comparable<kotlin.Float>){}kotlin.Boolean
// Public signature: /testF|2241994539085447467[0]
// Public signature debug description: testF(kotlin.Comparable<kotlin.Float>;kotlin.Comparable<kotlin.Float>){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #testF(kotlin.Comparable<kotlin.Float>;kotlin.Comparable<kotlin.Float>){}
// Public signature: /testF|5734029490201124122[0]
// Public signature debug description: testF(kotlin.Comparable<kotlin.Float>;kotlin.Comparable<kotlin.Float>){}
fun testF(x: Comparable<Float>, y: Comparable<Float>): Boolean
@@ -1,8 +1,10 @@
// CHECK JVM_IR:
// Mangled name: #test(kotlin.Any){}kotlin.Boolean
// Public signature: /test|1012595665164220820[0]
// Public signature debug description: test(kotlin.Any){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test(kotlin.Any){}
// Public signature: /test|-7985792749252989017[0]
// Public signature debug description: test(kotlin.Any){}
fun test(x: Any): Boolean
@@ -1,88 +1,110 @@
// CHECK JVM_IR:
// Mangled name: #test1d(kotlin.Double;kotlin.Double){}kotlin.Int
// Public signature: /test1d|1918027866721027919[0]
// Public signature debug description: test1d(kotlin.Double;kotlin.Double){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: #test1d(kotlin.Double;kotlin.Double){}
// Public signature: /test1d|8996428331240250899[0]
// Public signature debug description: test1d(kotlin.Double;kotlin.Double){}
fun test1d(x: Double, y: Double): Int
// CHECK JVM_IR:
// Mangled name: #test1f(kotlin.Float;kotlin.Float){}kotlin.Int
// Public signature: /test1f|5423428835300813429[0]
// Public signature debug description: test1f(kotlin.Float;kotlin.Float){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: #test1f(kotlin.Float;kotlin.Float){}
// Public signature: /test1f|3996419052229966122[0]
// Public signature debug description: test1f(kotlin.Float;kotlin.Float){}
fun test1f(x: Float, y: Float): Int
// CHECK JVM_IR:
// Mangled name: #test1fr@kotlin.Float(kotlin.Float){}kotlin.Int
// Public signature: /test1fr|-1774976204846015291[0]
// Public signature debug description: test1fr@kotlin.Float(kotlin.Float){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: #test1fr@kotlin.Float(kotlin.Float){}
// Public signature: /test1fr|-5309606232782328951[0]
// Public signature debug description: test1fr@kotlin.Float(kotlin.Float){}
fun Float.test1fr(x: Float): Int
// CHECK JVM_IR:
// Mangled name: #test2d(kotlin.Double;kotlin.Any){}kotlin.Boolean
// Public signature: /test2d|1868332233853062954[0]
// Public signature debug description: test2d(kotlin.Double;kotlin.Any){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test2d(kotlin.Double;kotlin.Any){}
// Public signature: /test2d|3048714195566850595[0]
// Public signature debug description: test2d(kotlin.Double;kotlin.Any){}
fun test2d(x: Double, y: Any): Boolean
// CHECK JVM_IR:
// Mangled name: #test2f(kotlin.Float;kotlin.Any){}kotlin.Boolean
// Public signature: /test2f|-5327474494142874991[0]
// Public signature debug description: test2f(kotlin.Float;kotlin.Any){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test2f(kotlin.Float;kotlin.Any){}
// Public signature: /test2f|-8233698539945437419[0]
// Public signature debug description: test2f(kotlin.Float;kotlin.Any){}
fun test2f(x: Float, y: Any): Boolean
// CHECK JVM_IR:
// Mangled name: #test2fr@kotlin.Float(kotlin.Any){}kotlin.Boolean
// Public signature: /test2fr|-124673155428987679[0]
// Public signature debug description: test2fr@kotlin.Float(kotlin.Any){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test2fr@kotlin.Float(kotlin.Any){}
// Public signature: /test2fr|5632769814565198925[0]
// Public signature debug description: test2fr@kotlin.Float(kotlin.Any){}
fun Float.test2fr(x: Any): Boolean
// CHECK JVM_IR:
// Mangled name: #test3d(kotlin.Any;kotlin.Any){}kotlin.Boolean
// Public signature: /test3d|-5073128912492477196[0]
// Public signature debug description: test3d(kotlin.Any;kotlin.Any){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test3d(kotlin.Any;kotlin.Any){}
// Public signature: /test3d|1265476561252316973[0]
// Public signature debug description: test3d(kotlin.Any;kotlin.Any){}
fun test3d(x: Any, y: Any): Boolean
// CHECK JVM_IR:
// Mangled name: #test3f(kotlin.Any;kotlin.Any){}kotlin.Boolean
// Public signature: /test3f|1058712547644060622[0]
// Public signature debug description: test3f(kotlin.Any;kotlin.Any){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test3f(kotlin.Any;kotlin.Any){}
// Public signature: /test3f|-4162669948505292416[0]
// Public signature debug description: test3f(kotlin.Any;kotlin.Any){}
fun test3f(x: Any, y: Any): Boolean
// CHECK JVM_IR:
// Mangled name: #test3fr@kotlin.Float(kotlin.Any){}kotlin.Boolean
// Public signature: /test3fr|1133351613663431340[0]
// Public signature debug description: test3fr@kotlin.Float(kotlin.Any){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test3fr@kotlin.Float(kotlin.Any){}
// Public signature: /test3fr|-4692729798478355645[0]
// Public signature debug description: test3fr@kotlin.Float(kotlin.Any){}
fun Float.test3fr(x: Any): Boolean
// CHECK JVM_IR:
// Mangled name: #testDF(kotlin.Any;kotlin.Any){}kotlin.Boolean
// Public signature: /testDF|9162091323093859710[0]
// Public signature debug description: testDF(kotlin.Any;kotlin.Any){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #testDF(kotlin.Any;kotlin.Any){}
// Public signature: /testDF|5325280582850746470[0]
// Public signature debug description: testDF(kotlin.Any;kotlin.Any){}
fun testDF(x: Any, y: Any): Boolean
// CHECK JVM_IR:
// Mangled name: #testFD(kotlin.Any;kotlin.Any){}kotlin.Boolean
// Public signature: /testFD|-1860793291456176126[0]
// Public signature debug description: testFD(kotlin.Any;kotlin.Any){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #testFD(kotlin.Any;kotlin.Any){}
// Public signature: /testFD|-8637640662829760144[0]
// Public signature debug description: testFD(kotlin.Any;kotlin.Any){}
fun testFD(x: Any, y: Any): Boolean
@@ -1,112 +1,140 @@
// CHECK JVM_IR:
// Mangled name: #test1d(kotlin.Double;kotlin.Double){}kotlin.Boolean
// Public signature: /test1d|-6076864717398730791[0]
// Public signature debug description: test1d(kotlin.Double;kotlin.Double){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test1d(kotlin.Double;kotlin.Double){}
// Public signature: /test1d|8996428331240250899[0]
// Public signature debug description: test1d(kotlin.Double;kotlin.Double){}
fun test1d(x: Double, y: Double): Boolean
// CHECK JVM_IR:
// Mangled name: #test1f(kotlin.Float;kotlin.Float){}kotlin.Boolean
// Public signature: /test1f|-2409682264718997877[0]
// Public signature debug description: test1f(kotlin.Float;kotlin.Float){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test1f(kotlin.Float;kotlin.Float){}
// Public signature: /test1f|3996419052229966122[0]
// Public signature debug description: test1f(kotlin.Float;kotlin.Float){}
fun test1f(x: Float, y: Float): Boolean
// CHECK JVM_IR:
// Mangled name: #test2d(kotlin.Double;kotlin.Double?){}kotlin.Boolean
// Public signature: /test2d|486392787565228433[0]
// Public signature debug description: test2d(kotlin.Double;kotlin.Double?){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test2d(kotlin.Double;kotlin.Double?){}
// Public signature: /test2d|5216353050929315910[0]
// Public signature debug description: test2d(kotlin.Double;kotlin.Double?){}
fun test2d(x: Double, y: Double?): Boolean
// CHECK JVM_IR:
// Mangled name: #test2f(kotlin.Float;kotlin.Float?){}kotlin.Boolean
// Public signature: /test2f|-1096698028658974991[0]
// Public signature debug description: test2f(kotlin.Float;kotlin.Float?){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test2f(kotlin.Float;kotlin.Float?){}
// Public signature: /test2f|-1844252481919023798[0]
// Public signature debug description: test2f(kotlin.Float;kotlin.Float?){}
fun test2f(x: Float, y: Float?): Boolean
// CHECK JVM_IR:
// Mangled name: #test3d(kotlin.Double;kotlin.Any){}kotlin.Boolean
// Public signature: /test3d|-7647993882327577455[0]
// Public signature debug description: test3d(kotlin.Double;kotlin.Any){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test3d(kotlin.Double;kotlin.Any){}
// Public signature: /test3d|8418867848024398421[0]
// Public signature debug description: test3d(kotlin.Double;kotlin.Any){}
fun test3d(x: Double, y: Any): Boolean
// CHECK JVM_IR:
// Mangled name: #test3f(kotlin.Float;kotlin.Any){}kotlin.Boolean
// Public signature: /test3f|-6031401993389855448[0]
// Public signature debug description: test3f(kotlin.Float;kotlin.Any){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test3f(kotlin.Float;kotlin.Any){}
// Public signature: /test3f|4271846387727929079[0]
// Public signature debug description: test3f(kotlin.Float;kotlin.Any){}
fun test3f(x: Float, y: Any): Boolean
// CHECK JVM_IR:
// Mangled name: #test4d(kotlin.Double;kotlin.Number){}kotlin.Boolean
// Public signature: /test4d|6663537144393076314[0]
// Public signature debug description: test4d(kotlin.Double;kotlin.Number){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test4d(kotlin.Double;kotlin.Number){}
// Public signature: /test4d|-14614379237503414[0]
// Public signature debug description: test4d(kotlin.Double;kotlin.Number){}
fun test4d(x: Double, y: Number): Boolean
// CHECK JVM_IR:
// Mangled name: #test4f(kotlin.Float;kotlin.Number){}kotlin.Boolean
// Public signature: /test4f|3595885060539941485[0]
// Public signature debug description: test4f(kotlin.Float;kotlin.Number){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test4f(kotlin.Float;kotlin.Number){}
// Public signature: /test4f|8833004791687011909[0]
// Public signature debug description: test4f(kotlin.Float;kotlin.Number){}
fun test4f(x: Float, y: Number): Boolean
// CHECK JVM_IR:
// Mangled name: #test5d(kotlin.Double;kotlin.Any){}kotlin.Boolean
// Public signature: /test5d|3958951524111099104[0]
// Public signature debug description: test5d(kotlin.Double;kotlin.Any){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test5d(kotlin.Double;kotlin.Any){}
// Public signature: /test5d|8194261571129163015[0]
// Public signature debug description: test5d(kotlin.Double;kotlin.Any){}
fun test5d(x: Double, y: Any): Boolean
// CHECK JVM_IR:
// Mangled name: #test5f(kotlin.Float;kotlin.Any){}kotlin.Boolean
// Public signature: /test5f|3370721745745603328[0]
// Public signature debug description: test5f(kotlin.Float;kotlin.Any){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test5f(kotlin.Float;kotlin.Any){}
// Public signature: /test5f|1275090490894066717[0]
// Public signature debug description: test5f(kotlin.Float;kotlin.Any){}
fun test5f(x: Float, y: Any): Boolean
// CHECK JVM_IR:
// Mangled name: #test6d(kotlin.Any;kotlin.Any){}kotlin.Boolean
// Public signature: /test6d|4973138391607645243[0]
// Public signature debug description: test6d(kotlin.Any;kotlin.Any){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test6d(kotlin.Any;kotlin.Any){}
// Public signature: /test6d|-2043957087845204486[0]
// Public signature debug description: test6d(kotlin.Any;kotlin.Any){}
fun test6d(x: Any, y: Any): Boolean
// CHECK JVM_IR:
// Mangled name: #test6f(kotlin.Any;kotlin.Any){}kotlin.Boolean
// Public signature: /test6f|-4566736704199373988[0]
// Public signature debug description: test6f(kotlin.Any;kotlin.Any){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test6f(kotlin.Any;kotlin.Any){}
// Public signature: /test6f|3266287064971521993[0]
// Public signature debug description: test6f(kotlin.Any;kotlin.Any){}
fun test6f(x: Any, y: Any): Boolean
// CHECK JVM_IR:
// Mangled name: #testDF(kotlin.Any;kotlin.Any){}kotlin.Boolean
// Public signature: /testDF|9162091323093859710[0]
// Public signature debug description: testDF(kotlin.Any;kotlin.Any){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #testDF(kotlin.Any;kotlin.Any){}
// Public signature: /testDF|5325280582850746470[0]
// Public signature debug description: testDF(kotlin.Any;kotlin.Any){}
fun testDF(x: Any, y: Any): Boolean
// CHECK JVM_IR:
// Mangled name: #testFD(kotlin.Any;kotlin.Any){}kotlin.Boolean
// Public signature: /testFD|-1860793291456176126[0]
// Public signature debug description: testFD(kotlin.Any;kotlin.Any){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #testFD(kotlin.Any;kotlin.Any){}
// Public signature: /testFD|-8637640662829760144[0]
// Public signature debug description: testFD(kotlin.Any;kotlin.Any){}
fun testFD(x: Any, y: Any): Boolean
@@ -1,160 +1,200 @@
// CHECK JVM_IR:
// Mangled name: #test1d(kotlin.Double;kotlin.Double){}kotlin.Boolean
// Public signature: /test1d|-6076864717398730791[0]
// Public signature debug description: test1d(kotlin.Double;kotlin.Double){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test1d(kotlin.Double;kotlin.Double){}
// Public signature: /test1d|8996428331240250899[0]
// Public signature debug description: test1d(kotlin.Double;kotlin.Double){}
fun test1d(x: Double, y: Double): Boolean
// CHECK JVM_IR:
// Mangled name: #test1f(kotlin.Float;kotlin.Float){}kotlin.Boolean
// Public signature: /test1f|-2409682264718997877[0]
// Public signature debug description: test1f(kotlin.Float;kotlin.Float){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test1f(kotlin.Float;kotlin.Float){}
// Public signature: /test1f|3996419052229966122[0]
// Public signature debug description: test1f(kotlin.Float;kotlin.Float){}
fun test1f(x: Float, y: Float): Boolean
// CHECK JVM_IR:
// Mangled name: #test1fr@kotlin.Float(kotlin.Float){}kotlin.Boolean
// Public signature: /test1fr|-694393964183188653[0]
// Public signature debug description: test1fr@kotlin.Float(kotlin.Float){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test1fr@kotlin.Float(kotlin.Float){}
// Public signature: /test1fr|-5309606232782328951[0]
// Public signature debug description: test1fr@kotlin.Float(kotlin.Float){}
fun Float.test1fr(x: Float): Boolean
// CHECK JVM_IR:
// Mangled name: #test2d(kotlin.Double;kotlin.Double?){}kotlin.Boolean
// Public signature: /test2d|486392787565228433[0]
// Public signature debug description: test2d(kotlin.Double;kotlin.Double?){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test2d(kotlin.Double;kotlin.Double?){}
// Public signature: /test2d|5216353050929315910[0]
// Public signature debug description: test2d(kotlin.Double;kotlin.Double?){}
fun test2d(x: Double, y: Double?): Boolean
// CHECK JVM_IR:
// Mangled name: #test2f(kotlin.Float;kotlin.Float?){}kotlin.Boolean
// Public signature: /test2f|-1096698028658974991[0]
// Public signature debug description: test2f(kotlin.Float;kotlin.Float?){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test2f(kotlin.Float;kotlin.Float?){}
// Public signature: /test2f|-1844252481919023798[0]
// Public signature debug description: test2f(kotlin.Float;kotlin.Float?){}
fun test2f(x: Float, y: Float?): Boolean
// CHECK JVM_IR:
// Mangled name: #test2fr@kotlin.Float(kotlin.Float?){}kotlin.Boolean
// Public signature: /test2fr|-7195652255237968185[0]
// Public signature debug description: test2fr@kotlin.Float(kotlin.Float?){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test2fr@kotlin.Float(kotlin.Float?){}
// Public signature: /test2fr|8105810680059260874[0]
// Public signature debug description: test2fr@kotlin.Float(kotlin.Float?){}
fun Float.test2fr(x: Float?): Boolean
// CHECK JVM_IR:
// Mangled name: #test3d(kotlin.Double;kotlin.Any){}kotlin.Boolean
// Public signature: /test3d|-7647993882327577455[0]
// Public signature debug description: test3d(kotlin.Double;kotlin.Any){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test3d(kotlin.Double;kotlin.Any){}
// Public signature: /test3d|8418867848024398421[0]
// Public signature debug description: test3d(kotlin.Double;kotlin.Any){}
fun test3d(x: Double, y: Any): Boolean
// CHECK JVM_IR:
// Mangled name: #test3f(kotlin.Float;kotlin.Any){}kotlin.Boolean
// Public signature: /test3f|-6031401993389855448[0]
// Public signature debug description: test3f(kotlin.Float;kotlin.Any){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test3f(kotlin.Float;kotlin.Any){}
// Public signature: /test3f|4271846387727929079[0]
// Public signature debug description: test3f(kotlin.Float;kotlin.Any){}
fun test3f(x: Float, y: Any): Boolean
// CHECK JVM_IR:
// Mangled name: #test3fr@kotlin.Float(kotlin.Any){}kotlin.Boolean
// Public signature: /test3fr|1133351613663431340[0]
// Public signature debug description: test3fr@kotlin.Float(kotlin.Any){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test3fr@kotlin.Float(kotlin.Any){}
// Public signature: /test3fr|-4692729798478355645[0]
// Public signature debug description: test3fr@kotlin.Float(kotlin.Any){}
fun Float.test3fr(x: Any): Boolean
// CHECK JVM_IR:
// Mangled name: #test4d(kotlin.Double;kotlin.Number){}kotlin.Boolean
// Public signature: /test4d|6663537144393076314[0]
// Public signature debug description: test4d(kotlin.Double;kotlin.Number){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test4d(kotlin.Double;kotlin.Number){}
// Public signature: /test4d|-14614379237503414[0]
// Public signature debug description: test4d(kotlin.Double;kotlin.Number){}
fun test4d(x: Double, y: Number): Boolean
// CHECK JVM_IR:
// Mangled name: #test4f(kotlin.Float;kotlin.Number){}kotlin.Boolean
// Public signature: /test4f|3595885060539941485[0]
// Public signature debug description: test4f(kotlin.Float;kotlin.Number){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test4f(kotlin.Float;kotlin.Number){}
// Public signature: /test4f|8833004791687011909[0]
// Public signature debug description: test4f(kotlin.Float;kotlin.Number){}
fun test4f(x: Float, y: Number): Boolean
// CHECK JVM_IR:
// Mangled name: #test4fr@kotlin.Float(kotlin.Number){}kotlin.Boolean
// Public signature: /test4fr|4585384914379603000[0]
// Public signature debug description: test4fr@kotlin.Float(kotlin.Number){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test4fr@kotlin.Float(kotlin.Number){}
// Public signature: /test4fr|-8697981594077900342[0]
// Public signature debug description: test4fr@kotlin.Float(kotlin.Number){}
fun Float.test4fr(x: Number): Boolean
// CHECK JVM_IR:
// Mangled name: #test5d(kotlin.Double;kotlin.Any){}kotlin.Boolean
// Public signature: /test5d|3958951524111099104[0]
// Public signature debug description: test5d(kotlin.Double;kotlin.Any){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test5d(kotlin.Double;kotlin.Any){}
// Public signature: /test5d|8194261571129163015[0]
// Public signature debug description: test5d(kotlin.Double;kotlin.Any){}
fun test5d(x: Double, y: Any): Boolean
// CHECK JVM_IR:
// Mangled name: #test5f(kotlin.Float;kotlin.Any){}kotlin.Boolean
// Public signature: /test5f|3370721745745603328[0]
// Public signature debug description: test5f(kotlin.Float;kotlin.Any){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test5f(kotlin.Float;kotlin.Any){}
// Public signature: /test5f|1275090490894066717[0]
// Public signature debug description: test5f(kotlin.Float;kotlin.Any){}
fun test5f(x: Float, y: Any): Boolean
// CHECK JVM_IR:
// Mangled name: #test5fr@kotlin.Float(kotlin.Any){}kotlin.Boolean
// Public signature: /test5fr|-7273239139732099583[0]
// Public signature debug description: test5fr@kotlin.Float(kotlin.Any){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test5fr@kotlin.Float(kotlin.Any){}
// Public signature: /test5fr|7675506717999064449[0]
// Public signature debug description: test5fr@kotlin.Float(kotlin.Any){}
fun Float.test5fr(x: Any): Boolean
// CHECK JVM_IR:
// Mangled name: #test6d(kotlin.Any;kotlin.Any){}kotlin.Boolean
// Public signature: /test6d|4973138391607645243[0]
// Public signature debug description: test6d(kotlin.Any;kotlin.Any){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test6d(kotlin.Any;kotlin.Any){}
// Public signature: /test6d|-2043957087845204486[0]
// Public signature debug description: test6d(kotlin.Any;kotlin.Any){}
fun test6d(x: Any, y: Any): Boolean
// CHECK JVM_IR:
// Mangled name: #test6f(kotlin.Any;kotlin.Any){}kotlin.Boolean
// Public signature: /test6f|-4566736704199373988[0]
// Public signature debug description: test6f(kotlin.Any;kotlin.Any){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test6f(kotlin.Any;kotlin.Any){}
// Public signature: /test6f|3266287064971521993[0]
// Public signature debug description: test6f(kotlin.Any;kotlin.Any){}
fun test6f(x: Any, y: Any): Boolean
// CHECK JVM_IR:
// Mangled name: #test6fr@kotlin.Float(kotlin.Any){}kotlin.Boolean
// Public signature: /test6fr|-6547972600052106597[0]
// Public signature debug description: test6fr@kotlin.Float(kotlin.Any){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test6fr@kotlin.Float(kotlin.Any){}
// Public signature: /test6fr|3433734513009429332[0]
// Public signature debug description: test6fr@kotlin.Float(kotlin.Any){}
fun Float.test6fr(x: Any): Boolean
// CHECK JVM_IR:
// Mangled name: #testDF(kotlin.Any;kotlin.Any){}kotlin.Boolean
// Public signature: /testDF|9162091323093859710[0]
// Public signature debug description: testDF(kotlin.Any;kotlin.Any){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #testDF(kotlin.Any;kotlin.Any){}
// Public signature: /testDF|5325280582850746470[0]
// Public signature debug description: testDF(kotlin.Any;kotlin.Any){}
fun testDF(x: Any, y: Any): Boolean
// CHECK JVM_IR:
// Mangled name: #testFD(kotlin.Any;kotlin.Any){}kotlin.Boolean
// Public signature: /testFD|-1860793291456176126[0]
// Public signature debug description: testFD(kotlin.Any;kotlin.Any){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #testFD(kotlin.Any;kotlin.Any){}
// Public signature: /testFD|-8637640662829760144[0]
// Public signature debug description: testFD(kotlin.Any;kotlin.Any){}
fun testFD(x: Any, y: Any): Boolean
@@ -1,112 +1,140 @@
// CHECK JVM_IR:
// Mangled name: #test1d(kotlin.Double;kotlin.Double){}kotlin.Boolean
// Public signature: /test1d|-6076864717398730791[0]
// Public signature debug description: test1d(kotlin.Double;kotlin.Double){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test1d(kotlin.Double;kotlin.Double){}
// Public signature: /test1d|8996428331240250899[0]
// Public signature debug description: test1d(kotlin.Double;kotlin.Double){}
fun test1d(x: Double, y: Double): Boolean
// CHECK JVM_IR:
// Mangled name: #test1f(kotlin.Float;kotlin.Float){}kotlin.Boolean
// Public signature: /test1f|-2409682264718997877[0]
// Public signature debug description: test1f(kotlin.Float;kotlin.Float){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test1f(kotlin.Float;kotlin.Float){}
// Public signature: /test1f|3996419052229966122[0]
// Public signature debug description: test1f(kotlin.Float;kotlin.Float){}
fun test1f(x: Float, y: Float): Boolean
// CHECK JVM_IR:
// Mangled name: #test2d(kotlin.Double;kotlin.Double?){}kotlin.Boolean
// Public signature: /test2d|486392787565228433[0]
// Public signature debug description: test2d(kotlin.Double;kotlin.Double?){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test2d(kotlin.Double;kotlin.Double?){}
// Public signature: /test2d|5216353050929315910[0]
// Public signature debug description: test2d(kotlin.Double;kotlin.Double?){}
fun test2d(x: Double, y: Double?): Boolean
// CHECK JVM_IR:
// Mangled name: #test2f(kotlin.Float;kotlin.Float?){}kotlin.Boolean
// Public signature: /test2f|-1096698028658974991[0]
// Public signature debug description: test2f(kotlin.Float;kotlin.Float?){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test2f(kotlin.Float;kotlin.Float?){}
// Public signature: /test2f|-1844252481919023798[0]
// Public signature debug description: test2f(kotlin.Float;kotlin.Float?){}
fun test2f(x: Float, y: Float?): Boolean
// CHECK JVM_IR:
// Mangled name: #test3d(kotlin.Double;kotlin.Any){}kotlin.Boolean
// Public signature: /test3d|-7647993882327577455[0]
// Public signature debug description: test3d(kotlin.Double;kotlin.Any){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test3d(kotlin.Double;kotlin.Any){}
// Public signature: /test3d|8418867848024398421[0]
// Public signature debug description: test3d(kotlin.Double;kotlin.Any){}
fun test3d(x: Double, y: Any): Boolean
// CHECK JVM_IR:
// Mangled name: #test3f(kotlin.Float;kotlin.Any){}kotlin.Boolean
// Public signature: /test3f|-6031401993389855448[0]
// Public signature debug description: test3f(kotlin.Float;kotlin.Any){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test3f(kotlin.Float;kotlin.Any){}
// Public signature: /test3f|4271846387727929079[0]
// Public signature debug description: test3f(kotlin.Float;kotlin.Any){}
fun test3f(x: Float, y: Any): Boolean
// CHECK JVM_IR:
// Mangled name: #test4d(kotlin.Double;kotlin.Number){}kotlin.Boolean
// Public signature: /test4d|6663537144393076314[0]
// Public signature debug description: test4d(kotlin.Double;kotlin.Number){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test4d(kotlin.Double;kotlin.Number){}
// Public signature: /test4d|-14614379237503414[0]
// Public signature debug description: test4d(kotlin.Double;kotlin.Number){}
fun test4d(x: Double, y: Number): Boolean
// CHECK JVM_IR:
// Mangled name: #test4f(kotlin.Float;kotlin.Number){}kotlin.Boolean
// Public signature: /test4f|3595885060539941485[0]
// Public signature debug description: test4f(kotlin.Float;kotlin.Number){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test4f(kotlin.Float;kotlin.Number){}
// Public signature: /test4f|8833004791687011909[0]
// Public signature debug description: test4f(kotlin.Float;kotlin.Number){}
fun test4f(x: Float, y: Number): Boolean
// CHECK JVM_IR:
// Mangled name: #test5d(kotlin.Double;kotlin.Any){}kotlin.Boolean
// Public signature: /test5d|3958951524111099104[0]
// Public signature debug description: test5d(kotlin.Double;kotlin.Any){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test5d(kotlin.Double;kotlin.Any){}
// Public signature: /test5d|8194261571129163015[0]
// Public signature debug description: test5d(kotlin.Double;kotlin.Any){}
fun test5d(x: Double, y: Any): Boolean
// CHECK JVM_IR:
// Mangled name: #test5f(kotlin.Float;kotlin.Any){}kotlin.Boolean
// Public signature: /test5f|3370721745745603328[0]
// Public signature debug description: test5f(kotlin.Float;kotlin.Any){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test5f(kotlin.Float;kotlin.Any){}
// Public signature: /test5f|1275090490894066717[0]
// Public signature debug description: test5f(kotlin.Float;kotlin.Any){}
fun test5f(x: Float, y: Any): Boolean
// CHECK JVM_IR:
// Mangled name: #test6d(kotlin.Any;kotlin.Any){}kotlin.Boolean
// Public signature: /test6d|4973138391607645243[0]
// Public signature debug description: test6d(kotlin.Any;kotlin.Any){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test6d(kotlin.Any;kotlin.Any){}
// Public signature: /test6d|-2043957087845204486[0]
// Public signature debug description: test6d(kotlin.Any;kotlin.Any){}
fun test6d(x: Any, y: Any): Boolean
// CHECK JVM_IR:
// Mangled name: #test6f(kotlin.Any;kotlin.Any){}kotlin.Boolean
// Public signature: /test6f|-4566736704199373988[0]
// Public signature debug description: test6f(kotlin.Any;kotlin.Any){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test6f(kotlin.Any;kotlin.Any){}
// Public signature: /test6f|3266287064971521993[0]
// Public signature debug description: test6f(kotlin.Any;kotlin.Any){}
fun test6f(x: Any, y: Any): Boolean
// CHECK JVM_IR:
// Mangled name: #testDF(kotlin.Any;kotlin.Any){}kotlin.Boolean
// Public signature: /testDF|9162091323093859710[0]
// Public signature debug description: testDF(kotlin.Any;kotlin.Any){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #testDF(kotlin.Any;kotlin.Any){}
// Public signature: /testDF|5325280582850746470[0]
// Public signature debug description: testDF(kotlin.Any;kotlin.Any){}
fun testDF(x: Any, y: Any): Boolean
// CHECK JVM_IR:
// Mangled name: #testFD(kotlin.Any;kotlin.Any){}kotlin.Boolean
// Public signature: /testFD|-1860793291456176126[0]
// Public signature debug description: testFD(kotlin.Any;kotlin.Any){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #testFD(kotlin.Any;kotlin.Any){}
// Public signature: /testFD|-8637640662829760144[0]
// Public signature debug description: testFD(kotlin.Any;kotlin.Any){}
fun testFD(x: Any, y: Any): Boolean
@@ -1,64 +1,80 @@
// CHECK JVM_IR:
// Mangled name: #test1d(kotlin.Double;kotlin.Double){}kotlin.Boolean
// Public signature: /test1d|-6076864717398730791[0]
// Public signature debug description: test1d(kotlin.Double;kotlin.Double){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test1d(kotlin.Double;kotlin.Double){}
// Public signature: /test1d|8996428331240250899[0]
// Public signature debug description: test1d(kotlin.Double;kotlin.Double){}
fun test1d(x: Double, y: Double): Boolean
// CHECK JVM_IR:
// Mangled name: #test1f(kotlin.Float;kotlin.Float){}kotlin.Boolean
// Public signature: /test1f|-2409682264718997877[0]
// Public signature debug description: test1f(kotlin.Float;kotlin.Float){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test1f(kotlin.Float;kotlin.Float){}
// Public signature: /test1f|3996419052229966122[0]
// Public signature debug description: test1f(kotlin.Float;kotlin.Float){}
fun test1f(x: Float, y: Float): Boolean
// CHECK JVM_IR:
// Mangled name: #test2d(kotlin.Double;kotlin.Any){}kotlin.Boolean
// Public signature: /test2d|1868332233853062954[0]
// Public signature debug description: test2d(kotlin.Double;kotlin.Any){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test2d(kotlin.Double;kotlin.Any){}
// Public signature: /test2d|3048714195566850595[0]
// Public signature debug description: test2d(kotlin.Double;kotlin.Any){}
fun test2d(x: Double, y: Any): Boolean
// CHECK JVM_IR:
// Mangled name: #test2f(kotlin.Float;kotlin.Any){}kotlin.Boolean
// Public signature: /test2f|-5327474494142874991[0]
// Public signature debug description: test2f(kotlin.Float;kotlin.Any){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test2f(kotlin.Float;kotlin.Any){}
// Public signature: /test2f|-8233698539945437419[0]
// Public signature debug description: test2f(kotlin.Float;kotlin.Any){}
fun test2f(x: Float, y: Any): Boolean
// CHECK JVM_IR:
// Mangled name: #test3d(kotlin.Any;kotlin.Any){}kotlin.Boolean
// Public signature: /test3d|-5073128912492477196[0]
// Public signature debug description: test3d(kotlin.Any;kotlin.Any){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test3d(kotlin.Any;kotlin.Any){}
// Public signature: /test3d|1265476561252316973[0]
// Public signature debug description: test3d(kotlin.Any;kotlin.Any){}
fun test3d(x: Any, y: Any): Boolean
// CHECK JVM_IR:
// Mangled name: #test3f(kotlin.Any;kotlin.Any){}kotlin.Boolean
// Public signature: /test3f|1058712547644060622[0]
// Public signature debug description: test3f(kotlin.Any;kotlin.Any){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test3f(kotlin.Any;kotlin.Any){}
// Public signature: /test3f|-4162669948505292416[0]
// Public signature debug description: test3f(kotlin.Any;kotlin.Any){}
fun test3f(x: Any, y: Any): Boolean
// CHECK JVM_IR:
// Mangled name: #testDF(kotlin.Any;kotlin.Any){}kotlin.Boolean
// Public signature: /testDF|9162091323093859710[0]
// Public signature debug description: testDF(kotlin.Any;kotlin.Any){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #testDF(kotlin.Any;kotlin.Any){}
// Public signature: /testDF|5325280582850746470[0]
// Public signature debug description: testDF(kotlin.Any;kotlin.Any){}
fun testDF(x: Any, y: Any): Boolean
// CHECK JVM_IR:
// Mangled name: #testFD(kotlin.Any;kotlin.Any){}kotlin.Boolean
// Public signature: /testFD|-1860793291456176126[0]
// Public signature debug description: testFD(kotlin.Any;kotlin.Any){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #testFD(kotlin.Any;kotlin.Any){}
// Public signature: /testFD|-8637640662829760144[0]
// Public signature debug description: testFD(kotlin.Any;kotlin.Any){}
fun testFD(x: Any, y: Any): Boolean
@@ -1,8 +1,10 @@
// CHECK JVM_IR:
// Mangled name: #test(kotlin.Any?;kotlin.Double){}kotlin.Boolean
// Public signature: /test|-7959242928029112066[0]
// Public signature debug description: test(kotlin.Any?;kotlin.Double){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test(kotlin.Any?;kotlin.Double){}
// Public signature: /test|1382550638358700070[0]
// Public signature debug description: test(kotlin.Any?;kotlin.Double){}
fun test(x: Any?, y: Double): Boolean
@@ -1,32 +1,40 @@
// CHECK JVM_IR:
// Mangled name: #testDD(kotlin.Double?;kotlin.Double?){}kotlin.Boolean
// Public signature: /testDD|6324676724672008011[0]
// Public signature debug description: testDD(kotlin.Double?;kotlin.Double?){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #testDD(kotlin.Double?;kotlin.Double?){}
// Public signature: /testDD|6448090919849267088[0]
// Public signature debug description: testDD(kotlin.Double?;kotlin.Double?){}
fun testDD(x: Double?, y: Double?): Boolean
// CHECK JVM_IR:
// Mangled name: #testDF(kotlin.Double?;kotlin.Any?){}kotlin.Boolean
// Public signature: /testDF|9116951022031676909[0]
// Public signature debug description: testDF(kotlin.Double?;kotlin.Any?){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #testDF(kotlin.Double?;kotlin.Any?){}
// Public signature: /testDF|8975597351648058215[0]
// Public signature debug description: testDF(kotlin.Double?;kotlin.Any?){}
fun testDF(x: Double?, y: Any?): Boolean
// CHECK JVM_IR:
// Mangled name: #testDI(kotlin.Double?;kotlin.Any?){}kotlin.Boolean
// Public signature: /testDI|-2518117290397712484[0]
// Public signature debug description: testDI(kotlin.Double?;kotlin.Any?){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #testDI(kotlin.Double?;kotlin.Any?){}
// Public signature: /testDI|-2492360038280217235[0]
// Public signature debug description: testDI(kotlin.Double?;kotlin.Any?){}
fun testDI(x: Double?, y: Any?): Boolean
// CHECK JVM_IR:
// Mangled name: #testDI2(kotlin.Any?;kotlin.Any?){}kotlin.Boolean
// Public signature: /testDI2|5408730355929274743[0]
// Public signature debug description: testDI2(kotlin.Any?;kotlin.Any?){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #testDI2(kotlin.Any?;kotlin.Any?){}
// Public signature: /testDI2|-1156893754545330465[0]
// Public signature debug description: testDI2(kotlin.Any?;kotlin.Any?){}
fun testDI2(x: Any?, y: Any?): Boolean
@@ -5,14 +5,17 @@ class F<T : Float> {
// CHECK:
// Mangled name: F#<init>(){}
// Public signature: /F.<init>|-5645683436151566731[0]
// Public signature debug description: <init>(){}
constructor() /* primary */
// CHECK JVM_IR:
// Mangled name: F#testCapturedType(1:0;kotlin.Any){}kotlin.Boolean
// Public signature: /F.testCapturedType|7998726618500557854[0]
// Public signature debug description: testCapturedType(1:0;kotlin.Any){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: F#testCapturedType(1:0;kotlin.Any){}
// Public signature: /F.testCapturedType|-5279256819944815124[0]
// Public signature debug description: testCapturedType(1:0;kotlin.Any){}
fun testCapturedType(x: T, y: Any): Boolean
}
@@ -20,56 +23,70 @@ class F<T : Float> {
// CHECK JVM_IR:
// Mangled name: #test0(kotlin.Any;0:0){0§<kotlin.Any?>}kotlin.Boolean
// Public signature: /test0|-7214751938385730433[0]
// Public signature debug description: test0(kotlin.Any;0:0){0§<kotlin.Any?>}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test0(kotlin.Any;0:0){0§<kotlin.Any?>}
// Public signature: /test0|-6494678230253547579[0]
// Public signature debug description: test0(kotlin.Any;0:0){0§<kotlin.Any?>}
fun <T : Any?> test0(x: Any, y: T): Boolean
// CHECK JVM_IR:
// Mangled name: #test1(kotlin.Any;0:0){0§<kotlin.Float>}kotlin.Boolean
// Public signature: /test1|8387349745943080134[0]
// Public signature debug description: test1(kotlin.Any;0:0){0§<kotlin.Float>}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test1(kotlin.Any;0:0){0§<kotlin.Float>}
// Public signature: /test1|-7902069641491444047[0]
// Public signature debug description: test1(kotlin.Any;0:0){0§<kotlin.Float>}
fun <T : Float> test1(x: Any, y: T): Boolean
// CHECK JVM_IR:
// Mangled name: #test2(kotlin.Any;0:0){0§<kotlin.Double>}kotlin.Boolean
// Public signature: /test2|3344527840705297453[0]
// Public signature debug description: test2(kotlin.Any;0:0){0§<kotlin.Double>}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test2(kotlin.Any;0:0){0§<kotlin.Double>}
// Public signature: /test2|-2365905883998625988[0]
// Public signature debug description: test2(kotlin.Any;0:0){0§<kotlin.Double>}
fun <T : Double> test2(x: Any, y: T): Boolean
// CHECK JVM_IR:
// Mangled name: #test3(kotlin.Any;0:0){0§<kotlin.Float>}kotlin.Boolean
// Public signature: /test3|4021301847597929251[0]
// Public signature debug description: test3(kotlin.Any;0:0){0§<kotlin.Float>}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test3(kotlin.Any;0:0){0§<kotlin.Float>}
// Public signature: /test3|5264389487564885422[0]
// Public signature debug description: test3(kotlin.Any;0:0){0§<kotlin.Float>}
fun <T : Float> test3(x: Any, y: T): Boolean
// CHECK JVM_IR:
// Mangled name: #test4(kotlin.Any;0:0){0§<kotlin.Float?>}kotlin.Boolean
// Public signature: /test4|6659113294374869639[0]
// Public signature debug description: test4(kotlin.Any;0:0){0§<kotlin.Float?>}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test4(kotlin.Any;0:0){0§<kotlin.Float?>}
// Public signature: /test4|9214831392286021674[0]
// Public signature debug description: test4(kotlin.Any;0:0){0§<kotlin.Float?>}
fun <T : Float?> test4(x: Any, y: T): Boolean
// CHECK JVM_IR:
// Mangled name: #test5(kotlin.Any;0:1){0§<kotlin.Float?>;1§<0:0>}kotlin.Boolean
// Public signature: /test5|-5393606181119122055[0]
// Public signature debug description: test5(kotlin.Any;0:1){0§<kotlin.Float?>;1§<0:0>}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test5(kotlin.Any;0:1){0§<kotlin.Float?>;1§<0:0>}
// Public signature: /test5|-5498926079719286371[0]
// Public signature debug description: test5(kotlin.Any;0:1){0§<kotlin.Float?>;1§<0:0>}
fun <T : Float?, R : T> test5(x: Any, y: R): Boolean
// CHECK JVM_IR:
// Mangled name: #test6(kotlin.Any;0:0){0§<kotlin.Number>}kotlin.Boolean
// Public signature: /test6|7328266218747057888[0]
// Public signature debug description: test6(kotlin.Any;0:0){0§<kotlin.Number>}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test6(kotlin.Any;0:0){0§<kotlin.Number>}
// Public signature: /test6|-2167191220335209779[0]
// Public signature debug description: test6(kotlin.Any;0:0){0§<kotlin.Number>}
fun <T : Number> test6(x: Any, y: T): Boolean
@@ -1,56 +1,70 @@
// CHECK JVM_IR:
// Mangled name: #foo(kotlin.Double){}kotlin.Double
// Public signature: /foo|1917451337252472224[0]
// Public signature debug description: foo(kotlin.Double){}kotlin.Double
// CHECK JS_IR NATIVE:
// Mangled name: #foo(kotlin.Double){}
// Public signature: /foo|7304084990235995798[0]
// Public signature debug description: foo(kotlin.Double){}
fun foo(x: Double): Double
// CHECK JVM_IR:
// Mangled name: #testSimple(kotlin.Double){}kotlin.Int
// Public signature: /testSimple|7182738722897187971[0]
// Public signature debug description: testSimple(kotlin.Double){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: #testSimple(kotlin.Double){}
// Public signature: /testSimple|9121439682501266260[0]
// Public signature debug description: testSimple(kotlin.Double){}
fun testSimple(x: Double): Int
// CHECK JVM_IR:
// Mangled name: #testSmartCastInWhenCondition(kotlin.Double;kotlin.Any){}kotlin.Int
// Public signature: /testSmartCastInWhenCondition|7854851848186858587[0]
// Public signature debug description: testSmartCastInWhenCondition(kotlin.Double;kotlin.Any){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: #testSmartCastInWhenCondition(kotlin.Double;kotlin.Any){}
// Public signature: /testSmartCastInWhenCondition|-9013687204664969001[0]
// Public signature debug description: testSmartCastInWhenCondition(kotlin.Double;kotlin.Any){}
fun testSmartCastInWhenCondition(x: Double, y: Any): Int
// CHECK JVM_IR:
// Mangled name: #testSmartCastInWhenConditionInBranch(kotlin.Any){}kotlin.Int
// Public signature: /testSmartCastInWhenConditionInBranch|5671837591576771954[0]
// Public signature debug description: testSmartCastInWhenConditionInBranch(kotlin.Any){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: #testSmartCastInWhenConditionInBranch(kotlin.Any){}
// Public signature: /testSmartCastInWhenConditionInBranch|1656824350278623177[0]
// Public signature debug description: testSmartCastInWhenConditionInBranch(kotlin.Any){}
fun testSmartCastInWhenConditionInBranch(x: Any): Int
// CHECK JVM_IR:
// Mangled name: #testSmartCastInWhenSubject(kotlin.Any){}kotlin.Int
// Public signature: /testSmartCastInWhenSubject|5050233636010761247[0]
// Public signature debug description: testSmartCastInWhenSubject(kotlin.Any){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: #testSmartCastInWhenSubject(kotlin.Any){}
// Public signature: /testSmartCastInWhenSubject|-654930493818491506[0]
// Public signature debug description: testSmartCastInWhenSubject(kotlin.Any){}
fun testSmartCastInWhenSubject(x: Any): Int
// CHECK JVM_IR:
// Mangled name: #testSmartCastToDifferentTypes(kotlin.Any;kotlin.Any){}kotlin.Int
// Public signature: /testSmartCastToDifferentTypes|285815180648163500[0]
// Public signature debug description: testSmartCastToDifferentTypes(kotlin.Any;kotlin.Any){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: #testSmartCastToDifferentTypes(kotlin.Any;kotlin.Any){}
// Public signature: /testSmartCastToDifferentTypes|8938507225260152421[0]
// Public signature debug description: testSmartCastToDifferentTypes(kotlin.Any;kotlin.Any){}
fun testSmartCastToDifferentTypes(x: Any, y: Any): Int
// CHECK JVM_IR:
// Mangled name: #testWithPrematureExitInConditionSubexpression(kotlin.Any){}kotlin.Int
// Public signature: /testWithPrematureExitInConditionSubexpression|-7044982830298293879[0]
// Public signature debug description: testWithPrematureExitInConditionSubexpression(kotlin.Any){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: #testWithPrematureExitInConditionSubexpression(kotlin.Any){}
// Public signature: /testWithPrematureExitInConditionSubexpression|-3701426985229225590[0]
// Public signature debug description: testWithPrematureExitInConditionSubexpression(kotlin.Any){}
fun testWithPrematureExitInConditionSubexpression(x: Any): Int
@@ -1,20 +1,24 @@
// CHECK:
// Mangled name: #testDestructuring(kotlin.collections.List<kotlin.Pair<kotlin.Int,kotlin.String>>){}
// Public signature: /testDestructuring|-7027332132873483477[0]
// Public signature debug description: testDestructuring(kotlin.collections.List<kotlin.Pair<kotlin.Int,kotlin.String>>){}
fun testDestructuring(pp: List<Pair<Int, String>>): Unit
// CHECK:
// Mangled name: #testEmpty(kotlin.collections.List<kotlin.String>){}
// Public signature: /testEmpty|4311987365375111339[0]
// Public signature debug description: testEmpty(kotlin.collections.List<kotlin.String>){}
fun testEmpty(ss: List<String>): Unit
// CHECK:
// Mangled name: #testIterable(kotlin.collections.List<kotlin.String>){}
// Public signature: /testIterable|3066285127841729695[0]
// Public signature debug description: testIterable(kotlin.collections.List<kotlin.String>){}
fun testIterable(ss: List<String>): Unit
// CHECK:
// Mangled name: #testRange(){}
// Public signature: /testRange|5870058580411114415[0]
// Public signature debug description: testRange(){}
fun testRange(): Unit
@@ -1,20 +1,24 @@
// CHECK:
// Mangled name: #testForBreak1(kotlin.collections.List<kotlin.String>){}
// Public signature: /testForBreak1|859715268937219552[0]
// Public signature debug description: testForBreak1(kotlin.collections.List<kotlin.String>){}
fun testForBreak1(ss: List<String>): Unit
// CHECK:
// Mangled name: #testForBreak2(kotlin.collections.List<kotlin.String>){}
// Public signature: /testForBreak2|-8316570653848899578[0]
// Public signature debug description: testForBreak2(kotlin.collections.List<kotlin.String>){}
fun testForBreak2(ss: List<String>): Unit
// CHECK:
// Mangled name: #testForContinue1(kotlin.collections.List<kotlin.String>){}
// Public signature: /testForContinue1|1338147304246344442[0]
// Public signature debug description: testForContinue1(kotlin.collections.List<kotlin.String>){}
fun testForContinue1(ss: List<String>): Unit
// CHECK:
// Mangled name: #testForContinue2(kotlin.collections.List<kotlin.String>){}
// Public signature: /testForContinue2|-2490600607304201756[0]
// Public signature debug description: testForContinue2(kotlin.collections.List<kotlin.String>){}
fun testForContinue2(ss: List<String>): Unit
@@ -5,22 +5,27 @@ class IntCell {
// CHECK:
// Mangled name: IntCell{}value
// Public signature: /IntCell.value|1987073854177347439[0]
// Public signature debug description: {}value
var value: Int
// CHECK JVM_IR:
// Mangled name: IntCell#<get-value>(){}kotlin.Int
// Public signature: /IntCell.value.<get-value>|-5900028706170996[0]
// Public signature debug description: <get-value>(){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: IntCell#<get-value>(){}
// Public signature: /IntCell.value.<get-value>|3260093555963109437[0]
// Public signature debug description: <get-value>(){}
get
// CHECK:
// Mangled name: IntCell#<set-value>(kotlin.Int){}
// Public signature: /IntCell.value.<set-value>|-195057410739577239[0]
// Public signature debug description: <set-value>(kotlin.Int){}
set
// CHECK:
// Mangled name: IntCell#<init>(kotlin.Int){}
// Public signature: /IntCell.<init>|-5182794243525578284[0]
// Public signature debug description: <init>(kotlin.Int){}
constructor(value: Int) /* primary */
}
@@ -33,25 +38,31 @@ interface IReceiver {
// CHECK JVM_IR:
// Mangled name: IReceiver#hasNext@IntCell(){}kotlin.Boolean
// Public signature: /IReceiver.hasNext|8807543829800046753[0]
// Public signature debug description: hasNext@IntCell(){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: IReceiver#hasNext@IntCell(){}
// Public signature: /IReceiver.hasNext|4886533440515007751[0]
// Public signature debug description: hasNext@IntCell(){}
operator fun IntCell.hasNext(): Boolean
// CHECK JVM_IR:
// Mangled name: IReceiver#iterator@FiveTimes(){}IntCell
// Public signature: /IReceiver.iterator|-6854781980601462817[0]
// Public signature debug description: iterator@FiveTimes(){}IntCell
// CHECK JS_IR NATIVE:
// Mangled name: IReceiver#iterator@FiveTimes(){}
// Public signature: /IReceiver.iterator|-6775444143424139294[0]
// Public signature debug description: iterator@FiveTimes(){}
operator fun FiveTimes.iterator(): IntCell
// CHECK JVM_IR:
// Mangled name: IReceiver#next@IntCell(){}kotlin.Int
// Public signature: /IReceiver.next|-2134453721443530519[0]
// Public signature debug description: next@IntCell(){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: IReceiver#next@IntCell(){}
// Public signature: /IReceiver.next|3171952556520323113[0]
// Public signature debug description: next@IntCell(){}
operator fun IntCell.next(): Int
}
@@ -63,6 +74,7 @@ object FiveTimes {
// CHECK:
// Mangled name: FiveTimes#<init>(){}
// Public signature: /FiveTimes.<init>|-5645683436151566731[0]
// Public signature debug description: <init>(){}
private constructor() /* primary */
}
@@ -70,5 +82,6 @@ object FiveTimes {
// CHECK:
// Mangled name: #test@IReceiver(){}
// Public signature: /test|-5472672617978108350[0]
// Public signature debug description: test@IReceiver(){}
fun IReceiver.test(): Unit
@@ -7,14 +7,17 @@ object Host {
// CHECK:
// Mangled name: test.Host#<init>(){}
// Public signature: test/Host.<init>|-5645683436151566731[0]
// Public signature debug description: <init>(){}
private constructor() /* primary */
// CHECK JVM_IR:
// Mangled name: test.Host#foo(){0§<kotlin.Any?>}kotlin.String
// Public signature: test/Host.foo|-170825690606698604[0]
// Public signature debug description: foo(){0§<kotlin.Any?>}kotlin.String
// CHECK JS_IR NATIVE:
// Mangled name: test.Host#foo(){0§<kotlin.Any?>}
// Public signature: test/Host.foo|-7822584347064313243[0]
// Public signature debug description: foo(){0§<kotlin.Any?>}
inline fun <reified T : Any?> foo(): String
}
@@ -22,8 +25,10 @@ object Host {
// CHECK JVM_IR:
// Mangled name: test#test(){}kotlin.String
// Public signature: test/test|-7008832412320199001[0]
// Public signature debug description: test(){}kotlin.String
// CHECK JS_IR NATIVE:
// Mangled name: test#test(){}
// Public signature: test/test|6620506149988718649[0]
// Public signature debug description: test(){}
fun test(): String
@@ -6,6 +6,7 @@ fun interface IRunnable {
// CHECK:
// Mangled name: IRunnable#run(){}
// Public signature: /IRunnable.run|-991178076551934874[0]
// Public signature debug description: run(){}
abstract fun run(): Unit
}
@@ -13,15 +14,18 @@ fun interface IRunnable {
// CHECK:
// Mangled name: #foo1(IRunnable;kotlin.Array<out|kotlin.String>...){}
// Public signature: /foo1|8109256075034655920[0]
// Public signature debug description: foo1(IRunnable;kotlin.Array<out|kotlin.String>...){}
fun foo1(r: IRunnable, vararg s: String): Unit
// CHECK:
// Mangled name: #foo2(IRunnable;IRunnable;kotlin.Array<out|kotlin.String>...){}
// Public signature: /foo2|-847052428556006975[0]
// Public signature debug description: foo2(IRunnable;IRunnable;kotlin.Array<out|kotlin.String>...){}
fun foo2(r1: IRunnable, r2: IRunnable, vararg s: String): Unit
// CHECK:
// Mangled name: #test(kotlin.Function0<kotlin.Unit>;IRunnable;kotlin.String;kotlin.Array<kotlin.String>){}
// Public signature: /test|8261026842322841823[0]
// Public signature debug description: test(kotlin.Function0<kotlin.Unit>;IRunnable;kotlin.String;kotlin.Array<kotlin.String>){}
fun test(fn: Function0<Unit>, r: IRunnable, s: String, arr: Array<String>): Unit
@@ -6,9 +6,11 @@ fun interface Foo {
// CHECK JVM_IR:
// Mangled name: Foo#invoke(){}kotlin.String
// Public signature: /Foo.invoke|8861605044563078664[0]
// Public signature debug description: invoke(){}kotlin.String
// CHECK JS_IR NATIVE:
// Mangled name: Foo#invoke(){}
// Public signature: /Foo.invoke|-4663091332620260873[0]
// Public signature debug description: invoke(){}
abstract fun invoke(): String
}
@@ -16,17 +18,21 @@ fun interface Foo {
// CHECK JVM_IR:
// Mangled name: #foo(Foo){}kotlin.String
// Public signature: /foo|-5888774885663875480[0]
// Public signature debug description: foo(Foo){}kotlin.String
// CHECK JS_IR NATIVE:
// Mangled name: #foo(Foo){}
// Public signature: /foo|-8233162121880232317[0]
// Public signature debug description: foo(Foo){}
fun foo(f: Foo): String
// CHECK JVM_IR:
// Mangled name: #test(){}kotlin.String
// Public signature: /test|-7008832412320199001[0]
// Public signature debug description: test(){}kotlin.String
// CHECK JS_IR NATIVE:
// Mangled name: #test(){}
// Public signature: /test|6620506149988718649[0]
// Public signature debug description: test(){}
fun test(): String
// CHECK JVM_IR:
// Mangled name: #test(){}kotlin.String#<anonymous>#static(){}kotlin.String
@@ -6,6 +6,7 @@ fun interface KRunnable {
// CHECK:
// Mangled name: KRunnable#invoke(){}
// Public signature: /KRunnable.invoke|-4663091332620260873[0]
// Public signature debug description: invoke(){}
abstract fun invoke(): Unit
}
@@ -13,5 +14,6 @@ fun interface KRunnable {
// CHECK:
// Mangled name: #test(kotlin.Any?){}
// Public signature: /test|4942271194395271693[0]
// Public signature debug description: test(kotlin.Any?){}
fun test(a: Any?): Unit
@@ -6,6 +6,7 @@ fun interface Foo : Function0<Int> {
// CHECK JVM_IR:
// Mangled name: Foo#invoke(){}kotlin.Int
// Public signature: /Foo.invoke|906964710558498066[0]
// Public signature debug description: invoke(){}kotlin.Int
abstract /* fake */ override operator fun invoke(): Int
}
@@ -13,10 +14,12 @@ fun interface Foo : Function0<Int> {
// CHECK JVM_IR:
// Mangled name: #id(Foo){}kotlin.Any
// Public signature: /id|-7816997914602483733[0]
// Public signature debug description: id(Foo){}kotlin.Any
fun id(foo: Foo): Any
// CHECK:
// Mangled name: #test(Foo){}
// Public signature: /test|1185534388124909890[0]
// Public signature debug description: test(Foo){}
fun test(foo: Foo): Unit
@@ -1,25 +1,31 @@
// CHECK:
// Mangled name: {}fsi
// Public signature: /fsi|5902301571547257746[0]
// Public signature debug description: {}fsi
val fsi: Fn<String, Int>
// CHECK JVM_IR:
// Mangled name: #<get-fsi>(){}Fn<kotlin.String,kotlin.Int>
// Public signature: /fsi.<get-fsi>|-2546794996796226350[0]
// Public signature debug description: <get-fsi>(){}Fn<kotlin.String,kotlin.Int>
// CHECK JS_IR NATIVE:
// Mangled name: #<get-fsi>(){}
// Public signature: /fsi.<get-fsi>|211056100616532240[0]
// Public signature debug description: <get-fsi>(){}
get
// CHECK:
// Mangled name: {}fis
// Public signature: /fis|4743015834142814854[0]
// Public signature debug description: {}fis
val fis: Fn<Int, String>
// CHECK JVM_IR:
// Mangled name: #<get-fis>(){}Fn<kotlin.Int,kotlin.String>
// Public signature: /fis.<get-fis>|5252092316637653538[0]
// Public signature debug description: <get-fis>(){}Fn<kotlin.Int,kotlin.String>
// CHECK JS_IR NATIVE:
// Mangled name: #<get-fis>(){}
// Public signature: /fis.<get-fis>|-3144498278709673820[0]
// Public signature debug description: <get-fis>(){}
get
// CHECK:
@@ -29,14 +35,17 @@ class J {
// CHECK:
// Mangled name: J#<init>(){}
// Public signature: /J.<init>|-5645683436151566731[0]
// Public signature debug description: <init>(){}
constructor() /* primary */
// CHECK JVM_IR:
// Mangled name: J#runConversion(Fn<kotlin.String,kotlin.Int>;Fn<kotlin.Int,kotlin.String>){}kotlin.Int
// Public signature: /J.runConversion|4347513371052535712[0]
// Public signature debug description: runConversion(Fn<kotlin.String,kotlin.Int>;Fn<kotlin.Int,kotlin.String>){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: J#runConversion(Fn<kotlin.String,kotlin.Int>;Fn<kotlin.Int,kotlin.String>){}
// Public signature: /J.runConversion|-3250437629905581865[0]
// Public signature debug description: runConversion(Fn<kotlin.String,kotlin.Int>;Fn<kotlin.Int,kotlin.String>){}
fun runConversion(f1: Fn<String, Int>, f2: Fn<Int, String>): Int
}
@@ -49,9 +58,11 @@ fun interface Fn<T : Any?, R : Any?> {
// CHECK JVM_IR:
// Mangled name: Fn#run(kotlin.String;kotlin.Int;1:0){}1:1
// Public signature: /Fn.run|6229634511602909233[0]
// Public signature debug description: run(kotlin.String;kotlin.Int;1:0){}1:1
// CHECK JS_IR NATIVE:
// Mangled name: Fn#run(kotlin.String;kotlin.Int;1:0){}
// Public signature: /Fn.run|-3043809751901738692[0]
// Public signature debug description: run(kotlin.String;kotlin.Int;1:0){}
abstract fun run(s: String, i: Int, t: T): R
}
@@ -59,5 +70,6 @@ fun interface Fn<T : Any?, R : Any?> {
// CHECK:
// Mangled name: #test(J){}
// Public signature: /test|-8477572416399964095[0]
// Public signature debug description: test(J){}
fun test(j: J): Unit
@@ -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,28 +14,34 @@ fun interface IFoo {
// CHECK:
// Mangled name: #testAdaptedCR(){}
// Public signature: /testAdaptedCR|-2000726175248606[0]
// Public signature debug description: testAdaptedCR(){}
fun testAdaptedCR(): Unit
// CHECK:
// Mangled name: #testLambda(){}
// Public signature: /testLambda|-124997257399938843[0]
// Public signature debug description: testLambda(){}
fun testLambda(): Unit
// CHECK:
// Mangled name: #testSeveralLambdas(){}
// Public signature: /testSeveralLambdas|884186753581284332[0]
// Public signature debug description: testSeveralLambdas(){}
fun testSeveralLambdas(): Unit
// CHECK:
// Mangled name: #useVararg(kotlin.Array<out|IFoo>...){}
// Public signature: /useVararg|-167843892719966590[0]
// Public signature debug description: useVararg(kotlin.Array<out|IFoo>...){}
fun useVararg(vararg foos: IFoo): Unit
// CHECK JVM_IR:
// Mangled name: #withVarargOfInt(kotlin.IntArray...){}kotlin.String
// Public signature: /withVarargOfInt|-4664776409518571139[0]
// Public signature debug description: withVarargOfInt(kotlin.IntArray...){}kotlin.String
// CHECK JS_IR NATIVE:
// Mangled name: #withVarargOfInt(kotlin.IntArray...){}
// Public signature: /withVarargOfInt|-232972314185863621[0]
// Public signature debug description: withVarargOfInt(kotlin.IntArray...){}
fun withVarargOfInt(vararg xs: Int): String
@@ -6,6 +6,7 @@ fun interface MyRunnable {
// CHECK:
// Mangled name: MyRunnable#run(){}
// Public signature: /MyRunnable.run|-991178076551934874[0]
// Public signature debug description: run(){}
abstract fun run(): Unit
}
@@ -13,10 +14,12 @@ fun interface MyRunnable {
// CHECK:
// Mangled name: #foo(kotlin.Array<out|MyRunnable>...){}
// Public signature: /foo|6689815842309055774[0]
// Public signature debug description: foo(kotlin.Array<out|MyRunnable>...){}
fun foo(vararg rs: MyRunnable): Unit
// CHECK:
// Mangled name: #test(kotlin.Any;MyRunnable){}
// Public signature: /test|-2252565057874021036[0]
// Public signature debug description: test(kotlin.Any;MyRunnable){}
fun test(a: Any, r: MyRunnable): Unit
@@ -6,6 +6,7 @@ fun interface KRunnable {
// CHECK:
// Mangled name: KRunnable#run(){}
// Public signature: /KRunnable.run|-991178076551934874[0]
// Public signature debug description: run(){}
abstract fun run(): Unit
}
@@ -13,44 +14,54 @@ fun interface KRunnable {
// CHECK:
// Mangled name: #foo0(){}
// Public signature: /foo0|854950155582184407[0]
// Public signature debug description: foo0(){}
fun foo0(): Unit
// CHECK JVM_IR:
// Mangled name: #foo1(kotlin.IntArray...){}kotlin.Int
// Public signature: /foo1|7470134185704818303[0]
// Public signature debug description: foo1(kotlin.IntArray...){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: #foo1(kotlin.IntArray...){}
// Public signature: /foo1|-6748328364529290172[0]
// Public signature debug description: foo1(kotlin.IntArray...){}
fun foo1(vararg xs: Int): Int
// CHECK JVM_IR:
// Mangled name: #testSamConstructor(){}KRunnable
// Public signature: /testSamConstructor|-5482155559435579976[0]
// Public signature debug description: testSamConstructor(){}KRunnable
// CHECK JS_IR NATIVE:
// Mangled name: #testSamConstructor(){}
// Public signature: /testSamConstructor|-7853436018033066699[0]
// Public signature debug description: testSamConstructor(){}
fun testSamConstructor(): KRunnable
// CHECK:
// Mangled name: #testSamConversion(){}
// Public signature: /testSamConversion|8522656930427711360[0]
// Public signature debug description: testSamConversion(){}
fun testSamConversion(): Unit
// CHECK:
// Mangled name: #testSamConversionOnAdapted(){}
// Public signature: /testSamConversionOnAdapted|2809940309834714371[0]
// Public signature debug description: testSamConversionOnAdapted(){}
fun testSamConversionOnAdapted(): Unit
// CHECK JVM_IR:
// Mangled name: #testSamCosntructorOnAdapted(){}KRunnable
// Public signature: /testSamCosntructorOnAdapted|655519272240812814[0]
// Public signature debug description: testSamCosntructorOnAdapted(){}KRunnable
// CHECK JS_IR NATIVE:
// Mangled name: #testSamCosntructorOnAdapted(){}
// Public signature: /testSamCosntructorOnAdapted|-7927635342265674772[0]
// Public signature debug description: testSamCosntructorOnAdapted(){}
fun testSamCosntructorOnAdapted(): KRunnable
// CHECK:
// Mangled name: #use(KRunnable){}
// Public signature: /use|3076420774911186780[0]
// Public signature debug description: use(KRunnable){}
fun use(r: KRunnable): Unit
@@ -6,6 +6,7 @@ fun interface KRunnable {
// CHECK:
// Mangled name: KRunnable#run(){}
// Public signature: /KRunnable.run|-991178076551934874[0]
// Public signature debug description: run(){}
abstract fun run(): Unit
}
@@ -20,88 +21,106 @@ interface Unrelated {
// CHECK JVM_IR:
// Mangled name: #id(0:0){0§<kotlin.Any?>}0:0
// Public signature: /id|-6791396263062521506[0]
// Public signature debug description: id(0:0){0§<kotlin.Any?>}0:0
// CHECK JS_IR NATIVE:
// Mangled name: #id(0:0){0§<kotlin.Any?>}
// Public signature: /id|9187295668833355463[0]
// Public signature debug description: id(0:0){0§<kotlin.Any?>}
fun <T : Any?> id(x: T): T
// CHECK:
// Mangled name: #run1(KRunnable){}
// Public signature: /run1|2612844463130679128[0]
// Public signature debug description: run1(KRunnable){}
fun run1(r: KRunnable): Unit
// CHECK:
// Mangled name: #run2(KRunnable;KRunnable){}
// Public signature: /run2|8208068882257438869[0]
// Public signature debug description: run2(KRunnable;KRunnable){}
fun run2(r1: KRunnable, r2: KRunnable): Unit
// CHECK:
// Mangled name: #test0(0:0){0§<KRunnable&kotlin.Function0<kotlin.Unit>>}
// Public signature: /test0|7203793719980108226[0]
// Public signature debug description: test0(0:0){0§<KRunnable&kotlin.Function0<kotlin.Unit>>}
fun <T> test0(a: T): Unit where T : KRunnable, T : Function0<Unit>
// CHECK:
// Mangled name: #test1(kotlin.Function0<kotlin.Unit>){}
// Public signature: /test1|-2870537507416699845[0]
// Public signature debug description: test1(kotlin.Function0<kotlin.Unit>){}
fun test1(a: Function0<Unit>): Unit
// CHECK:
// Mangled name: #test2(KRunnable){}
// Public signature: /test2|-6262171320756539088[0]
// Public signature debug description: test2(KRunnable){}
fun test2(a: KRunnable): Unit
// CHECK:
// Mangled name: #test3(kotlin.Function0<kotlin.Unit>){}
// Public signature: /test3|-1760685804488672424[0]
// Public signature debug description: test3(kotlin.Function0<kotlin.Unit>){}
fun test3(a: Function0<Unit>): Unit
// CHECK:
// Mangled name: #test4(kotlin.Function0<kotlin.Unit>;kotlin.Function0<kotlin.Unit>){}
// Public signature: /test4|1443124276429499957[0]
// Public signature debug description: test4(kotlin.Function0<kotlin.Unit>;kotlin.Function0<kotlin.Unit>){}
fun test4(a: Function0<Unit>, b: Function0<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: #test5x(kotlin.Any){}
// Public signature: /test5x|8044678810048210306[0]
// Public signature debug description: test5x(kotlin.Any){}
fun test5x(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:
// Mangled name: #test7(kotlin.Function1<kotlin.Int,kotlin.Int>){}
// Public signature: /test7|1095013294548842913[0]
// Public signature debug description: test7(kotlin.Function1<kotlin.Int,kotlin.Int>){}
fun test7(a: Function1<Int, Int>): Unit
// CHECK:
// Mangled name: #test7a(0:0){0§<kotlin.Function1<kotlin.Int,kotlin.Int>>}
// Public signature: /test7a|4611209577080015095[0]
// Public signature debug description: test7a(0:0){0§<kotlin.Function1<kotlin.Int,kotlin.Int>>}
fun <T : Function1<Int, Int>> test7a(a: T): Unit
// CHECK:
// Mangled name: #test7b(0:0){0§<kotlin.Function1<kotlin.Int,kotlin.Unit>&kotlin.Function0<kotlin.Unit>>}
// Public signature: /test7b|4558127648037232116[0]
// Public signature debug description: test7b(0:0){0§<kotlin.Function1<kotlin.Int,kotlin.Unit>&kotlin.Function0<kotlin.Unit>>}
fun <T> test7b(a: T): Unit where T : Function0<Unit>, T : Function1<Int, Unit>
// CHECK:
// Mangled name: #test7c(0:0){0§<Unrelated&kotlin.Function0<kotlin.Unit>>}
// Public signature: /test7c|-2955596188911782407[0]
// Public signature debug description: test7c(0:0){0§<Unrelated&kotlin.Function0<kotlin.Unit>>}
fun <T> test7c(a: T): Unit where T : Unrelated, T : Function0<Unit>
// CHECK:
// Mangled name: #test8(kotlin.Function0<kotlin.Unit>){}
// Public signature: /test8|8321269803549472585[0]
// Public signature debug description: test8(kotlin.Function0<kotlin.Unit>){}
fun test8(a: Function0<Unit>): Unit
// CHECK:
// Mangled name: #test9(){}
// Public signature: /test9|9214787561267119658[0]
// Public signature debug description: test9(){}
fun test9(): Unit
@@ -6,6 +6,7 @@ fun interface KConsumer<T : Any?> {
// CHECK:
// Mangled name: KConsumer#accept(1:0){}
// Public signature: /KConsumer.accept|6106307687017385176[0]
// Public signature debug description: accept(1:0){}
abstract fun accept(x: T): Unit
}
@@ -18,6 +19,7 @@ fun interface KRunnable {
// CHECK:
// Mangled name: KRunnable#run(){}
// Public signature: /KRunnable.run|-991178076551934874[0]
// Public signature debug description: run(){}
abstract fun run(): Unit
}
@@ -30,9 +32,11 @@ fun interface KSupplier<T : Any?> {
// CHECK JVM_IR:
// Mangled name: KSupplier#get(){}1:0
// Public signature: /KSupplier.get|-8285253024618084508[0]
// Public signature debug description: get(){}1:0
// CHECK JS_IR NATIVE:
// Mangled name: KSupplier#get(){}
// Public signature: /KSupplier.get|5453051481459130259[0]
// Public signature debug description: get(){}
abstract fun get(): T
}
@@ -40,65 +44,81 @@ fun interface KSupplier<T : Any?> {
// CHECK JVM_IR:
// Mangled name: #test1(){}kotlin.reflect.KFunction1<kotlin.Function0<kotlin.Unit>,KRunnable>
// Public signature: /test1|506540275033726465[0]
// Public signature debug description: test1(){}kotlin.reflect.KFunction1<kotlin.Function0<kotlin.Unit>,KRunnable>
// CHECK JS_IR NATIVE:
// Mangled name: #test1(){}
// Public signature: /test1|4297044443957252634[0]
// Public signature debug description: test1(){}
fun test1(): KFunction1<Function0<Unit>, KRunnable>
// CHECK JVM_IR:
// Mangled name: #test1a(){}kotlin.reflect.KFunction1<kotlin.Function0<kotlin.Unit>,KRunnable>
// Public signature: /test1a|-8182615495924259711[0]
// Public signature debug description: test1a(){}kotlin.reflect.KFunction1<kotlin.Function0<kotlin.Unit>,KRunnable>
// CHECK JS_IR NATIVE:
// Mangled name: #test1a(){}
// Public signature: /test1a|9065284326198644477[0]
// Public signature debug description: test1a(){}
fun test1a(): KFunction1<Function0<Unit>, KRunnable>
// CHECK JVM_IR:
// Mangled name: #test1b(){}kotlin.reflect.KFunction<KRunnable>
// Public signature: /test1b|2835121128193807915[0]
// Public signature debug description: test1b(){}kotlin.reflect.KFunction<KRunnable>
// CHECK JS_IR NATIVE:
// Mangled name: #test1b(){}
// Public signature: /test1b|-2979752850126686011[0]
// Public signature debug description: test1b(){}
fun test1b(): KFunction<KRunnable>
// CHECK JVM_IR:
// Mangled name: #test2(){}kotlin.Function1<kotlin.Function0<kotlin.String>,KSupplier<kotlin.String>>
// Public signature: /test2|8549593161906467660[0]
// Public signature debug description: test2(){}kotlin.Function1<kotlin.Function0<kotlin.String>,KSupplier<kotlin.String>>
// CHECK JS_IR NATIVE:
// Mangled name: #test2(){}
// Public signature: /test2|4279114864133353152[0]
// Public signature debug description: test2(){}
fun test2(): Function1<Function0<String>, KSupplier<String>>
// CHECK JVM_IR:
// Mangled name: #test2a(){}kotlin.Function1<kotlin.Function0<kotlin.String>,KSupplier<kotlin.String>>
// Public signature: /test2a|2821642702752260802[0]
// Public signature debug description: test2a(){}kotlin.Function1<kotlin.Function0<kotlin.String>,KSupplier<kotlin.String>>
// CHECK JS_IR NATIVE:
// Mangled name: #test2a(){}
// Public signature: /test2a|-4222972209784837425[0]
// Public signature debug description: test2a(){}
fun test2a(): Function1<Function0<String>, KSupplier<String>>
// CHECK JVM_IR:
// Mangled name: #test3(){}kotlin.Function1<kotlin.Function1<kotlin.String,kotlin.Unit>,KConsumer<kotlin.String>>
// Public signature: /test3|2652628399422738400[0]
// Public signature debug description: test3(){}kotlin.Function1<kotlin.Function1<kotlin.String,kotlin.Unit>,KConsumer<kotlin.String>>
// CHECK JS_IR NATIVE:
// Mangled name: #test3(){}
// Public signature: /test3|-3759735065270951803[0]
// Public signature debug description: test3(){}
fun test3(): Function1<Function1<String, Unit>, KConsumer<String>>
// CHECK JVM_IR:
// Mangled name: #test3a(){}kotlin.Function1<kotlin.Function1<kotlin.String,kotlin.Unit>,KConsumer<kotlin.String>>
// Public signature: /test3a|-985514784897508218[0]
// Public signature debug description: test3a(){}kotlin.Function1<kotlin.Function1<kotlin.String,kotlin.Unit>,KConsumer<kotlin.String>>
// CHECK JS_IR NATIVE:
// Mangled name: #test3a(){}
// Public signature: /test3a|2047593289081242684[0]
// Public signature debug description: test3a(){}
fun test3a(): Function1<Function1<String, Unit>, KConsumer<String>>
// CHECK JVM_IR:
// Mangled name: #test3b(){}kotlin.reflect.KFunction<KConsumer<kotlin.String>>
// Public signature: /test3b|-1724736633267333752[0]
// Public signature debug description: test3b(){}kotlin.reflect.KFunction<KConsumer<kotlin.String>>
// CHECK JS_IR NATIVE:
// Mangled name: #test3b(){}
// Public signature: /test3b|8779461353386599427[0]
// Public signature debug description: test3b(){}
fun test3b(): KFunction<KConsumer<String>>
// CHECK:
@@ -5,18 +5,22 @@ class Box<T : Any?> {
// CHECK:
// Mangled name: Box{}value
// Public signature: /Box.value|1987073854177347439[0]
// Public signature debug description: {}value
val value: T
// CHECK JVM_IR:
// Mangled name: Box#<get-value>(){}1:0
// Public signature: /Box.value.<get-value>|3167862337988859752[0]
// Public signature debug description: <get-value>(){}1:0
// CHECK JS_IR NATIVE:
// Mangled name: Box#<get-value>(){}
// Public signature: /Box.value.<get-value>|3260093555963109437[0]
// Public signature debug description: <get-value>(){}
get
// CHECK:
// Mangled name: Box#<init>(1:0){}
// Public signature: /Box.<init>|-8731461708390519279[0]
// Public signature debug description: <init>(1:0){}
constructor(value: T) /* primary */
}
@@ -24,16 +28,20 @@ class Box<T : Any?> {
// CHECK JVM_IR:
// Mangled name: #testArray(kotlin.Int;kotlin.Function0<0:0>){0§<kotlin.Any?>}kotlin.Array<0:0>
// Public signature: /testArray|-2387335896299631149[0]
// Public signature debug description: testArray(kotlin.Int;kotlin.Function0<0:0>){0§<kotlin.Any?>}kotlin.Array<0:0>
// CHECK JS_IR NATIVE:
// Mangled name: #testArray(kotlin.Int;kotlin.Function0<0:0>){0§<kotlin.Any?>}
// Public signature: /testArray|1625095866611230766[0]
// Public signature debug description: testArray(kotlin.Int;kotlin.Function0<0:0>){0§<kotlin.Any?>}
inline fun <reified T : Any?> testArray(n: Int, crossinline block: Function0<T>): Array<T>
// CHECK JVM_IR:
// Mangled name: #testSimple(){}Box<kotlin.Long>
// Public signature: /testSimple|-4418410780086468517[0]
// Public signature debug description: testSimple(){}Box<kotlin.Long>
// CHECK JS_IR NATIVE:
// Mangled name: #testSimple(){}
// Public signature: /testSimple|-7227012354903248125[0]
// Public signature debug description: testSimple(){}
fun testSimple(): Box<Long>
@@ -1,24 +1,30 @@
// CHECK:
// Mangled name: {}test
// Public signature: /test|-5712650070209114719[0]
// Public signature debug description: {}test
val test: String
// CHECK JVM_IR:
// Mangled name: #<get-test>(){}kotlin.String
// Public signature: /test.<get-test>|-8411936358597690329[0]
// Public signature debug description: <get-test>(){}kotlin.String
// CHECK JS_IR NATIVE:
// Mangled name: #<get-test>(){}
// Public signature: /test.<get-test>|208282462577758837[0]
// Public signature debug description: <get-test>(){}
get
// CHECK:
// Mangled name: @0:0{0§<kotlin.Any?>}id
// Public signature: /id|6409895071901545951[0]
// Public signature debug description: @0:0{0§<kotlin.Any?>}id
val <T : Any?> T.id: T
// CHECK JVM_IR:
// Mangled name: #<get-id>@0:0(){0§<kotlin.Any?>}0:0
// Public signature: /id.<get-id>|4983271234253098452[0]
// Public signature debug description: <get-id>@0:0(){0§<kotlin.Any?>}0:0
// CHECK JS_IR NATIVE:
// Mangled name: #<get-id>@0:0(){0§<kotlin.Any?>}
// Public signature: /id.<get-id>|-1537502770664138716[0]
// Public signature debug description: <get-id>@0:0(){0§<kotlin.Any?>}
get(): T
@@ -1,69 +1,86 @@
// CHECK:
// Mangled name: @Value<0:0>{0§<kotlin.Any?>}additionalText
// Public signature: /additionalText|7734412113224529319[0]
// Public signature debug description: @Value<0:0>{0§<kotlin.Any?>}additionalText
val <T : Any?> Value<T>.additionalText: Int /* by */
// CHECK JVM_IR:
// Mangled name: #<get-additionalText>@Value<0:0>(){0§<kotlin.Any?>}kotlin.Int
// Public signature: /additionalText.<get-additionalText>|-1100553327198583886[0]
// Public signature debug description: <get-additionalText>@Value<0:0>(){0§<kotlin.Any?>}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: #<get-additionalText>@Value<0:0>(){0§<kotlin.Any?>}
// Public signature: /additionalText.<get-additionalText>|-5973216610316851494[0]
// Public signature debug description: <get-additionalText>@Value<0:0>(){0§<kotlin.Any?>}
get(): Int
// CHECK:
// Mangled name: @Value<0:0>{0§<kotlin.Any?>}additionalValue
// Public signature: /additionalValue|-2810095538737902404[0]
// Public signature debug description: @Value<0:0>{0§<kotlin.Any?>}additionalValue
val <T : Any?> Value<T>.additionalValue: Int /* by */
// CHECK JVM_IR:
// Mangled name: #<get-additionalValue>@Value<0:0>(){0§<kotlin.Any?>}kotlin.Int
// Public signature: /additionalValue.<get-additionalValue>|-6473236166172047985[0]
// Public signature debug description: <get-additionalValue>@Value<0:0>(){0§<kotlin.Any?>}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: #<get-additionalValue>@Value<0:0>(){0§<kotlin.Any?>}
// Public signature: /additionalValue.<get-additionalValue>|2814172998464653518[0]
// Public signature debug description: <get-additionalValue>@Value<0:0>(){0§<kotlin.Any?>}
get(): Int
// CHECK:
// Mangled name: {}recivier
// Public signature: /recivier|1393137265049165560[0]
// Public signature debug description: {}recivier
var recivier: Any?
// CHECK JVM_IR:
// Mangled name: #<get-recivier>(){}kotlin.Any?
// Public signature: /recivier.<get-recivier>|-76909196192166129[0]
// Public signature debug description: <get-recivier>(){}kotlin.Any?
// CHECK JS_IR NATIVE:
// Mangled name: #<get-recivier>(){}
// Public signature: /recivier.<get-recivier>|4125249954356201901[0]
// Public signature debug description: <get-recivier>(){}
get
// CHECK:
// Mangled name: #<set-recivier>(kotlin.Any?){}
// Public signature: /recivier.<set-recivier>|-6816770784536396062[0]
// Public signature debug description: <set-recivier>(kotlin.Any?){}
set
// CHECK:
// Mangled name: {}value2
// Public signature: /value2|-1664181645671419060[0]
// Public signature debug description: {}value2
var value2: Any?
// CHECK JVM_IR:
// Mangled name: #<get-value2>(){}kotlin.Any?
// Public signature: /value2.<get-value2>|8693017805210729038[0]
// Public signature debug description: <get-value2>(){}kotlin.Any?
// CHECK JS_IR NATIVE:
// Mangled name: #<get-value2>(){}
// Public signature: /value2.<get-value2>|1776957621204807843[0]
// Public signature debug description: <get-value2>(){}
get
// CHECK:
// Mangled name: #<set-value2>(kotlin.Any?){}
// Public signature: /value2.<set-value2>|4550500963091635103[0]
// Public signature debug description: <set-value2>(kotlin.Any?){}
set
// CHECK:
// Mangled name: {}barRef
// Public signature: /barRef|3707178067815059623[0]
// Public signature debug description: {}barRef
val barRef: KMutableProperty1<String?, String?>
// CHECK JVM_IR:
// Mangled name: #<get-barRef>(){}kotlin.reflect.KMutableProperty1<kotlin.String?,kotlin.String?>
// Public signature: /barRef.<get-barRef>|-5465997532673085658[0]
// Public signature debug description: <get-barRef>(){}kotlin.reflect.KMutableProperty1<kotlin.String?,kotlin.String?>
// CHECK JS_IR NATIVE:
// Mangled name: #<get-barRef>(){}
// Public signature: /barRef.<get-barRef>|1175959013941245768[0]
// Public signature debug description: <get-barRef>(){}
get
// CHECK:
@@ -73,26 +90,32 @@ class DVal {
// CHECK:
// Mangled name: DVal{}kmember
// Public signature: /DVal.kmember|-9008673543363374935[0]
// Public signature debug description: {}kmember
val kmember: Any
// CHECK JVM_IR:
// Mangled name: DVal#<get-kmember>(){}kotlin.Any
// Public signature: /DVal.kmember.<get-kmember>|-7207078138930224715[0]
// Public signature debug description: <get-kmember>(){}kotlin.Any
// CHECK JS_IR NATIVE:
// Mangled name: DVal#<get-kmember>(){}
// Public signature: /DVal.kmember.<get-kmember>|-3711067038955963135[0]
// Public signature debug description: <get-kmember>(){}
get
// CHECK:
// Mangled name: DVal#<init>(kotlin.Any){}
// Public signature: /DVal.<init>|4518179880532599055[0]
// Public signature debug description: <init>(kotlin.Any){}
constructor(kmember: Any) /* primary */
// CHECK JVM_IR:
// Mangled name: DVal#getValue(kotlin.Any?;kotlin.Any){}kotlin.Int
// Public signature: /DVal.getValue|-4563103632143148557[0]
// Public signature debug description: getValue(kotlin.Any?;kotlin.Any){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: DVal#getValue(kotlin.Any?;kotlin.Any){}
// Public signature: /DVal.getValue|317500257957269026[0]
// Public signature debug description: getValue(kotlin.Any?;kotlin.Any){}
operator fun getValue(t: Any?, p: Any): Int
}
@@ -104,38 +127,47 @@ class Value<T : Any?> {
// CHECK:
// Mangled name: Value{}value
// Public signature: /Value.value|1987073854177347439[0]
// Public signature debug description: {}value
var value: T
// CHECK JVM_IR:
// Mangled name: Value#<get-value>(){}1:0
// Public signature: /Value.value.<get-value>|3167862337988859752[0]
// Public signature debug description: <get-value>(){}1:0
// CHECK JS_IR NATIVE:
// Mangled name: Value#<get-value>(){}
// Public signature: /Value.value.<get-value>|3260093555963109437[0]
// Public signature debug description: <get-value>(){}
get
// CHECK:
// Mangled name: Value#<set-value>(1:0){}
// Public signature: /Value.value.<set-value>|-5529925203468114125[0]
// Public signature debug description: <set-value>(1:0){}
set
// CHECK:
// Mangled name: Value{}text
// Public signature: /Value.text|2188424425118836640[0]
// Public signature debug description: {}text
var text: String?
// CHECK JVM_IR:
// Mangled name: Value#<get-text>(){}kotlin.String?
// Public signature: /Value.text.<get-text>|-7147571129451640862[0]
// Public signature debug description: <get-text>(){}kotlin.String?
// CHECK JS_IR NATIVE:
// Mangled name: Value#<get-text>(){}
// Public signature: /Value.text.<get-text>|8349765969627210272[0]
// Public signature debug description: <get-text>(){}
get
// CHECK:
// Mangled name: Value#<set-text>(kotlin.String?){}
// Public signature: /Value.text.<set-text>|-5643986239339503171[0]
// Public signature debug description: <set-text>(kotlin.String?){}
set
// CHECK:
// Mangled name: Value#<init>(1:0;kotlin.String?){}
// Public signature: /Value.<init>|6863397651870522306[0]
// Public signature debug description: <init>(1:0;kotlin.String?){}
constructor(value: T, text: String?) /* primary */
}
@@ -143,16 +175,20 @@ class Value<T : Any?> {
// CHECK:
// Mangled name: @0:0{0§<kotlin.Any?>}bar
// Public signature: /bar|-2607368775982314867[0]
// Public signature debug description: @0:0{0§<kotlin.Any?>}bar
var <T : Any?> T.bar: T
// CHECK JVM_IR:
// Mangled name: #<get-bar>@0:0(){0§<kotlin.Any?>}0:0
// Public signature: /bar.<get-bar>|-1733273639849676739[0]
// Public signature debug description: <get-bar>@0:0(){0§<kotlin.Any?>}0:0
// CHECK JS_IR NATIVE:
// Mangled name: #<get-bar>@0:0(){0§<kotlin.Any?>}
// Public signature: /bar.<get-bar>|-3183755745889883279[0]
// Public signature debug description: <get-bar>@0:0(){0§<kotlin.Any?>}
get(): T
// CHECK:
// Mangled name: #<set-bar>@0:0(0:0){0§<kotlin.Any?>}
// Public signature: /bar.<set-bar>|1507801333641327058[0]
// Public signature debug description: <set-bar>@0:0(0:0){0§<kotlin.Any?>}
set(value: T): Unit
@@ -1,24 +1,30 @@
// CHECK JVM_IR:
// Mangled name: #test1(kotlin.Int;kotlin.Int){}kotlin.Boolean
// Public signature: /test1|-7551143999400464285[0]
// Public signature debug description: test1(kotlin.Int;kotlin.Int){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test1(kotlin.Int;kotlin.Int){}
// Public signature: /test1|-6134767217751638375[0]
// Public signature debug description: test1(kotlin.Int;kotlin.Int){}
fun test1(a: Int, b: Int): Boolean
// CHECK JVM_IR:
// Mangled name: #test2(kotlin.Int;kotlin.Int){}kotlin.Boolean
// Public signature: /test2|29360423018429037[0]
// Public signature debug description: test2(kotlin.Int;kotlin.Int){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test2(kotlin.Int;kotlin.Int){}
// Public signature: /test2|-1200247296907510564[0]
// Public signature debug description: test2(kotlin.Int;kotlin.Int){}
fun test2(a: Int, b: Int): Boolean
// CHECK JVM_IR:
// Mangled name: #test3(kotlin.Any?;kotlin.Any?){}kotlin.Boolean
// Public signature: /test3|-3154163417477574713[0]
// Public signature debug description: test3(kotlin.Any?;kotlin.Any?){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test3(kotlin.Any?;kotlin.Any?){}
// Public signature: /test3|6801898630268838874[0]
// Public signature debug description: test3(kotlin.Any?;kotlin.Any?){}
fun test3(a: Any?, b: Any?): Boolean
@@ -1,23 +1,28 @@
// CHECK JVM_IR:
// Mangled name: #test(kotlin.Int){}kotlin.Int
// Public signature: /test|-291422697420002546[0]
// Public signature debug description: test(kotlin.Int){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: #test(kotlin.Int){}
// Public signature: /test|7577436859890467564[0]
// Public signature debug description: test(kotlin.Int){}
fun test(i: Int): Int
// CHECK:
// Mangled name: #testEmptyBranches1(kotlin.Boolean){}
// Public signature: /testEmptyBranches1|6749407893686345218[0]
// Public signature debug description: testEmptyBranches1(kotlin.Boolean){}
fun testEmptyBranches1(flag: Boolean): Unit
// CHECK:
// Mangled name: #testEmptyBranches2(kotlin.Boolean){}
// Public signature: /testEmptyBranches2|3860029463289034948[0]
// Public signature debug description: testEmptyBranches2(kotlin.Boolean){}
fun testEmptyBranches2(flag: Boolean): Unit
// CHECK:
// Mangled name: #testEmptyBranches3(kotlin.Boolean){}
// Public signature: /testEmptyBranches3|-3957627705861131354[0]
// Public signature debug description: testEmptyBranches3(kotlin.Boolean){}
fun testEmptyBranches3(flag: Boolean): Unit
@@ -5,10 +5,12 @@ class C {
// CHECK:
// Mangled name: C#<init>(){}
// Public signature: /C.<init>|-5645683436151566731[0]
// Public signature debug description: <init>(){}
constructor() /* primary */
// CHECK:
// Mangled name: C#<init>(kotlin.Any?){}
// Public signature: /C.<init>|-8205545948568413246[0]
// Public signature debug description: <init>(kotlin.Any?){}
constructor(x: Any?)
}
@@ -1,5 +1,6 @@
// CHECK JVM_IR:
// Mangled name: #test(){}kotlin.String
// Public signature: /test|-7008832412320199001[0]
// Public signature debug description: test(){}kotlin.String
fun test(): String
@@ -1,37 +1,46 @@
// CHECK JVM_IR:
// Mangled name: #test1(kotlin.String?){}kotlin.Int
// Public signature: /test1|-5345400542874052925[0]
// Public signature debug description: test1(kotlin.String?){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: #test1(kotlin.String?){}
// Public signature: /test1|-2987894258831182637[0]
// Public signature debug description: test1(kotlin.String?){}
fun test1(x: String?): Int
// CHECK JVM_IR:
// Mangled name: #test2(0:0){0§<kotlin.CharSequence?>}kotlin.Int
// Public signature: /test2|-7282113506340032628[0]
// Public signature debug description: test2(0:0){0§<kotlin.CharSequence?>}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: #test2(0:0){0§<kotlin.CharSequence?>}
// Public signature: /test2|-8782669618551409801[0]
// Public signature debug description: test2(0:0){0§<kotlin.CharSequence?>}
fun <T : CharSequence?> test2(x: T): Int
// CHECK JVM_IR:
// Mangled name: #test3(kotlin.Any){0§<kotlin.CharSequence?>}kotlin.Int
// Public signature: /test3|7450825797678601496[0]
// Public signature debug description: test3(kotlin.Any){0§<kotlin.CharSequence?>}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: #test3(kotlin.Any){0§<kotlin.CharSequence?>}
// Public signature: /test3|7453698813177303629[0]
// Public signature debug description: test3(kotlin.Any){0§<kotlin.CharSequence?>}
inline fun <reified T : CharSequence?> test3(x: Any): Int
// CHECK JVM_IR:
// Mangled name: #test4(kotlin.Any?){0§<kotlin.CharSequence>}kotlin.Int
// Public signature: /test4|-5896625443167857513[0]
// Public signature debug description: test4(kotlin.Any?){0§<kotlin.CharSequence>}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: #test4(kotlin.Any?){0§<kotlin.CharSequence>}
// Public signature: /test4|-668443391893184404[0]
// Public signature debug description: test4(kotlin.Any?){0§<kotlin.CharSequence>}
inline fun <reified T : CharSequence> test4(x: Any?): Int
// CHECK:
// Mangled name: #test5(0:0;kotlin.Function1<0:1,kotlin.Unit>){0§<0:1?>;1§<kotlin.Any?>}
// Public signature: /test5|-2340660044410176183[0]
// Public signature debug description: test5(0:0;kotlin.Function1<0:1,kotlin.Unit>){0§<0:1?>;1§<kotlin.Any?>}
fun <T : S?, S : Any?> test5(x: T, fn: Function1<S, Unit>): Unit
@@ -5,16 +5,19 @@ class Bar<T : Any?> {
// CHECK:
// Mangled name: Bar#<init>(){}
// Public signature: /Bar.<init>|-5645683436151566731[0]
// Public signature debug description: <init>(){}
constructor() /* primary */
// CHECK:
// Mangled name: Bar#test(kotlin.Any){}
// Public signature: /Bar.test|-7985792749252989017[0]
// Public signature debug description: test(kotlin.Any){}
fun test(arg: Any): Unit
// CHECK:
// Mangled name: Bar#useT(1:0){}
// Public signature: /Bar.useT|2218364832177755788[0]
// Public signature debug description: useT(1:0){}
fun useT(t: T): Unit
}
@@ -29,20 +32,25 @@ interface Foo<T : Any?> {
// CHECK JVM_IR:
// Mangled name: #test1@kotlin.Any(){0§<kotlin.Any>}0:0?
// Public signature: /test1|2900041689817297802[0]
// Public signature debug description: test1@kotlin.Any(){0§<kotlin.Any>}0:0?
// CHECK JS_IR NATIVE:
// Mangled name: #test1@kotlin.Any(){0§<kotlin.Any>}
// Public signature: /test1|-8490072393471393600[0]
// Public signature debug description: test1@kotlin.Any(){0§<kotlin.Any>}
inline fun <reified T : Any> Any.test1(): T?
// CHECK:
// Mangled name: @Foo<0:0>{0§<kotlin.Any>}asT
// Public signature: /asT|-840544213460054683[0]
// Public signature debug description: @Foo<0:0>{0§<kotlin.Any>}asT
val <reified T : Any> Foo<T>.asT: T?
// CHECK JVM_IR:
// Mangled name: #<get-asT>@Foo<0:0>(){0§<kotlin.Any>}0:0?
// Public signature: /asT.<get-asT>|-4847921419158920204[0]
// Public signature debug description: <get-asT>@Foo<0:0>(){0§<kotlin.Any>}0:0?
// CHECK JS_IR NATIVE:
// Mangled name: #<get-asT>@Foo<0:0>(){0§<kotlin.Any>}
// Public signature: /asT.<get-asT>|4488225205783861105[0]
// Public signature debug description: <get-asT>@Foo<0:0>(){0§<kotlin.Any>}
inline get(): T?

Some files were not shown because too many files have changed in this diff Show More