I have this really bizarre bug in IDEA EAP with K2. I have a JS module in my project, and if I enable K2 and do an "optimise imports" in IDEA, it adds the following line to the set of imports:
Copy code
import <dynamic>.get
This is of course invalid code. I do an "optimise imports" on commit, so what happened was that even though I ran all the testcases before comitting, I ended up committing and pushing broken code. I did this 2 or 3 times before I figured out why the integration tests failed.
youtrack 1
✅ 1
t
tapchicoma
10/27/2024, 8:36 PM
I would suggest to submit a new Kotlin issue for this problem