Files
kotlin-fork/compiler/fir/analysis-tests/testData/resolve/diagnostics/delegationSuperCallInEnumConstructor.fir.txt
T
Dmitriy Novozhilov e6b5cb5216 [TD] Update diagnostics test data due to new test runners
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
2020-12-16 19:52:25 +03:00

39 lines
1009 B
Plaintext
Vendored

FILE: delegationSuperCallInEnumConstructor.kt
public final enum class A : R|kotlin/Enum<A>| {
public final static enum entry A: R|A| = object : R|A| {
private constructor(): R|<anonymous>| {
super<R|A|>(Int(1))
}
}
public final static enum entry B: R|A| = object : R|A| {
private constructor(): R|<anonymous>| {
super<R|A|>(Int(2))
}
}
public final static enum entry C: R|A| = object : R|A| {
private constructor(): R|<anonymous>| {
super<R|A|>(String(test))
}
}
private constructor(x: R|kotlin/Int|): R|A| {
super<R|kotlin/Enum<A>|>()
}
private constructor(t: R|kotlin/String|): R|A| {
this<R|A|>(Int(10))
}
public final static fun values(): R|kotlin/Array<A>| {
}
public final static fun valueOf(value: R|kotlin/String|): R|A| {
}
}