Dict show: comma after symbol-valued key changes the key on reload
Đá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
- 30/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- typescript
- Lĩnh vực
- backend
Hướng nghiên cứu
Start in imp-show.mts at line 104, then read the loader's backtick-symbol parsing to understand how commas are treated. Check how showing dictionaries with symbol keys and symbol-vector values round-trips through the loader; done means the original key names are preserved. An open linked pull request (#15) is already addressing this issue.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
From the Codex whole-repo review on #5 (review comment).
Location: imp-show.mts:104 on main (6813323)
[P2] Emit dictionary symbol values without changing their keys
When a dictionary contains symbol values, the inserted comma is attached directly to the key, but the loader's backtick-symbol regex accepts commas as part of symbol names. For example, showing
:[cd]produces:[c,d]; evaluating that output creates a dictionary keyed byc,rather thanc. Symbol-vector values have the same problem. Consequently, copying the displayed dictionary or round-tripping it through the serializer silently changes its keys. Emit a representation that the loader parses with the original key names.
Checked 2026-10-29: still present on main; not touched by open PRs #3, #4 or #7.
- Ngôn ngữ chính
- TypeScript
- Star
- 6
- Fork
- 1
- Merge trung bình
- 3 phút
- Pull request đã merge (30 ngày)
- 1
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
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của tangentcode/implish
-
Evaluate right to left (K style)Có thể đã có người làm @tangentstorm đã nhận 17 ngày trước. Đang mởapproved
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
tangentcode/implish#21 ·
-
Error and multi-line string values don't show as loadable textCó thể đã có người làm @tangentstorm đã nhận 32 ngày trước. Đang mởapproved follow-up
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
tangentcode/implish#17 ·
-
Quoted lists lose their quote when shownCó thể đã có người làm @tangentstorm đã nhận 32 ngày trước. Đang mởapproved follow-up
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
tangentcode/implish#16 ·
-
String literal escape sequences are not decodedCó thể đã có người làm @tangentstorm đã nhận 32 ngày trước. Đang mởapproved follow-up
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 30/100
tangentcode/implish#10 ·
-
x/y/z bindings not restored when a function body throwsCó thể đã có người làm @tangentstorm đã nhận 32 ngày trước. Đang mởapproved follow-up
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 25/100
tangentcode/implish#9 ·
Tất cả issue của tangentcode/implish
Issue tương tự
-
Amélioration du résumé regĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
MTES-MCT/monitorenv#3257 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
salesforce/sa11y#1022 ·
-
area/web platform/ios type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
anomalyco/opencode#67504 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Kartographer map markers lose their geo: link on non-English wikisCó thể đã có người làm @playlikeboy đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
openzim/mwoffliner#3014 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Report: Bloomberg HTĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày