Backport `MessageCollectorAccess` to pre-2.4.20

Đang mở
#104 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
40/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
kotlin
Lĩnh vực
compilers

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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)

Ngôn ngữ chính
Kotlin
Star
34
Fork
1
Merge trung bình
1 ngày 9 giờ
Pull request đã merge (30 ngày)
3

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Kotlin/compiler-plugin-dev-kit

Tất cả issue của Kotlin/compiler-plugin-dev-kit

Issue tương tự

Thêm issue về Kotlin

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.