Skip to content
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

Improve reference resolving #558

Merged
merged 3 commits into from
Feb 17, 2022
Merged

Improve reference resolving #558

merged 3 commits into from
Feb 17, 2022

Conversation

badcel
Copy link
Member

@badcel badcel commented Feb 16, 2022

No description provided.

This improves the debugging experience.
The new implementation changes the priorities for resolving references.

New order:
1. Own types
2. Own aliases
3. Foreign types (only transitive dependencies in correct order)
4. Foreign aliases (only transitive dependencies in correct order)
5. Global types

Old order:
1. Own aliases
2. Foreign aliases (unordered transitive dependencies)
3. Own types
4. Foreign types (all known repositories even not depending ones)
5. Global types
dotnet-format fails with current version 6.0.200.
@badcel
Copy link
Member Author

badcel commented Feb 16, 2022

The current version of dotnet 6.0.200 seems to have a bug in dotnet format as setting the dotnet-version to 6.0.102 does not fail the `dotnet format call opposed to 6.0.200.

Just compare the builds of the last two commits of this branch.

Issue: dotnet/format#1519

@badcel badcel merged commit 638419c into develop Feb 17, 2022
@badcel badcel deleted the improve-reference-resolving branch February 17, 2022 14:58
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.

1 participant