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

thana

08/28/2019, 3:11 PM
awesome. i have a kotlin file with 359 lines in total, let intellij show me the bytecode. Trying to decompile the byte code intellij hardly survives and after minutes of waiting it warns me that it can only 2.56MB of the total of 155.44MB. is that a normal thing?
👍 1
l

louiscad

08/28/2019, 3:14 PM
Is that code using coroutines, especially launching them?
t

thana

08/28/2019, 3:14 PM
yes
l

louiscad

08/28/2019, 3:29 PM
@thana You're probably encountering this issue: https://youtrack.jetbrains.com/issue/IDEA-199689
t

thana

08/28/2019, 3:33 PM
thanks 😄
allthough im unsure if there is really an endless nesting for me at least it says that the resulting java code has a finite size (allthough im not sure if this is only, because decompilation failed/gave up at some point)
k

kralli

08/29/2019, 6:15 AM
Yeah I wasn’t sure either whether or not it actually is a endless loop when I created that issue.
t

thana

08/29/2019, 6:17 AM
still thanks for creating it. btw i found that even the simplest code (sequence to create the fbinocci numbers) results in this maybe-endless loop
maybe i should add this to the issue 🤦‍♂️
k

kralli

08/29/2019, 6:22 AM
Yeah it’s unable to decompile the state machine, which is created for any coroutine