b7e5d9faae
Disable annotation rendering in default type and descriptor renderers. Preserve annotations in Android and Serialization plugins. Update error texts in ide tests. Nullability annotations in Java descriptors are rendered with context-dependent renderer. #KT-20258 Fixed
10 lines
359 B
Kotlin
Vendored
10 lines
359 B
Kotlin
Vendored
// !RENDER_DIAGNOSTICS_MESSAGES
|
|
|
|
@Target(AnnotationTarget.FUNCTION, AnnotationTarget.TYPE, AnnotationTarget.CLASS, AnnotationTarget.PROPERTY, AnnotationTarget.VALUE_PARAMETER)
|
|
annotation class An
|
|
|
|
@An
|
|
data class A(@An val x: @An Int) {
|
|
<!CONFLICTING_OVERLOADS("public final fun copy(x: Int): Int defined in A")!>@An
|
|
fun copy(@An x: @An Int)<!> = x
|
|
} |