[FIR-TEST] Move analysis tests to separate module

This commit is contained in:
Dmitriy Novozhilov
2020-03-18 15:10:46 +03:00
parent 3a479d5d16
commit cc07ae96b3
1477 changed files with 1001 additions and 980 deletions
@@ -0,0 +1,9 @@
abstract class A {
companion object {
protected val PROTECTED_CONST: String = ""
}
}
class B : A() {
val y: String = PROTECTED_CONST
}
@@ -0,0 +1,26 @@
FILE: protectedInCompanion.kt
public abstract class A : R|kotlin/Any| {
public constructor(): R|A| {
super<R|kotlin/Any|>()
}
public final companion object Companion : R|kotlin/Any| {
private constructor(): R|A.Companion| {
super<R|kotlin/Any|>()
}
protected final val PROTECTED_CONST: R|kotlin/String| = String()
protected get(): R|kotlin/String|
}
}
public final class B : R|A| {
public constructor(): R|B| {
super<R|A|>()
}
public final val y: R|kotlin/String| = this@R|/A.Companion|.R|/A.Companion.PROTECTED_CONST|
public get(): R|kotlin/String|
}