https://kotlinlang.org logo
#announcements
Title
# announcements
p

pakoito

07/24/2017, 12:24 AM
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

voddan

07/24/2017, 2:50 AM
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

elizarov

07/24/2017, 9:35 AM
Separate compilation it is.
private inline
function do not have to be kept, though: https://youtrack.jetbrains.com/issue/KT-19198
👍🏽 1
p

pakoito

07/24/2017, 9:51 AM
Brilliant. Thank you both!