I have this really bizarre bug in IDEA EAP with K2...
# eap
l
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
I would suggest to submit a new Kotlin issue for this problem
l
Thank you. I will do this.
r
Thank you for reporting this! The problem has been fixed
🚀 1
l
Thanks a lot. I saw the comment. I'll switch K2 back on once the fix reaches the latest beta.
🤝 1