blob: 23a5329cdeb3ee469e8ff01ec7dc033c6b3167c9 [file]
// RUN_PIPELINE_TILL: FRONTEND
// FIR_IDENTICAL
// DIAGNOSTICS: -UNUSED_EXPRESSION -UNUSED_PARAMETER -UNUSED_VARIABLE -NOTHING_TO_INLINE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE
inline fun inlineFunWithInvoke(s: (p: Int) -> Unit, ext: Int.(p: Int) -> Unit) {
var d = <!USAGE_IS_NOT_INLINABLE!>s<!>
d = <!USAGE_IS_NOT_INLINABLE!>s<!>
var e = <!USAGE_IS_NOT_INLINABLE!>ext<!>
e = <!USAGE_IS_NOT_INLINABLE!>ext<!>
}
inline fun Function1<Int, Unit>.inlineExt() {
var d = this
d = this
}
/* GENERATED_FIR_TAGS: assignment, funWithExtensionReceiver, functionDeclaration, functionalType, inline, localProperty,
propertyDeclaration, thisExpression, typeWithExtension */