I often see @InlineOnly annotation when viewing Kotlin stdlib. As far as I remember, annotation is only mentioned in inline functions. What is the purpose of this annotation? Isn't it obvious that inline functions are always inlined? The documentation is not very helpful.
Indicates that this function cannot be called directly without insertion.
Is it possible for inline functions to be called out of line?
kotlin
Mibac
source share