Update annotation rendering in diagnostics
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
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
// !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<!>
|
||||
)
|
||||
Reference in New Issue
Block a user