Backport `MessageCollectorAccess` to pre-2.4.20
还没有人认领这个 Issue。
评估
调研方向
The work lives in the source set split for pre-2.4.20 Kotlin compiler builds: look at how pre2420Main is wired against commonMain in the Gradle build, and at the MessageCollectorAccess opt-in the issue's workaround references. Read the issue's workaround and its tradeoffs before deciding where the backported declaration should go. Done when code compiled against pre-2.4.20 Kotlin can use the MessageCollectorAccess opt-in without the extra project the issue describes.
由索引模型根据 Issue 内容生成。
描述
Workaround:
kotlin { compilerOptions { optIns.add("org.jetbrains.kotlin.config.MessageCollectorAccess") } }
Downside: might encourage using MessageCollector
Upside: lets users opt-in at individual call-sites, so gradual migration is possible instead of module-wide opt-in
Note that users can backport it themselves, but this requires adding an extra project (because commonMain can't see pre2420Main)
- 主要语言
- Kotlin
- 星标
- 34
- 派生
- 1
- 平均合并
- 1 天 9 小时
- 30 天内合并 PR
- 3
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Kotlin/compiler-plugin-dev-kit 的其他 Issue
-
compatibility
难度 2/5 1-3 小时 新手友好度 64/100
Kotlin/compiler-plugin-dev-kit#133 · 1 条评论 ·
-
compatibility
难度 2/5 1-3 小时 新手友好度 62/100
-
难度 2/5 1-3 小时 新手友好度 65/100
-
难度 2/5 1-3 小时 新手友好度 68/100
Kotlin/compiler-plugin-dev-kit#115 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 66/100
查看 Kotlin/compiler-plugin-dev-kit 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
akshit-bansal11/edgepad#106 ·
维护者通常 1 天内回复
-
code-scan
难度 2/5 1-3 小时 新手友好度 74/100
ankidroid/Anki-Android#23806 ·
维护者通常 1 天内回复
-
bug 🐞 Untriaged user issue
难度 2/5 1-3 小时 新手友好度 88/100
valkey-io/valkey-glide#7896 ·
维护者通常 2 天内回复
-
难度 1/5 1-3 小时 新手友好度 86/100
thisisartman/Meguri#211 ·
维护者通常 1 天内回复