David
07/22/2025, 12:10 PMwhen guards
to work in Android Studio w/o warnigns? I'm running kotlin 2.2.0
and using latest stable Android Studio, also tested latest Canary, but still get warning about it being an experimental feature:
The feature "when guards" is experimental and should be enabled explicitly. This can be done by supplying the compiler argument '-Xwhen-guards', but note that no stability guarantees are provided.
Building from command line and android studio works fine, however android studio still gives off warning. I have K2 mode enabled in Android Studio.Nitesh Singh
07/22/2025, 4:16 PMNitesh Singh
07/22/2025, 4:17 PMDavid
07/22/2025, 4:31 PMDavid
07/22/2025, 4:32 PMNitesh Singh
07/22/2025, 4:48 PMNitesh Singh
07/22/2025, 4:50 PM