Kotlin 2.0 & K2, what does this mean for Detekt? #5775
Replies: 3 comments 1 reply
-
The K2 compiler gets a new frontend called frontend intermediate representation. As detekt relies on the PSI, this will most likely impact further development after K2 has been stable. |
Beta Was this translation helpful? Give feedback.
-
We could try with K2 earlier following the documentation to provide early feedback https://kotlinlang.org/docs/whatsnew-eap.html?_gl=1*1pf7wr0*_ga*MjA0MzU5OTIxMy4xNjc3NDQ4MzE3*_ga_9J976DJZ68*MTY3NzQ0ODMxNy4xLjEuMTY3NzQ0ODM4NS41NS4wLjA.&_ga=2.180902631.1599569198.1677448318-2043599213.1677448317#new-kotlin-k2-compiler-updates |
Beta Was this translation helpful? Give feedback.
-
Sneak peak: yes :D We're working on it <3 And yes, I believe that K2 would mean a lot of rules will have to be re-written or adapted. |
Beta Was this translation helpful? Give feedback.
-
Hi there, the news is out, K2 is coming soon (this or next year):
https://blog.jetbrains.com/kotlin/2023/02/k2-kotlin-2-0/
What does this mean for Detekt?
Is there a need for rewrite (PSI changes)?
Will we just get "free" performance?
Will it break the compiler plugin?
Will there be an actual Detekt 2.0? 😊
Beta Was this translation helpful? Give feedback.
All reactions