Join the global Kotlin community at KotlinConf, Munich, May 2026 :point_right: https://kotl.in/conf-yt Kotlin 2.2 makes the compiler even smarter by introducing context-sensitive resolution as an experimental feature. This improvements lets you use enum entries and similar “static” values, as well as types from sealed hierarchies without having to qualify them with the containing type, whenever that’s already obvious from the context.
Read the full proposal: https://github.com/Kotlin/KEEP/blob/i...
Join the discussion: https://github.com/Kotlin/KEEP/issues...
See everything new in Kotlin 2.2: https://kotlinlang.org/docs/whatsnew2...