Files
kotlin-fork/compiler/testData/diagnostics/testsWithStdLib/inline/inlineOnlySuppressesNothingToInline.kt
T
pyos e6d923f65c FIR: rename HIDDEN to INVISIBLE_REFERENCE
Some of them should be INVISIBLE_MEMBER though
2021-04-21 16:18:21 +03:00

33 lines
547 B
Kotlin
Vendored

// FIR_IDENTICAL
// !DIAGNOSTICS: -INVISIBLE_MEMBER -INVISIBLE_REFERENCE -UNUSED_PARAMETER -NULLABLE_INLINE_PARAMETER
@kotlin.internal.InlineOnly
inline fun test() {
}
@kotlin.internal.InlineOnly
inline fun test3(noinline s : (Int) -> Int) {
}
@kotlin.internal.InlineOnly
inline fun test4(noinline s : Int.() -> Int) {
}
@kotlin.internal.InlineOnly
inline fun Function1<Int, Int>?.test5() {
}
@kotlin.internal.InlineOnly
inline fun Function1<Int, Int>?.test6() {
}
@kotlin.internal.InlineOnly
inline fun test2(s : ((Int) -> Int)?) {
}