9d3bf69212
After this commit all IR source range tests behave in the same way for FIR/PSI and FIR/LT, test data is now consistent
13 lines
198 B
Kotlin
Vendored
13 lines
198 B
Kotlin
Vendored
// ISSUE: KT-40851
|
|
|
|
fun error(): Nothing = throw Exception()
|
|
|
|
class Some<!UNREACHABLE_CODE!>()<!> {
|
|
var x: Int
|
|
val y: Int = error()
|
|
|
|
init {
|
|
<!UNREACHABLE_CODE!>x = 1<!>;
|
|
}
|
|
}
|