[FIR2IR] Correctly calculate ir origin for f/o callables in declarations generator
This change uncovers one problem, which causes some MPP tests to fail This problem will be fixed in further commits Uncovers KT-62535
This commit is contained in:
committed by
Space Team
parent
50425e82c5
commit
34d0f3dbc2
@@ -5,9 +5,10 @@
|
||||
|
||||
// WITH_STDLIB
|
||||
// !LANGUAGE: +MultiPlatformProjects
|
||||
|
||||
// IGNORE_CODEGEN_WITH_IR_FAKE_OVERRIDE_GENERATION: KT-62535
|
||||
// TARGET_BACKEND: JVM
|
||||
|
||||
// IGNORE_BACKEND_K2: JVM_IR
|
||||
// REASON: K2 incorrectly generates IR for B.bar f/o
|
||||
// MODULE: common
|
||||
// TARGET_PLATFORM: Common
|
||||
|
||||
|
||||
+4
-1
@@ -1,6 +1,9 @@
|
||||
// IGNORE_BACKEND_K1: JS, JS_IR, JS_IR_ES6, NATIVE, WASM
|
||||
// WITH_STDLIB
|
||||
// !LANGUAGE: +MultiPlatformProjects
|
||||
// IGNORE_BACKEND_K2: JVM_IR
|
||||
// REASON: K2 incorrectly generates IR for S1.p f/o
|
||||
// IGNORE_CODEGEN_WITH_IR_FAKE_OVERRIDE_GENERATION: KT-62535
|
||||
|
||||
// MODULE: common
|
||||
// TARGET_PLATFORM: Common
|
||||
@@ -41,4 +44,4 @@ fun box(): String {
|
||||
} else {
|
||||
"FAIL"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+4
-1
@@ -1,6 +1,9 @@
|
||||
// IGNORE_BACKEND_K1: JS, JS_IR, JS_IR_ES6, NATIVE, WASM
|
||||
// WITH_STDLIB
|
||||
// IGNORE_CODEGEN_WITH_IR_FAKE_OVERRIDE_GENERATION: KT-62535
|
||||
// !LANGUAGE: +MultiPlatformProjects
|
||||
// IGNORE_BACKEND_K2: ANY
|
||||
// REASON: K2 incorrectly generates IR for S2.s3 f/o
|
||||
|
||||
// MODULE: common
|
||||
// TARGET_PLATFORM: Common
|
||||
@@ -39,4 +42,4 @@ actual interface S : S1, S2 {
|
||||
fun s3() = s1() + s2()
|
||||
}
|
||||
|
||||
fun box() = B().s3()
|
||||
fun box() = B().s3()
|
||||
|
||||
Reference in New Issue
Block a user