Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

Prefer public module with shortest name for reexported declarations #1021

Open
lars-reimann opened this issue Aug 3, 2022 · 0 comments
Open
Labels
enhancement 💡 New feature or request

Comments

@lars-reimann
Copy link
Member

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

@lars-reimann lars-reimann added the enhancement 💡 New feature or request label Aug 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement 💡 New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant