f38c0cf348
Similarly to FIR diagnostic tests. This commit enable all available test data and check the reported error messages by FIR. This helps identify some issues in formatting of FIR diagnostics. The changes on the test file are mechanically generated. Failed tests are disabled with `// IGNORE_FIR` and are re-enabled in the second commit.
28 lines
277 B
Kotlin
Vendored
28 lines
277 B
Kotlin
Vendored
interface NoC {
|
|
init {
|
|
|
|
}
|
|
|
|
val a : Int get() = 1
|
|
|
|
init {
|
|
|
|
}
|
|
}
|
|
|
|
class WithC() {
|
|
val x : Int = 42
|
|
init {
|
|
val b = x
|
|
|
|
}
|
|
|
|
val a : Int get() = 1
|
|
|
|
init {
|
|
val z = <error descr="[UNRESOLVED_REFERENCE] Unresolved reference: b">b</error>
|
|
val zz = x
|
|
}
|
|
|
|
}
|