![]() ![]() These warnings will become errors in future releases. To ensure smooth migration, Kotlin 1.6.0 reports warnings about non-exhaustive when statements with an enum, sealed, or Boolean subject. We will soon prohibit non-exhaustive when statements to make the behavior consistent with when expressions. ShanaEncoder 6.0.1.5 changelog: Starting with Shana Encoder version 6.0, when you uncheck HDR to SDR tone mapping in quick settings, you can import and encode HDR information as is. It covers all possible cases, making your code safer. ![]() Stable exhaustive when statements for enum, sealed, and Boolean subjectsĪn exhaustive when statement contains branches for all possible types or values of its subject, or for some types plus an else branch. Support for annotations on class type parameters Improved type inference for recursive generic types It also includes various type inference improvements and support for annotations on class type parameters: Stable instantiation of annotation classes Stable suspending functions as supertypes Stable exhaustive when statements for enum, sealed and Boolean subjects Kotlin 1.6.0 brings stabilization to several language features introduced for preview in the previous 1.5.30 release: You can also find an overview of the changes in the release blog post. Kotlin 1.6.0 introduces new language features, optimizations and improvements to existing features, and a lot of improvements to the Kotlin standard library. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |