Suppress DATA_CLASS_COPY_VISIBILITY_WILL_BE_CHANGED_WARNING todo: replace suppresses with @ConsistentCopyVisibility annotation after bootstrap. The annotation won't be available until we do the bootstrap update
diff --git a/compiler/cli/cli-common/src/org/jetbrains/kotlin/cli/common/messages/CompilerMessageLocation.kt b/compiler/cli/cli-common/src/org/jetbrains/kotlin/cli/common/messages/CompilerMessageLocation.kt index 6763f1e..96663ec 100644 --- a/compiler/cli/cli-common/src/org/jetbrains/kotlin/cli/common/messages/CompilerMessageLocation.kt +++ b/compiler/cli/cli-common/src/org/jetbrains/kotlin/cli/common/messages/CompilerMessageLocation.kt
@@ -29,6 +29,8 @@ val lineContent: String? // related to the (start) line/column only, used to show start position in the console output } +// todo: replace suppress with @ConsistentCopyVisibility annotation after bootstrap +@Suppress("DATA_CLASS_COPY_VISIBILITY_WILL_BE_CHANGED_WARNING") data class CompilerMessageLocation private constructor( override val path: String, override val line: Int, @@ -51,6 +53,8 @@ } } +// todo: replace suppress with @ConsistentCopyVisibility annotation after bootstrap +@Suppress("DATA_CLASS_COPY_VISIBILITY_WILL_BE_CHANGED_WARNING") data class CompilerMessageLocationWithRange private constructor( override val path: String, override val line: Int,
diff --git a/compiler/frontend/src/org/jetbrains/kotlin/resolve/calls/CallExpressionUnroller.kt b/compiler/frontend/src/org/jetbrains/kotlin/resolve/calls/CallExpressionUnroller.kt index 4de054c..314cb46 100644 --- a/compiler/frontend/src/org/jetbrains/kotlin/resolve/calls/CallExpressionUnroller.kt +++ b/compiler/frontend/src/org/jetbrains/kotlin/resolve/calls/CallExpressionUnroller.kt
@@ -38,6 +38,8 @@ return unrolled.asReversed() } +// todo: replace suppress with @ConsistentCopyVisibility annotation after bootstrap +@Suppress("DATA_CLASS_COPY_VISIBILITY_WILL_BE_CHANGED_WARNING") data class CallExpressionElement internal constructor(val qualified: KtQualifiedExpression) { val receiver: KtExpression
diff --git a/compiler/frontend/src/org/jetbrains/kotlin/resolve/calls/smartcasts/ExplicitSmartCasts.kt b/compiler/frontend/src/org/jetbrains/kotlin/resolve/calls/smartcasts/ExplicitSmartCasts.kt index e17639c..497dd23 100644 --- a/compiler/frontend/src/org/jetbrains/kotlin/resolve/calls/smartcasts/ExplicitSmartCasts.kt +++ b/compiler/frontend/src/org/jetbrains/kotlin/resolve/calls/smartcasts/ExplicitSmartCasts.kt
@@ -37,6 +37,8 @@ else MultipleSmartCasts(mapOf(call to type, smartCast.call to smartCast.type)) } +// todo: replace suppress with @ConsistentCopyVisibility annotation after bootstrap +@Suppress("DATA_CLASS_COPY_VISIBILITY_WILL_BE_CHANGED_WARNING") data class MultipleSmartCasts internal constructor(val map: Map<Call?, KotlinType>) : ExplicitSmartCasts { override fun type(call: Call?) = map[call]
diff --git a/compiler/frontend/src/org/jetbrains/kotlin/resolve/calls/smartcasts/ImplicitSmartCasts.kt b/compiler/frontend/src/org/jetbrains/kotlin/resolve/calls/smartcasts/ImplicitSmartCasts.kt index 3ecea14..b50db1d 100644 --- a/compiler/frontend/src/org/jetbrains/kotlin/resolve/calls/smartcasts/ImplicitSmartCasts.kt +++ b/compiler/frontend/src/org/jetbrains/kotlin/resolve/calls/smartcasts/ImplicitSmartCasts.kt
@@ -19,6 +19,8 @@ import org.jetbrains.kotlin.resolve.scopes.receivers.ImplicitReceiver import org.jetbrains.kotlin.types.KotlinType +// todo: replace suppress with @ConsistentCopyVisibility annotation after bootstrap +@Suppress("DATA_CLASS_COPY_VISIBILITY_WILL_BE_CHANGED_WARNING") data class ImplicitSmartCasts private constructor(val receiverTypes: Map<ImplicitReceiver, KotlinType>) { operator fun plus(other: ImplicitSmartCasts) = ImplicitSmartCasts(receiverTypes + other.receiverTypes)
diff --git a/compiler/ir/ir.tree/src/org/jetbrains/kotlin/ir/expressions/IrStatementOrigin.kt b/compiler/ir/ir.tree/src/org/jetbrains/kotlin/ir/expressions/IrStatementOrigin.kt index 6173482..e45b706 100644 --- a/compiler/ir/ir.tree/src/org/jetbrains/kotlin/ir/expressions/IrStatementOrigin.kt +++ b/compiler/ir/ir.tree/src/org/jetbrains/kotlin/ir/expressions/IrStatementOrigin.kt
@@ -113,6 +113,8 @@ val PARTIAL_LINKAGE_RUNTIME_ERROR by IrStatementOriginImpl } + // todo: replace suppress with @ConsistentCopyVisibility annotation after bootstrap + @Suppress("DATA_CLASS_COPY_VISIBILITY_WILL_BE_CHANGED_WARNING") data class COMPONENT_N private constructor(val index: Int) : IrStatementOrigin { override val debugName: String = "COMPONENT_$index"
diff --git a/native/analysis-api-klib-reader/src/org/jetbrains/kotlin/native/analysis/api/KlibDeclarationAddress.kt b/native/analysis-api-klib-reader/src/org/jetbrains/kotlin/native/analysis/api/KlibDeclarationAddress.kt index 92d0259..bd510e2 100644 --- a/native/analysis-api-klib-reader/src/org/jetbrains/kotlin/native/analysis/api/KlibDeclarationAddress.kt +++ b/native/analysis-api-klib-reader/src/org/jetbrains/kotlin/native/analysis/api/KlibDeclarationAddress.kt
@@ -20,6 +20,8 @@ public abstract val classId: ClassId } +// todo: replace suppress with @ConsistentCopyVisibility annotation after bootstrap +@Suppress("DATA_CLASS_COPY_VISIBILITY_WILL_BE_CHANGED_WARNING") public data class KlibClassAddress internal constructor( override val libraryPath: Path, public override val sourceFileName: String?, @@ -27,6 +29,8 @@ public override val classId: ClassId, ) : KlibClassifierAddress() +// todo: replace suppress with @ConsistentCopyVisibility annotation after bootstrap +@Suppress("DATA_CLASS_COPY_VISIBILITY_WILL_BE_CHANGED_WARNING") public data class KlibTypeAliasAddress internal constructor( override val libraryPath: Path, override val packageFqName: FqName, @@ -42,6 +46,8 @@ public abstract val callableName: Name } +// todo: replace suppress with @ConsistentCopyVisibility annotation after bootstrap +@Suppress("DATA_CLASS_COPY_VISIBILITY_WILL_BE_CHANGED_WARNING") public data class KlibPropertyAddress internal constructor( override val libraryPath: Path, override val sourceFileName: String?, @@ -49,6 +55,8 @@ override val callableName: Name, ) : KlibCallableAddress() +// todo: replace suppress with @ConsistentCopyVisibility annotation after bootstrap +@Suppress("DATA_CLASS_COPY_VISIBILITY_WILL_BE_CHANGED_WARNING") public data class KlibFunctionAddress internal constructor( override val libraryPath: Path, override val sourceFileName: String?,