extract: C++ overloads on the same line collapse into one row
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Rust
- スター
- 187
- フォーク
- 53
- 平均マージ
- 1日 9時間
- マージ済み PR(30日)
- 79
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
facebookexperimental/semcode のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 71/100
facebookexperimental/semcode#195 ·
メンテナーはふだん 2 日以内に返信
-
extract: namespaced C++ this->m and parameter p->m accesses file under different container typesオープン
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
facebookexperimental/semcode#198 ·
メンテナーはふだん 2 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 67/100
facebookexperimental/semcode#197 ·
メンテナーはふだん 2 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 70/100
facebookexperimental/semcode#196 ·
メンテナーはふだん 2 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
facebookexperimental/semcode#193 ·
メンテナーはふだん 2 日以内に返信
facebookexperimental/semcode の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
open-telemetry/otel-arrow#5040 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
cleanup
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
snaglet-org/snaglet#67 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
comp-s3queue
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
ClickHouse/ClickHouse#137649 ·
メンテナーはふだん 1 日以内に返信