[FIR] Fix annotations invalid references diagnostics

This commit is contained in:
Igor Yakovlev
2021-04-30 17:12:58 +02:00
committed by TeamCityServer
parent 261098a122
commit ae63ad0b6d
18 changed files with 78 additions and 39 deletions
@@ -1,7 +1,7 @@
// !CHECK_TYPE
@<!INVISIBLE_REFERENCE!>kotlin.internal.InlineOnly<!>
@kotlin.internal.<!INVISIBLE_REFERENCE!>InlineOnly<!>
public inline fun <C, R> C.ifEmpty(f: () -> R): R where C : Collection<*>, C : R = if (isEmpty()) f() else this
public fun <T> listOf(t: T): List<T> = TODO()