Raw FIR/LT: use similar sources for delegated constructor calls
After this commit all IR source range tests behave in the same way for FIR/PSI and FIR/LT, test data is now consistent
This commit is contained in:
committed by
Space Team
parent
4ed6ece78b
commit
9d3bf69212
+4
-5
@@ -1,13 +1,12 @@
|
||||
// COMPARE_WITH_LIGHT_TREE
|
||||
// ISSUE: KT-40851
|
||||
|
||||
fun error(): Nothing = throw Exception()
|
||||
|
||||
<!UNREACHABLE_CODE{LT}!>class Some<!UNREACHABLE_CODE{PSI}!>()<!> {
|
||||
class Some<!UNREACHABLE_CODE!>()<!> {
|
||||
var x: Int
|
||||
val y: Int =<!> error()
|
||||
val y: Int = error()
|
||||
|
||||
<!UNREACHABLE_CODE{LT}!>init {
|
||||
init {
|
||||
<!UNREACHABLE_CODE!>x = 1<!>;
|
||||
}
|
||||
}<!>
|
||||
}
|
||||
|
||||
Vendored
-1
@@ -1,4 +1,3 @@
|
||||
// COMPARE_WITH_LIGHT_TREE
|
||||
// ISSUE: KT-40851
|
||||
|
||||
fun error(): Nothing = throw Exception()
|
||||
|
||||
Reference in New Issue
Block a user