[K/JS] Use only single variant of default arguments function wrapper for exported and not-exported functions

This commit is contained in:
Artem Kobzar
2022-09-19 17:49:04 +00:00
committed by Space
parent ea7ce55082
commit 73e7053c35
59 changed files with 1109 additions and 597 deletions
+2 -2
View File
@@ -30,5 +30,5 @@ fun box() {
// EXPECTATIONS JS_IR
// test.kt:9 box
// test.kt:11 box
// test.kt:4 A.foo_26di_k$
// test.kt:5 box
// test.kt:4 protoOf.foo_26di_k$
// test.kt:5 box
+2 -2
View File
@@ -32,9 +32,9 @@ fun box() {
// EXPECTATIONS JS_IR
// test.kt:9 box
// test.kt:10 box
// test.kt:4 A.foo_26di_k$
// test.kt:4 protoOf.foo_26di_k$
// test.kt:11 box
// test.kt:4 A.foo_26di_k$
// test.kt:4 protoOf.foo_26di_k$
// test.kt:5 box
// test.kt:13 box
// test.kt:5 box
+1 -1
View File
@@ -45,4 +45,4 @@ fun box() {
// test.kt:15 box
// test.kt:16 box
// test.kt:16 box
// test.kt:8 Companion_19.foo_26di_k$
// test.kt:8 protoOf.foo_26di_k$
+21 -23
View File
@@ -68,29 +68,27 @@ fun box() {
// test.kt:3 D
// test.kt:3 D
// test.kt:14 box
// test.kt:1 D.equals
// test.kt:1 D.equals
// test.kt:1 D.equals
// test.kt:1 D.equals
// test.kt:1 D.equals
// test.kt:1 D.equals
// test.kt:1 protoOf.equals
// test.kt:1 protoOf.equals
// test.kt:1 protoOf.equals
// test.kt:1 protoOf.equals
// test.kt:1 protoOf.equals
// test.kt:1 protoOf.equals
// test.kt:15 box
// test.kt:1 D.hashCode
// test.kt:1 D.hashCode
// test.kt:1 protoOf.hashCode
// test.kt:1 protoOf.hashCode
// test.kt:16 box
// test.kt:1 D.toString
// test.kt:1 protoOf.toString
// test.kt:17 box
// test.kt:17 box
// test.kt:1 D.component1_7eebsc_k$
// test.kt:1 protoOf.component1_7eebsc_k$
// test.kt:17 box
// test.kt:1 D.component2_7eebsb_k$
// test.kt:1 protoOf.component2_7eebsb_k$
// test.kt:18 box
// test.kt:1 D.copy$default_cbhffz_k$
// test.kt:1 D.copy$default_cbhffz_k$
// test.kt:1 D.copy$default_cbhffz_k$
// test.kt:1 D.copy$default_cbhffz_k$
// test.kt:1 D.copy$default_cbhffz_k$
// test.kt:1 D.copy_t8q04r_k$
// test.kt:1 protoOf.copy$default_roih85_k$
// test.kt:1 protoOf.copy$default_roih85_k$
// test.kt:1 protoOf.copy$default_roih85_k$
// test.kt:1 protoOf.copy_t8q04r_k$
// test.kt:3 D
// test.kt:3 D
// test.kt:19 box
@@ -100,17 +98,17 @@ fun box() {
// test.kt:5 E
// test.kt:5 E
// test.kt:20 box
// test.kt:7 E.equals
// test.kt:7 protoOf.equals
// test.kt:21 box
// test.kt:8 E.hashCode
// test.kt:8 protoOf.hashCode
// test.kt:22 box
// test.kt:6 E.toString
// test.kt:6 protoOf.toString
// test.kt:23 box
// test.kt:23 box
// test.kt:1 E.component1_7eebsc_k$
// test.kt:1 protoOf.component1_7eebsc_k$
// test.kt:23 box
// test.kt:1 E.component2_7eebsb_k$
// test.kt:1 protoOf.component2_7eebsb_k$
// test.kt:24 box
// test.kt:9 E.copy_1tks5_k$
// test.kt:9 protoOf.copy_1tks5_k$
// test.kt:5 E
// test.kt:5 E
+5 -4
View File
@@ -26,7 +26,8 @@ fun box() {
// EXPECTATIONS JS_IR
// test.kt:11 box
// test.kt:11 box
// test.kt:6 A.foo$default_dec9f7_k$
// test.kt:6 A.foo$default_dec9f7_k$
// test.kt:4 A.computeParam_vubdyi_k$
// test.kt:6 A.foo$default_dec9f7_k$
// test.kt:6 protoOf.foo$default_ourpn2_k$
// test.kt:4 protoOf.computeParam_vubdyi_k$
// test.kt:6 protoOf.foo$default_ourpn2_k$
// test.kt:6 protoOf.foo$default_ourpn2_k$
// test.kt:6 protoOf.foo$default_ourpn2_k$
+1 -1
View File
@@ -57,7 +57,7 @@ fun box() {
// test.kt:11 E
// test.kt:11 E
// test.kt:22 box
// test.kt:9 E.foo_26di_k$
// test.kt:9 protoOf.foo_26di_k$
// test.kt:15 E2_initEntries
// test.kt:14 E2
// test.kt:17 E2_initEntries
@@ -24,6 +24,4 @@ inline fun bar(i: Int = 1) {
// EXPECTATIONS JS_IR
// test.kt:4 box
// test.kt:8 foo$default
// test.kt:8 foo$default
// test.kt:8 foo$default
// test.kt:8 foo
+1 -1
View File
@@ -22,4 +22,4 @@ fun box() {
// EXPECTATIONS JS_IR
// test.kt:11 box
// test.kt:11 box
// test.kt:6 A.get_prop_wosl9o_k$
// test.kt:6 protoOf.get_prop_wosl9o_k$
+1 -4
View File
@@ -18,7 +18,4 @@ fun box(): String {
// EXPECTATIONS JS_IR
// test.kt:8 box
// test.kt:3 ifoo$default
// test.kt:3 ifoo$default
// test.kt:3 ifoo$default
// test.kt:4 ifoo
// test.kt:3 ifoo
@@ -19,7 +19,7 @@ suspend fun box() {
// test.kt:11 box
// EXPECTATIONS JS_IR
// test.kt:8 $boxCOROUTINE$0.doResume_5yljmg_k$
// test.kt:8 protoOf.doResume_5yljmg_k$
// test.kt:4 foo
// test.kt:4 foo
// test.kt:9 box$lambda