[FIR] do not use MUTE_LL_FIR for multiplatform tests
This commit is contained in:
committed by
Space Team
parent
c090ae96ab
commit
ae9c9b051f
Vendored
-3
@@ -1,8 +1,5 @@
|
||||
// TARGET_BACKEND: JVM
|
||||
// LANGUAGE: +MultiPlatformProjects
|
||||
// MUTE_LL_FIR
|
||||
// Reason: MPP diagnostics are reported differentely in the compiler and AA
|
||||
|
||||
// MODULE: m1-common
|
||||
// FILE: common.kt
|
||||
|
||||
|
||||
-3
@@ -1,8 +1,5 @@
|
||||
// TARGET_BACKEND: JVM
|
||||
// LANGUAGE: +MultiPlatformProjects
|
||||
// MUTE_LL_FIR
|
||||
// Reason: MPP diagnostics are reported differentely in the compiler and AA
|
||||
|
||||
// MODULE: m1-common
|
||||
// FILE: common.kt
|
||||
|
||||
|
||||
Vendored
+49
@@ -0,0 +1,49 @@
|
||||
// TARGET_BACKEND: JVM
|
||||
// LANGUAGE: +MultiPlatformProjects
|
||||
// MODULE: m1-common
|
||||
// FILE: common.kt
|
||||
|
||||
expect open class C1()
|
||||
expect interface I1
|
||||
|
||||
open class Common1_1 : C1(), I1
|
||||
open class Common1_2 : I1, C1()
|
||||
|
||||
expect open class Expect1_1 : C1, I1
|
||||
expect open class Expect1_2 : I1, C1
|
||||
|
||||
|
||||
expect abstract class C2()
|
||||
expect interface I2
|
||||
|
||||
open class Common2_1 : C2(), I2
|
||||
open class Common2_2 : I2, C2()
|
||||
|
||||
expect open class Expect2_1 : C2, I2
|
||||
expect open class Expect2_2 : I2, C2
|
||||
|
||||
// MODULE: m1-jvm()()(m1-common)
|
||||
// FILE: main.kt
|
||||
|
||||
actual open class C1 {
|
||||
fun f() {}
|
||||
}
|
||||
|
||||
actual interface I1 {
|
||||
fun f() {}
|
||||
}
|
||||
|
||||
actual open <!CANNOT_INFER_VISIBILITY, MANY_IMPL_MEMBER_NOT_IMPLEMENTED!>class Expect1_1<!> : C1(), I1
|
||||
actual open <!CANNOT_INFER_VISIBILITY, MANY_IMPL_MEMBER_NOT_IMPLEMENTED!>class Expect1_2<!> : I1, C1()
|
||||
|
||||
|
||||
actual abstract class C2 actual constructor() {
|
||||
fun g() {}
|
||||
}
|
||||
|
||||
actual interface I2 {
|
||||
fun g()
|
||||
}
|
||||
|
||||
actual open class Expect2_1 : C2(), I2
|
||||
actual open class Expect2_2 : I2, C2()
|
||||
Vendored
-3
@@ -1,8 +1,5 @@
|
||||
// TARGET_BACKEND: JVM
|
||||
// !LANGUAGE: +MultiPlatformProjects
|
||||
// MUTE_LL_FIR
|
||||
// Reason: MPP diagnostics are reported differentely in the compiler and AA
|
||||
|
||||
// MODULE: common
|
||||
// TARGET_PLATFORM: Common
|
||||
// FILE: common.kt
|
||||
|
||||
Vendored
-3
@@ -1,8 +1,5 @@
|
||||
// TARGET_BACKEND: JVM
|
||||
// !LANGUAGE: +MultiPlatformProjects
|
||||
// MUTE_LL_FIR
|
||||
// Reason: MPP diagnostics are reported differentely in the compiler and AA
|
||||
|
||||
// MODULE: common
|
||||
// TARGET_PLATFORM: Common
|
||||
// FILE: common.kt
|
||||
|
||||
Vendored
+24
@@ -0,0 +1,24 @@
|
||||
// TARGET_BACKEND: JVM
|
||||
// !LANGUAGE: +MultiPlatformProjects
|
||||
// MODULE: common
|
||||
// TARGET_PLATFORM: Common
|
||||
// FILE: common.kt
|
||||
|
||||
expect interface S1
|
||||
expect interface S2
|
||||
|
||||
open class A : S1, S2
|
||||
|
||||
class B : A()
|
||||
|
||||
// MODULE: jvm()()(common)
|
||||
// TARGET_PLATFORM: JVM
|
||||
// FILE: main.kt
|
||||
|
||||
actual interface S1 {
|
||||
fun f() {}
|
||||
}
|
||||
|
||||
actual interface S2 {
|
||||
fun f() {}
|
||||
}
|
||||
Vendored
-3
@@ -1,7 +1,4 @@
|
||||
// LANGUAGE: +MultiPlatformProjects
|
||||
// MUTE_LL_FIR
|
||||
// Reason: MPP diagnostics are reported differentely in the compiler and AA
|
||||
|
||||
// MODULE: common
|
||||
// FILE: common.kt
|
||||
expect interface I1<out R> {
|
||||
|
||||
Vendored
-3
@@ -1,7 +1,4 @@
|
||||
// LANGUAGE: +MultiPlatformProjects
|
||||
// MUTE_LL_FIR
|
||||
// Reason: MPP diagnostics are reported differentely in the compiler and AA
|
||||
|
||||
// MODULE: common
|
||||
// FILE: common.kt
|
||||
expect interface <!NO_ACTUAL_FOR_EXPECT!>I1<!><out R> {
|
||||
|
||||
Vendored
+22
@@ -0,0 +1,22 @@
|
||||
// LANGUAGE: +MultiPlatformProjects
|
||||
// MODULE: common
|
||||
// FILE: common.kt
|
||||
expect interface I1<out R> {
|
||||
fun invoke(): R
|
||||
}
|
||||
|
||||
expect interface I2<out R> {
|
||||
suspend fun invoke(): R
|
||||
}
|
||||
|
||||
expect interface ExpectInterface : I1<Int>, I2<Int>
|
||||
|
||||
interface CommonInterface : I1<Int>, I2<Int>
|
||||
|
||||
// MODULE: jvm()()(common)
|
||||
// FILE: main.kt
|
||||
|
||||
<!ACTUAL_TYPE_ALIAS_TO_CLASS_WITH_DECLARATION_SITE_VARIANCE!>actual typealias I1<R> = () -> R<!>
|
||||
<!ACTUAL_TYPE_ALIAS_TO_CLASS_WITH_DECLARATION_SITE_VARIANCE!>actual typealias I2<R> = suspend () -> R<!>
|
||||
|
||||
actual interface <!NO_ACTUAL_CLASS_MEMBER_FOR_EXPECTED_CLASS!>ExpectInterface<!> : <!MIXING_SUSPEND_AND_NON_SUSPEND_SUPERTYPES!>I1<Int>, I2<Int><!>
|
||||
-3
@@ -1,8 +1,5 @@
|
||||
// LANGUAGE: +MultiPlatformProjects
|
||||
// ISSUE: KT-58845
|
||||
// MUTE_LL_FIR
|
||||
// Reason: MPP diagnostics are reported differentely in the compiler and AA
|
||||
|
||||
// MODULE: common
|
||||
// FILE: common.kt
|
||||
expect interface I
|
||||
|
||||
-3
@@ -1,8 +1,5 @@
|
||||
// LANGUAGE: +MultiPlatformProjects
|
||||
// ISSUE: KT-58845
|
||||
// MUTE_LL_FIR
|
||||
// Reason: MPP diagnostics are reported differentely in the compiler and AA
|
||||
|
||||
// MODULE: common
|
||||
// FILE: common.kt
|
||||
expect interface <!NO_ACTUAL_FOR_EXPECT!>I<!>
|
||||
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
// LANGUAGE: +MultiPlatformProjects
|
||||
// ISSUE: KT-58845
|
||||
// MODULE: common
|
||||
// FILE: common.kt
|
||||
expect interface I
|
||||
|
||||
fun interface F : I {
|
||||
fun foo()
|
||||
}
|
||||
|
||||
// MODULE: jvm()()(common)
|
||||
// FILE: main.kt
|
||||
|
||||
actual interface I {
|
||||
fun bar()
|
||||
}
|
||||
Reference in New Issue
Block a user