Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Document ClosedRange limitations

Đang mở
#12 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ó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
55/100
Loại issue
Tài liệu
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
kotlin, swift
Lĩnh vực
documentation

Hướng nghiên cứu

Bắt đầu với Transpilation Reference tại https://skip.dev/docs/swiftsupport/, trang bridging tại https://skip.dev/docs/bridging/ và README của skip-lib được liên kết trong issue. Ghi lại rằng hỗ trợ ClosedRange bị giới hạn, giải thích cách khắc phục cho open-range và đảm bảo rằng hỗ trợ Range được liệt kê khớp với hành vi thực tế.

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

Mô tả

On Slack, @marcprux wrote:

Unfortunately Kotlin doesn't distinguish between open and closed ranges (see https://github.com/skiptools/skip-lib/issues/30 and https://github.com/skiptools/skip-lib/issues/28). So just using open ranges is probably the best workaround. In theory, we could potentially work around this by performing our own conversion from closed ranges into open ranges (for integer values).

But the Transpilation Reference just says:

✓ Range operators

I don't think that's a correct representation of Skip Lite's support for ranges.

https://skip.dev/docs/bridging/ makes no mention at all of ranges.

Even https://github.com/skiptools/skip-lib/blob/main/README.md makes no mention of ClosedRange. It lists an orange dot 🟠 for Range, and lists a few of its most important methods as functional.

Ngôn ngữ chính
MDX
Star
33
Fork
8
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

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

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 skiptools/skip.dev

Tất cả issue của skiptools/skip.dev

Issue tương tự

Thêm issue về Documentation

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.