Kotlin Kotlin Tooling Immutable Collections 0 5 X Migration

Migrate Kotlin (and Java) code from kotlinx.collections.immutable 0.3.x / 0.4.x to the latest 0.5.x. The 0.5.x line renames every copy-returning method on PersistentList / PersistentMap / PersistentSet / PersistentCollection to a participial form per KEEP-0459 (add→adding, removeAt→removingAt, set→replacingAt, put→putting, clear→cleared, …) and deprecates the old names (WARNING, with ReplaceWith). Driven by the compiler: bump the version, recompile, and apply the rename each deprecation warning names. Use when the user mentions kotlinx.collections.immutable 0.5.x, PersistentList migration, "Use adding() instead", KEEP-0459, or sees deprecation warnings from kotlinx.collections.immutable.

pyfagorass Updated

File contents

pyfagorass/bookofspells/tree/main/skills/kotlin/kotlin-tooling-immutable-collections-0-5-x-migration commit a7bd3d1ec7

Frequently asked questions

npx skillmds@latest add pyfagorass/kotlin-kotlin-tooling-immutable-collections-0-5-x-migration