Search code examples
kotlininline

How to suppress: Expected performance impact from inlining is insignificant. Inlining works best for functions with parameters of functional types


How to suppress the following warning?

Expected performance impact from inlining is insignificant. Inlining works best for functions with parameters of functional types


Solution

  • based on this:

    @file:Suppress("NOTHING_TO_INLINE")
    

    or

    @Suppress("NOTHING_TO_INLINE")