Kotlin Tooling Immutable Collections 0 5 X Migration

kotlin/kotlin-agent-skills/skills/kotlin-tooling-immutable-collections-0-5-x-migration

作者 kotlinc2f90697bf71Apache-2.01K 个星标收录于 2026年10月8日更新于 2026年10月8日仓库今天更新

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.

仅公开文件列表。将技能安装到工作区后即可查看文件内容。

路径大小类型
SKILL.md9.2 KBtext/markdown

来源与署名

来源:kotlin/kotlin-agent-skills位于skills/kotlin-tooling-immutable-collections-0-5-x-migration提交c2f9069

许可证: Apache-2.0

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架