965946d3ef
Do not try to find PSI element, but always use the IR element offsets instead. This greatly simplifies test data because we don't need to have custom PSI- and LT- based diagnostic ranges in every test, and K1/K2 behavior also is mostly the same. The exact offset ranges are not as important for backend diagnostics, so it's better to have K2+PSI and K2+LT behaving the same.
11 lines
313 B
Kotlin
Vendored
11 lines
313 B
Kotlin
Vendored
// 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())<!>
|
|
}
|