Do not render @NoInfer, @Exact annotations
For now they are always not rendered, but later they should be rendered in descriptors, but omitted in error messages
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
// !DIAGNOSTICS_NUMBER: 1
|
||||
// !DIAGNOSTICS: TYPE_MISMATCH
|
||||
// !MESSAGE_TYPE: TEXT
|
||||
|
||||
@Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE")
|
||||
fun <T> test1(t1: T, t2: @kotlin.internal.NoInfer T): T = t1
|
||||
|
||||
fun usage() {
|
||||
test1(1, "a")
|
||||
}
|
||||
Reference in New Issue
Block a user