is there any flag for the compiler not to generate...
# announcements
p
is there any flag for the compiler not to generate functions that have been inlined? as I understand they’re created only for the purpose of keeping Java’s interop, and maybe debugging
v
You need
@kotlin.internal.InlineOnly
. It is not public at the moment.
I think the reason is that the compiler needs the byte code for separate compilation
e
Separate compilation it is.
private inline
function do not have to be kept, though: https://youtrack.jetbrains.com/issue/KT-19198
👍🏽 1
p
Brilliant. Thank you both!