[FIR Test] Migrate AbstractFirLoadCompiledKotlin to new test infrastructure

Also introduce two different modes for those tests:
- load metadata compiled with K1
- load metadata compiled with K2
This commit is contained in:
Dmitriy Novozhilov
2023-04-17 11:54:59 +03:00
committed by Space Team
parent 63829876b7
commit 6287968511
253 changed files with 9801 additions and 3015 deletions
@@ -0,0 +1,28 @@
public final annotation class A : R|kotlin/Annotation| {
public final val s: R|kotlin/String|
public get(): R|kotlin/String|
public constructor(s: R|kotlin/String|): R|test/A|
}
public final class Outer : R|kotlin/Any| {
public constructor(): R|test/Outer|
public final class Nested : R|kotlin/Any| {
public final val x: R|kotlin/String|
public get(): R|kotlin/String|
public constructor(@R|test/A|(s = String(nested)) x: R|kotlin/String|): R|test/Outer.Nested|
}
public final inner class Inner : R|kotlin/Any| {
public final val y: R|kotlin/String|
public get(): R|kotlin/String|
public test/Outer.constructor(@R|test/A|(s = String(inner)) y: R|kotlin/String|): R|test/Outer.Inner|
}
}