Kotlin inline functions generate unused bytecode
When I use Kotlin inlined functions and check the generated bytecode (and decompiled file) I see some useless instructions that are added, compared to when I'm not using the inline functions.
This is my test code, with 3 tests:
Using the built-in inline function apply (withApply)
Not using any inline functions (withoutApply)
Using an inline function defined by me called inlineTest (withCustomInline)
Each of the tests does the same thing: create a Test object and call the test method on it....