Files
kotlin-fork/compiler/fir/analysis-tests/testData/resolve/delegatingConstructorCall.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

106 lines
2.7 KiB
Plaintext
Vendored

FILE: delegatingConstructorCall.kt
public final fun <K> materialize(): R|K| {
^materialize Null(null)!!
}
public open class A1 : R|kotlin/Any| {
public constructor(x: R|kotlin/String|): R|A1| {
super<R|kotlin/Any|>()
}
public final val x: R|kotlin/String| = R|<local>/x|
public get(): R|kotlin/String|
}
public final class B1 : R|A1| {
public constructor(): R|B1| {
super<R|A1|>(R|/materialize|<R|kotlin/String|>())
}
}
public open class A2 : R|kotlin/Any| {
public constructor(x: R|kotlin/Int|): R|A2| {
super<R|kotlin/Any|>()
}
public final val x: R|kotlin/Int| = R|<local>/x|
public get(): R|kotlin/Int|
}
public final class B2 : R|A2| {
public constructor(): R|B2| {
super<R|A2|>(Int(1).R|kotlin/Int.plus|(Int(1)))
}
}
public open class A3 : R|kotlin/Any| {
public constructor(x: R|kotlin/String|, y: R|kotlin/String| = String()): R|A3| {
super<R|kotlin/Any|>()
}
public constructor(x: R|kotlin/String|, b: R|kotlin/Boolean| = Boolean(true)): R|A3| {
this<R|A3|>(R|<local>/x|, R|<local>/x|)
}
}
public final class B3_1 : R|A3| {
public constructor(): R|B3_1| {
super<R|A3|>(String())
}
}
public final class B3_2 : R|A3| {
public constructor(): R|B3_2| {
super<R|A3|>(String(), String(asas))
}
}
public final class B3_3 : R|A3| {
public constructor(): R|B3_3| {
super<R|A3|>(String(), Boolean(true))
}
}
public final class B3_4 : R|A3| {
public constructor(): R|B3_4| {
super<R|A3|>(String(), Q|kotlin/Unit|)
}
}
public open class A4 : R|kotlin/Any| {
public constructor(x: R|kotlin/Byte|): R|A4| {
super<R|kotlin/Any|>()
}
public final val x: R|kotlin/Byte| = R|<local>/x|
public get(): R|kotlin/Byte|
}
public final class B4 : R|A4| {
public constructor(): R|B4| {
super<R|A4|>(Int(1).R|kotlin/Int.plus|(Int(1)))
}
}
public open class A5 : R|kotlin/Any| {
public constructor(x: R|kotlin/Byte|): R|A5| {
super<R|kotlin/Any|>()
}
public constructor(x: R|kotlin/Short|): R|A5| {
super<R|kotlin/Any|>()
}
}
public final class B5_1 : R|A5| {
public constructor(): R|B5_1| {
super<R|A5|>(Int(1).R|kotlin/Int.plus|(Int(1)))
}
}
public final class B5_2 : R|A5| {
public constructor(): R|B5_2| {
super<R|A5|>(Int(100).R|kotlin/Int.times|(Int(2)))
}
}