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
31 lines
820 B
Plaintext
Vendored
31 lines
820 B
Plaintext
Vendored
FILE: companionAccessInEnum.kt
|
|
public final enum class A : R|kotlin/Enum<A>| {
|
|
private constructor(): R|A| {
|
|
super<R|kotlin/Enum<A>|>()
|
|
}
|
|
|
|
public final static enum entry X: R|A|
|
|
public final static enum entry Y: R|A|
|
|
public final companion object Companion : R|kotlin/Any| {
|
|
private constructor(): R|A.Companion| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
public final fun foo(): R|kotlin/Int| {
|
|
^foo Int(1)
|
|
}
|
|
|
|
}
|
|
|
|
public final fun foo(): R|kotlin/Int| {
|
|
^foo Q|A.Companion|.R|/A.Companion.foo|()
|
|
}
|
|
|
|
public final static fun values(): R|kotlin/Array<A>| {
|
|
}
|
|
|
|
public final static fun valueOf(value: R|kotlin/String|): R|A| {
|
|
}
|
|
|
|
}
|