[JS IR] Add tests for JS IR IC + PL

^KT-57347 related
This commit is contained in:
Alexander Korepanov
2023-05-08 16:54:30 +02:00
committed by Space Team
parent 97620030c6
commit 82a1242f22
96 changed files with 710 additions and 3 deletions
@@ -0,0 +1 @@
fun foo() = 0
@@ -0,0 +1 @@
fun foo(x: Int) = x + 1
@@ -0,0 +1 @@
fun foo() = 2
@@ -0,0 +1,3 @@
// this is known issue, that return type doesn not affect IdSignature
// https://youtrack.jetbrains.com/issue/KT-51707
fun foo() = "4"
@@ -0,0 +1 @@
fun foo(x: Int = 1) = "${x + 5}"
@@ -0,0 +1,27 @@
STEP 0:
modifications:
U : l1.0.kt -> l1.kt
added file: l1.kt
STEP 1:
modifications:
U : l1.1.kt -> l1.kt
modified ir: l1.kt
updated exports: l1.kt
STEP 2:
modifications:
U : l1.2.kt -> l1.kt
modified ir: l1.kt
updated exports: l1.kt
STEP 3:
STEP 4:
modifications:
U : l1.4.bug.kt -> l1.kt
modified ir: l1.kt
STEP 5:
STEP 6:
modifications:
U : l1.6.kt -> l1.kt
modified ir: l1.kt
updated exports: l1.kt
STEP 7:
updated exports: l1.kt