Skip to content

refactor(native): extract build_call_edges parameters into a struct to remove clippy::too_many_arguments #1475

@carlos-alm

Description

@carlos-alm

The emit_pts_alias_edges function in crates/codegraph-core/src/domain/graph/builder/stages/build_edges.rs currently takes 14 parameters and is suppressed with #[allow(clippy::too_many_arguments)]. This is a follow-up to PR #1465 (pts solver port).

Proposal: group the parameters into a logical struct (e.g. PtsAliasCtx) to clean up the suppression.

Related: PR #1465 review.

Metadata

Metadata

Assignees

No one assigned

    Labels

    follow-upDeferred work from PR reviews that needs tracking

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions