Backport `MessageCollectorAccess` to pre-2.4.20

オープン
#104 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
40/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
kotlin
領域
compilers

調査の方向性

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 の本文から書いたものです。

説明

compatibility

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時間
マージ済み PR(30日)
3

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Kotlin/compiler-plugin-dev-kit のほかの issue

Kotlin/compiler-plugin-dev-kit の issue をすべて見る

似ている issue

Kotlin の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。