Backport `DeclarationFinder`, `finderForBuiltins`, `finderForSource` to pre-2.3.20
まだ誰も着手していません。
評価
調査の方向性
Start with the upstream Kotlin commit linked in the issue (25ccec5d) to see how DeclarationFinder, finderForBuiltins and finderForSource work in IR, then compare with what IrPluginContext exposes through its reference* methods on older compiler versions. The maintainers have not chosen between a full port of the incremental-compilation behavior and a simple delegation to reference*, so agree on the scope in the issue before writing code. Done means the helpers resolve declarations on pre-2.3.20 compilers and the chosen approach is tested against that version.
索引モデルが issue の本文から書いたものです。
説明
Introduced in this commit
Encountered both in Arrow optics and in Metro, so probably a good candidate for backporting. It's part of IrPluginContext, so it's likely to be used by many plugins.
There's a question of how much of the functionality should we try to backport.
We can try and recreate its IC behavior, but that needs extensive testing to make sure what we're doing is sound and doesn't break something else in the compiler.
The simpler approach is to just delegate to the IrPluginContext.reference* methods and call it a day.
- 主要言語
- Kotlin
- スター
- 34
- フォーク
- 1
- 平均マージ
- 1日 9時間
- マージ済み PR(30日)
- 3
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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
-
Applying `gradle-plugin` without `functional-test-publishing` on classpath causes Gradle errorsオープン
難易度 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 日以内に返信
-
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 日以内に返信
-
Remove Collect againオープン
難易度 1/5 1〜3時間 初心者へのやさしさ 86/100
thisisartman/Meguri#211 ·
メンテナーはふだん 1 日以内に返信
-
follow-up
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信