Backport `DeclarationFinder`, `finderForBuiltins`, `finderForSource` to pre-2.3.20
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 25/100
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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.
- Langage dominant
- Kotlin
- Étoiles
- 34
- Forks
- 1
- Merge moyen
- 1 j 9 h
- PR mergées (30 j)
- 3
Préparer son environnement
Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de Kotlin/compiler-plugin-dev-kit
-
compatibility
Difficulté 2/5 1-3 heures Accessibilité débutants 64/100
Kotlin/compiler-plugin-dev-kit#133 · 1 commentaire ·
-
compatibility
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
-
Applying `gradle-plugin` without `functional-test-publishing` on classpath causes Gradle errorsOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
Kotlin/compiler-plugin-dev-kit#115 · 1 commentaire ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 66/100
Toutes les issues de Kotlin/compiler-plugin-dev-kit
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
akshit-bansal11/edgepad#106 ·
Les mainteneurs répondent en général sous 1 jour
-
code-scan
Difficulté 2/5 1-3 heures Accessibilité débutants 74/100
ankidroid/Anki-Android#23806 ·
Les mainteneurs répondent en général sous 1 jour
-
(java): a lost connection fails a command with ClosingException instead of ConnectionExceptionOuvertebug 🐞 Untriaged user issue
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
valkey-io/valkey-glide#7896 ·
Les mainteneurs répondent en général sous 2 jours
-
Remove Collect againOuverte
Difficulté 1/5 1-3 heures Accessibilité débutants 86/100
thisisartman/Meguri#211 ·
Les mainteneurs répondent en général sous 1 jour