[PSI2IR, K/Wasm] Sync start and end offsets on PSI and FIR for primary constructors

This commit is contained in:
Artem Kobzar
2024-02-29 14:42:33 +00:00
committed by Space Team
parent 87e162e052
commit 2e4d02e9f4
126 changed files with 82 additions and 188 deletions
@@ -1,10 +0,0 @@
// WITH_STDLIB
@JvmInline
value class A<!CONFLICTING_JVM_DECLARATIONS!>(val x: Int)<!> {
<!CONFLICTING_JVM_DECLARATIONS!>constructor(x: UInt): this(x.toInt())<!>
}
data class B<!CONFLICTING_JVM_DECLARATIONS!>(val x: UInt)<!> {
<!CONFLICTING_JVM_DECLARATIONS!>constructor(x: Int) : this(x.toUInt())<!>
}
@@ -1,10 +1,11 @@
// FIR_IDENTICAL
// WITH_STDLIB
@JvmInline
value <!CONFLICTING_JVM_DECLARATIONS!>class A(val x: Int) {
value class A<!CONFLICTING_JVM_DECLARATIONS!>(val x: Int)<!> {
<!CONFLICTING_JVM_DECLARATIONS!>constructor(x: UInt): this(x.toInt())<!>
}<!>
}
data <!CONFLICTING_JVM_DECLARATIONS!>class B(val x: UInt) {
data class B<!CONFLICTING_JVM_DECLARATIONS!>(val x: UInt)<!> {
<!CONFLICTING_JVM_DECLARATIONS!>constructor(x: Int) : this(x.toUInt())<!>
}<!>
}