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
193 B
Kotlin
Vendored
13 lines
193 B
Kotlin
Vendored
// ISSUE: KT-40851
|
|
|
|
fun error(): Nothing = throw Exception()
|
|
|
|
class Some() {
|
|
<!MUST_BE_INITIALIZED_OR_BE_ABSTRACT!>var x: Int<!>
|
|
val y: Int = error()
|
|
|
|
init {
|
|
x = 1;
|
|
}
|
|
}
|