Update testData after materializing data class copy in analysis API in kotlin repo

KT-11914
Kotlin review: https://jetbrains.team/p/kt/reviews/15189/timeline

GitOrigin-RevId: e5726383d681661b7a7c8b23cd18bce4f2cb5f40
This commit is contained in:
Nikita Bobko
2024-04-05 06:38:13 +02:00
committed by intellij-monorepo-bot
parent a31abb5ce1
commit efb8af3b36
4 changed files with 6 additions and 2 deletions
@@ -1,7 +1,7 @@
public final data [ResolvedTo(BODY_RESOLVE)] class MyDataClass : R|kotlin/Any| {
public final operator [ResolvedTo(BODY_RESOLVE)] fun component1(): R|kotlin/Int|
public? final [ResolvedTo(BODY_RESOLVE)] fun copy([ResolvedTo(BODY_RESOLVE)] c: R|kotlin/Int| = this@R|library/MyDataClass|.R|library/MyDataClass.c|): R|library/MyDataClass|
public final [ResolvedTo(BODY_RESOLVE)] fun copy([ResolvedTo(BODY_RESOLVE)] c: R|kotlin/Int| = STUB): R|library/MyDataClass|
public open operator [ResolvedTo(BODY_RESOLVE)] fun equals([ResolvedTo(BODY_RESOLVE)] other: R|kotlin/Any?|): R|kotlin/Boolean|
@@ -8,6 +8,8 @@ public final data class Modifiers public constructor(x: kotlin.Int) {
public final operator fun component1(): kotlin.Int { /* compiled code */ }
public final fun copy(x: kotlin.Int = COMPILED_CODE): test.Modifiers { /* compiled code */ }
public open operator fun equals(other: kotlin.Any?): kotlin.Boolean { /* compiled code */ }
public open fun hashCode(): kotlin.Int { /* compiled code */ }
@@ -12,7 +12,7 @@ fun foo() {
}
// REF1: (in dependency.LibraryDataClass).component1()
// REF2: (dependency).LibraryDataClass
// REF2: (in dependency.LibraryDataClass).copy(String)
// REF3: (in dependency.LibraryDataClass).equals(Any?)
// REF4: (in dependency.LibraryDataClass).hashCode()
// REF5: (in dependency.LibraryDataClass).toString()
@@ -4,6 +4,7 @@
component1(): A
component2(): B
constructor Pair(A, B)
copy(A, B): Pair<A, B>
equals(Any?): Boolean
first: A
hashCode(): Int
@@ -15,6 +16,7 @@
component2(): B
component3(): C
constructor Triple(A, B, C)
copy(A, B, C): Triple<A, B, C>
equals(Any?): Boolean
first: A
hashCode(): Int