[JS IR] Add a test with an object in inline function for JS IC

This commit is contained in:
Alexander Korepanov
2022-09-09 11:57:05 +02:00
committed by Space
parent 7a8250cf17
commit ea7ce55082
9 changed files with 55 additions and 0 deletions
@@ -0,0 +1,7 @@
inline fun foo(): DemoInterface {
return object : DemoInterface {
override fun doAnything(): Int {
return 0
}
}
}
@@ -0,0 +1,7 @@
inline fun foo(): DemoInterface {
return object : DemoInterface {
override fun doAnything(): Int {
return 1
}
}
}
@@ -0,0 +1,10 @@
STEP 0:
dependencies: lib1
modifications:
U : l2.0.kt -> l2.kt
added file: l2.kt
STEP 1:
dependencies: lib1
modifications:
U : l2.1.kt -> l2.kt
modified ir: l2.kt