mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 15:53:40 +00:00
For now they are always not rendered, but later they should be rendered in descriptors, but omitted in error messages
10 lines
229 B
Kotlin
Vendored
10 lines
229 B
Kotlin
Vendored
// !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")
|
|
} |