[Tests] Update test data with error suppression warnings
#KT-61129 Fixed
This commit is contained in:
committed by
Space Team
parent
969c716c76
commit
5b9c35de2e
Vendored
+27
@@ -0,0 +1,27 @@
|
||||
// WITH_STDLIB
|
||||
// MODULE: m1-common
|
||||
// FILE: common.kt
|
||||
expect annotation class TypealiasToKotlinPkg
|
||||
|
||||
internal expect annotation class TypealiasToInternalPkg
|
||||
|
||||
expect annotation class TypealiasToAnnotationPkg
|
||||
|
||||
expect annotation class TypealiasToPlatformPkg
|
||||
|
||||
expect enum class TypealiasNotToAnnotation
|
||||
|
||||
// MODULE: m1-jvm()()(m1-common)
|
||||
// FILE: jvm.kt
|
||||
actual typealias TypealiasToKotlinPkg = <!ACTUAL_TYPEALIAS_TO_SPECIAL_ANNOTATION!>kotlin.Deprecated<!>
|
||||
|
||||
@Suppress(<!ERROR_SUPPRESSION!>"INVISIBLE_REFERENCE"<!>)
|
||||
internal actual typealias TypealiasToInternalPkg = <!ACTUAL_TYPEALIAS_TO_SPECIAL_ANNOTATION!>kotlin.internal.RequireKotlin<!>
|
||||
|
||||
actual typealias TypealiasToAnnotationPkg = <!ACTUAL_TYPEALIAS_TO_SPECIAL_ANNOTATION!>kotlin.annotation.Target<!>
|
||||
|
||||
actual typealias TypealiasToPlatformPkg = kotlin.jvm.Synchronized
|
||||
|
||||
typealias NonActualTypealias = kotlin.Deprecated
|
||||
|
||||
actual typealias TypealiasNotToAnnotation = kotlin.DeprecationLevel
|
||||
-1
@@ -1,4 +1,3 @@
|
||||
// FIR_IDENTICAL
|
||||
// WITH_STDLIB
|
||||
// MODULE: m1-common
|
||||
// FILE: common.kt
|
||||
|
||||
Vendored
+29
@@ -0,0 +1,29 @@
|
||||
// WITH_STDLIB
|
||||
// MODULE: m1-common
|
||||
// FILE: common.kt
|
||||
package kotlin
|
||||
|
||||
@OptIn(ExperimentalMultiplatform::class)
|
||||
@OptionalExpectation
|
||||
expect annotation class OptionalExpectationOnExpectOnly
|
||||
|
||||
@RequiresOptIn
|
||||
annotation class MyOptIn
|
||||
|
||||
@SinceKotlin("1.8")
|
||||
@Deprecated(message = "Some text")
|
||||
@DeprecatedSinceKotlin("1.8")
|
||||
@Suppress(<!ERROR_SUPPRESSION!>"INVISIBLE_REFERENCE"<!>, "INVISIBLE_MEMBER")
|
||||
@MyOptIn
|
||||
@WasExperimental(MyOptIn::class)
|
||||
@kotlin.internal.RequireKotlin(version = "1.8")
|
||||
expect fun skippedAnnotationsOnExpectOnly()
|
||||
|
||||
// MODULE: m1-jvm()()(m1-common)
|
||||
// FILE: jvm.kt
|
||||
package kotlin
|
||||
|
||||
@OptIn(ExperimentalMultiplatform::class)
|
||||
actual annotation class OptionalExpectationOnExpectOnly
|
||||
|
||||
actual fun skippedAnnotationsOnExpectOnly() {}
|
||||
-1
@@ -1,4 +1,3 @@
|
||||
// FIR_IDENTICAL
|
||||
// WITH_STDLIB
|
||||
// MODULE: m1-common
|
||||
// FILE: common.kt
|
||||
|
||||
Reference in New Issue
Block a user