[JS IR] Update tests
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
// IGNORE_BACKEND: JVM
|
// IGNORE_BACKEND: JVM
|
||||||
// IGNORE_LIGHT_ANALYSIS
|
// IGNORE_LIGHT_ANALYSIS
|
||||||
// LANGUAGE: +SuspendFunctionsInFunInterfaces, +JvmIrEnabledByDefault
|
// LANGUAGE: +SuspendFunctionsInFunInterfaces, +JvmIrEnabledByDefault
|
||||||
|
// SKIP_DCE_DRIVEN
|
||||||
|
|
||||||
import helpers.*
|
import helpers.*
|
||||||
import kotlin.coroutines.*
|
import kotlin.coroutines.*
|
||||||
|
|||||||
@@ -89,6 +89,7 @@ object O0
|
|||||||
|
|
||||||
object O {
|
object O {
|
||||||
val x = 10
|
val x = 10
|
||||||
|
@JsName("foo") // TODO: Should work without JsName
|
||||||
fun foo() = 20
|
fun foo() = 20
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -45,5 +45,6 @@ final class FC : OC(true, "FC")
|
|||||||
object O1 : OC(true, "O1")
|
object O1 : OC(true, "O1")
|
||||||
|
|
||||||
object O2 : OC(true, "O2") {
|
object O2 : OC(true, "O2") {
|
||||||
|
@JsName("foo") // TODO: Should work without JsName
|
||||||
fun foo(): Int = 10
|
fun foo(): Int = 10
|
||||||
}
|
}
|
||||||
@@ -37,6 +37,7 @@ open class Class {
|
|||||||
protected class protectedClass
|
protected class protectedClass
|
||||||
|
|
||||||
public val publicVal = 10
|
public val publicVal = 10
|
||||||
|
@JsName("publicFun") // TODO: Should work without JsName
|
||||||
public fun publicFun() = 10
|
public fun publicFun() = 10
|
||||||
public class publicClass
|
public class publicClass
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user