Skip to content

Made compiler show a hint to import unqualified types/values #4602

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

mine-tech-oficial
Copy link

Continues #4304 and closes #4297.

The hint also considers the type/value's arity, and decides which module to hint is by preferring imported modules over importable ones, and sorting by name length. Also, I'd say the current ideas can be adapted to the environment::suggest_modules function so that it, too, considers arity.

@mine-tech-oficial
Copy link
Author

mine-tech-oficial commented May 16, 2025

I just need to know where in the changelog I put the changes. Should I just make a unreleased section?

@lpil
Copy link
Member

lpil commented Jun 6, 2025

Hello! I've left feedback in the other PR

@lpil lpil marked this pull request as draft June 25, 2025 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Show hint to import unqualified types/values
2 participants