Test for obsolete KT-4869: Report error when inline parameter is passed to a function variable
#KT-4869 Obsolete
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
inline fun foo(f: () -> Unit) {
|
||||
val ff = { f: () -> Unit ->
|
||||
|
||||
}
|
||||
ff(<!USAGE_IS_NOT_INLINABLE!>f<!>)
|
||||
}
|
||||
Reference in New Issue
Block a user