[Test] Update testdata of fixed test
I don't really know which exact commit fixed this test, but there was a problem with return types of delegated members. Before my changes delegated `override fun foo(x: Int)` in `actual class E` had error return type and now it has correct type `Int`
This commit is contained in:
committed by
Space Team
parent
b53ccf7fac
commit
332eca2d55
-21
@@ -1,21 +0,0 @@
|
||||
// MODULE: m1-common
|
||||
// FILE: common.kt
|
||||
<!INCOMPATIBLE_MATCHING{JVM}!>expect class E {
|
||||
<!INCOMPATIBLE_MATCHING{JVM}!>fun f(x: Int): Int<!>
|
||||
}<!>
|
||||
|
||||
expect class E2 {
|
||||
fun f(x: Int): Int
|
||||
}
|
||||
|
||||
// MODULE: m2-jvm()()(m1-common)
|
||||
// FILE: jvm.kt
|
||||
interface I {
|
||||
fun f(x: Int = 5) = x
|
||||
}
|
||||
|
||||
actual class <!NO_ACTUAL_CLASS_MEMBER_FOR_EXPECTED_CLASS!>E<!>(i: I) : I by i
|
||||
|
||||
actual class E2(i: I) : I by i {
|
||||
actual override fun f<!ACTUAL_FUNCTION_WITH_DEFAULT_ARGUMENTS!>(x: Int)<!> = x
|
||||
}
|
||||
Vendored
+1
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
// MODULE: m1-common
|
||||
// FILE: common.kt
|
||||
expect class E {
|
||||
|
||||
Reference in New Issue
Block a user