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
11 lines
307 B
Kotlin
Vendored
11 lines
307 B
Kotlin
Vendored
// !RENDER_DIAGNOSTICS_MESSAGES
|
|
|
|
@Target(AnnotationTarget.FUNCTION, AnnotationTarget.TYPE, AnnotationTarget.CLASS)
|
|
annotation class Ann(val s: String = "")
|
|
|
|
@Ann("s")
|
|
fun foo() {}
|
|
|
|
val bar = foo(
|
|
<!TOO_MANY_ARGUMENTS("public fun foo(): Unit defined in root package in file tooManyArguments.kt")!>15<!>
|
|
) |