Skip to content
This repository was archived by the owner on Jan 19, 2025. It is now read-only.

Prefer public module with shortest name for reexported declarations #1021

@lars-reimann

Description

@lars-reimann

Is your feature request related to a problem?

Sometimes declarations are accessible via multiple public paths. In this case we prefer the module where the declaration is declared (as long as it's public). Otherwise, there is no clear rule.

Desired solution

Prefer the module with the shortest name.

Possible alternatives (optional)

No response

Screenshots (optional)

image

Additional Context (optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions