e6b5cb5216
Update includes:
- Changing syntax of `OI/`NI` tags from `<!NI;TAG!>` to `<!TAG{NI}!>`
- Fix some incorrect directives
- Change order of diagnostics in some places
- Remove ignored diagnostics from FIR test data (previously `DIAGNOSTICS` didn't work)
- Update FIR dumps in some places and add `FIR_IDENTICAL` if needed
- Replace all JAVAC_SKIP with SKIP_JAVAC directive
55 lines
1.6 KiB
Plaintext
Vendored
55 lines
1.6 KiB
Plaintext
Vendored
FILE: repeatedModifier.kt
|
|
public open class A : R|kotlin/Any| {
|
|
public constructor(): R|A| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
}
|
|
internal final object B : R|kotlin/Any| {
|
|
private constructor(): R|B| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
}
|
|
public final enum class C : R|kotlin/Enum<C>| {
|
|
private constructor(): R|C| {
|
|
super<R|kotlin/Enum<C>|>()
|
|
}
|
|
|
|
public final static enum entry VALUE1: R|C|
|
|
public final static enum entry VALUE2: R|C|
|
|
protected final companion object Companion : R|kotlin/Any| {
|
|
private constructor(): R|C.Companion| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
private final val D: R|kotlin/Int| = Int(5)
|
|
private get(): R|kotlin/Int|
|
|
|
|
}
|
|
|
|
public final inline fun foo(f: R|(kotlin/Int) -> kotlin/Int|): R|kotlin/Int| {
|
|
^foo R|<local>/f|.R|SubstitutionOverride<kotlin/Function1.invoke: R|kotlin/Int|>|(Int(8))
|
|
}
|
|
|
|
public final static fun values(): R|kotlin/Array<C>| {
|
|
}
|
|
|
|
public final static fun valueOf(value: R|kotlin/String|): R|C| {
|
|
}
|
|
|
|
}
|
|
public open class E : R|kotlin/Any| {
|
|
public constructor(int: R|kotlin/Int| = Int(5)): R|E| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
private final val int: R|kotlin/Int| = R|<local>/int|
|
|
private get(): R|kotlin/Int|
|
|
|
|
protected final var double: R|kotlin/Double| = this@R|/E|.R|/E.int|.R|kotlin/Int.plus|(Double(8.0))
|
|
protected get(): R|kotlin/Double|
|
|
protected set(value: R|kotlin/Double|): R|kotlin/Unit|
|
|
|
|
}
|