breautek commented on PR #1543: URL: https://github.com/apache/cordova-android/pull/1543#issuecomment-1409208087
Kotlin has a compatibility guide at https://kotlinlang.org/docs/compatibility-guide-18.html It seems like they don't follow the "semver" rules and breaking changes may be introduced in "minor" versions. As an example, some things changed with the `when` syntax as documented: https://kotlinlang.org/docs/compatibility-guide-18.html#deprecate-confusing-grammar-in-when-with-subject ``` 1.6.20: introduce a deprecation warning on the affected expressions 1.8.0: raise this warning to an error, -XXLanguage:-ProhibitConfusingSyntaxInWhenBranches can be used to temporarily revert to the pre-1.8 behavior >= 1.9: repurpose some deprecated constructs for new language features ``` There's a lot there, so given this information, if the Android SDK was built with compatibility of a specific kotlin version, we should try to follow that as our default as much as possible. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
