extract: C++ overloads on the same line collapse into one row
Maintainer thường phản hồi trong vòng 2 ngày
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
- 68/100
Hướng nghiên cứu
Start by tracing extraction and deduplication for C++ functions, then find where line_start is used in the per-file storage key; the issue cites commit 8f1e3d2 as background. Check the tests for same-line overload extraction and add coverage showing Box::get() and Box::get(int) produce two rows. Done means both overloads remain distinct when they share a line.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Two C++ function overloads written on the same line collapse into a single function row during extraction/deduplication.
Reproducer
class Box { int get(); int get(int x); };
Extracting box.hpp produces only 1 row for Box::get instead of 2.
Cause
Documented in 8f1e3d2: line_start is the only per-file discriminator in the deduplication/storage key, so overloads sharing a line collide until a signature or column discriminator separates them.
Expected behavior
Both Box::get() and Box::get(int) should be preserved as distinct rows even when declared or defined on the same line.
- Ngôn ngữ chính
- Rust
- Star
- 187
- Fork
- 53
- Merge trung bình
- 1 ngày 9 giờ
- Pull request đã merge (30 ngày)
- 79
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
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 facebookexperimental/semcode
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 71/100
facebookexperimental/semcode#195 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
extract: namespaced C++ this->m and parameter p->m accesses file under different container typesĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
facebookexperimental/semcode#198 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 67/100
facebookexperimental/semcode#197 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 70/100
facebookexperimental/semcode#196 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
facebookexperimental/semcode#193 ·
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của facebookexperimental/semcode
Issue tương tự
-
O-windows relnotes relnotes-needs-review relnotes-tracking-issue T-libs
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
marketing
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 95/100
Maintainer thường phản hồi trong vòng 1 ngày
-
num_ode_rk4_adaptive rejects atol = 0 while accepting rtol = 0 and while num_ode_dopri5 accepts bothĐang mởarea/ode-pde good first issue help wanted kind/contract severity/4-minor
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Apich-Organization/rssn#383 ·
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 69/100
Maintainer thường phản hồi trong vòng 1 ngày
-
KT-2245 e2e specs that call the backend directly fall back to the developer's own Kronn on :3140Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày