Closed aSemy closed 1 month ago
I've experimented briefly, but I think IntelliJ doesn't support K2 very well. I kept seeing IDE errors about kotlin.Unit
not being found.
I've experimented briefly, but I think IntelliJ doesn't support K2 very well. I kept seeing IDE errors about
kotlin.Unit
not being found.
Do you know if this issue is tracked somewhere? As you spend more time in the code base, so you find it a blocker for merging this PR? I use Kotlin 2.0 in github-workflows-kt and haven't noticed this problem.
Do you know if this issue is tracked somewhere? As you spend more time in the code base, so you find it a blocker for merging this PR? I use Kotlin 2.0 in github-workflows-kt and haven't noticed this problem.
So K2 works - but IntelliJ's K2 mode doesn't work for KMP projects https://blog.jetbrains.com/idea/2024/03/k2-kotlin-mode-alpha-in-intellij-idea/. So, just don't enable K2 in IntelliJ for now. I couldn't find a YouTrack issue...
Here's the ticket for K2 KMP support in IJ https://youtrack.jetbrains.com/issue/KTIJP-6
.kotlin/
to.gitignore