Provide compatibility methods for diagnostics `psiType` removal

Đang mở
#129 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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
kotlin
Lĩnh vực
developer-experience

Hướng nghiên cứu

Read the linked Kotlin PR #9964 and inspect the manually created KtDiagnosticFactory<n> APIs that no longer compile after psiType was removed. First investigate whether PSI type consistency matters for plugin diagnostics; if the claim holds, backport the change using a base PSI type such as KtElement and deprecate the compatibility methods. Done when the compatibility APIs compile and are deprecated, with the backport behavior supported by that investigation.

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

Mô tả

compatibility

See Kotlin PR for details.
Manually-created KtDiagnosticFactory<n>s cease to compile because psiType got removed, so we need compatibility methods for it

That PR decided that PSI type consistency is not relevant for plugin diagnostics; investigate this claim; if it's reasonable, we should backport this change (by using a base PSI type like KtElement), and make the above compatibility methods deprecated

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.