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 從公開儲存庫中收錄這些內容。

檢舉或申請下架