https://kotlinlang.org logo
#jvm-ir-backend-feedback
Title
# jvm-ir-backend-feedback
l

louiscad

04/29/2021, 6:37 PM
Did you test on 1.5-M2 and RC? I see the affected version only mentions 1.3.72 and 1.5-M1.
e

eygraber

04/29/2021, 6:47 PM
I tested on M2 and RC but didn't get a chance to push the topic.
l

louiscad

04/29/2021, 6:47 PM
"push the topic"?
e

eygraber

04/29/2021, 6:48 PM
Update it. I figured that since it was being tracked whoever was working on it would know that it wasn't fixed yet.
l

louiscad

04/29/2021, 6:49 PM
So, same issue on these versions? I think it'd be helpful to click on "affected versions" and add these. BTW, I'm a bit surprised: happening on 1,3,72 and 1.5… what about 1.4.x?
e

eygraber

04/29/2021, 6:51 PM
Oh interesting, didn't know I could change those. I tested on 1.4.x and 1.5 M1 but not on 1.3.72. Not sure how that got there.
l

louiscad

04/29/2021, 6:53 PM
You can also edit an already submitted issue as well if you're the author. That can be used to add details that help the people dealing with your issue for example.
u

udalov

05/04/2021, 10:15 AM
Just wanted to clarify that our highest priority right now are issues which started to reproduce with JVM IR in 1.5.0, since the effect is that a project working with 1.4.32 will fail to compile if the user updates Kotlin to 1.5.0. Since the issue as stated in KT-45704 has been there apparently since 1.0.0, it’s not the highest priority, but we’ll get to it later. Please correct me if I misunderstood something. It makes me wonder though how does your project, if it indeed contains such code pattern, compile right now? Is there any chance you’ve reported another problem that was found accidentally during minimizing the original problem?
e

eygraber

05/04/2021, 5:18 PM
This code works fine in 1.4.32 unless we turn on IR, and it is also broken on 1.5
u

udalov

05/04/2021, 6:45 PM
Sorry if I'm being unclear. The code as provided in KT-45704 fails in 1.4.32 too (with the same IOOBE "Cannot pop operand off an empty stack"): https://pl.kotl.in/jXXL81YOi ... and with minor modifications it fails on all earlier Kotlin versions even including 1.0.0. So my suspicion is that while minimizing the issue, you've accidentally changed the code so that it no longer represents the actual problem you have in your project, but fails with this irrelevant error that has been there forever.
e

eygraber

05/05/2021, 3:52 AM
Hmm it's possible that happened. I'll investigate. If that is the case, can I DM you the original code?
3 Views