Hello, World! Are there known bugs where the Kotl...
# announcements
b
Hello, World! Are there known bugs where the Kotlin compiler never ends? I'm in this situation and don't know what to do.
c
not sure
😂 1
b
well... actually it was just VERY VERY slow 😄 I thought it was an infinite loop or something.
k
Oh, shit, this makes me remember I have to write a bugreport for this
My case was a bunch of ifs and while loops in a suspending inlined lambda which doubles the generated code for each if.
w
Sometimes build seems to get stuck when it runs out of memory. Although for me it’s usually one of Android Gradle Plugin’s tasks, not Kotlin compilation itself
b
this is on an open source project so if anyone's interested I can provide repro steps
basically it takes 5 minutes to compile one single file
k
Send the link
b
here: https://github.com/BoD/libticker -
./gradlew build
to see it being slow
k
Do you know which file is slow?
a
Could be a compiler performance problem. Anyway, this looks like a bug, can you please file an issue in the bug tracker http://kotl.in/issue? We'll investigate. Thanks!