Skip to content

feat: Implement import ide layer handling #18654

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

Closed
wants to merge 1 commit into from

Conversation

Veykril
Copy link
Member

@Veykril Veykril commented Dec 10, 2024

Only implements the type driven changes so far for threading things through. It doesn't actually resolve to imports yet as I am currently thinking about whether to put Import (and ExternCrate) as ModuleDef variants or not
Closes #14079

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Dec 10, 2024
@Veykril
Copy link
Member Author

Veykril commented Dec 11, 2024

Alright, after having a more thorough look, implementing this properly will be quite painful! We'd need to keep track of the import information throughout body lowering and type inference as we'd otherwise lose the link from where something has come from. I'll stash this away for now as I am not comfortable doing this right before the salsa changes.

@Veykril Veykril closed this Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Proper support for import aliases and attributes on imports
2 participants