https://kotlinlang.org logo
#k2-early-adopters
Title
# k2-early-adopters
o

Oliver.O

11/13/2023, 8:44 PM
Regarding KT-4113 No smartcast for nullable lambda property (functional type) with implicit/operator
invoke
call The issue is indeed fixed in K2, yet the IDE is still complaining (IDEA 2023.2.5, Kotlin: 232-1.9.20-release-507-IJ10072.27).
Reference has a nullable type '(suspend FrontendClientSessionPair.() -> Unit)?', use explicit '?.invoke()' to make a function-like call instead
Is this as expected given the current state of releases, or should I file another issue on KTIJ?
d

dmitriy.novozhilov

11/13/2023, 9:34 PM
It is expected Right now IDE plugin for kotlin still uses K1 for analysis K2 version of plugin will be released later
thank you color 2
o

Oliver.O

11/13/2023, 9:53 PM
That was my last issue with 1.9.20 and K2. It now compiles all the code variations I'm actively using for JVM, JS, Wasm targets using Compose, kotlinx.serialization and atomicfu compiler plugins. Filed two issues for false positive warnings and two plugin-related bugs, which could be easily worked around once analyzed. So my overall is impression is absolutely positive. Great quality for such a big rework. More than I expected at this stage. Kudos to the entire team! 🚀👏kodee happy❤️
🦜 5