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

Delay reporting of pattern-based using diagnostics #73850

Merged
merged 6 commits into from
Jun 11, 2024

Conversation

jcouv
Copy link
Member

@jcouv jcouv commented Jun 4, 2024

In the reported scenario, we try to bind pattern-based first, but incorrectly report the diagnostics from that binding despite successfully binding via interface as fallback.

Regression from #72598
Fixes #73691
Fixes #72819

@jcouv jcouv self-assigned this Jun 4, 2024
@dotnet-issue-labeler dotnet-issue-labeler bot added the untriaged Issues and PRs which have not yet been triaged by a lead label Jun 4, 2024
@jcouv jcouv force-pushed the using-diagnostics branch 3 times, most recently from 6074c5d to abbf35a Compare June 5, 2024 01:00
@jcouv jcouv marked this pull request as ready for review June 6, 2024 20:08
@jcouv jcouv requested a review from a team as a code owner June 6, 2024 20:08
@jcouv jcouv requested a review from AlekseyTs June 6, 2024 20:08
@AlekseyTs
Copy link
Contributor

Done with review pass (commit 1)

@jcouv
Copy link
Member Author

jcouv commented Jun 7, 2024

Sorry, looks like CodeFlow broke on second commit :-/

@AlekseyTs
Copy link
Contributor

@jcouv It looks like there are legitimate test failures.

@jcouv jcouv requested a review from AlekseyTs June 11, 2024 04:02
@AlekseyTs
Copy link
Contributor

Consider including tests for scenarios from #72819. The adjusted test case is ref struct specific.

@AlekseyTs
Copy link
Contributor

Done with review pass (commit 4)

@jcouv jcouv requested a review from AlekseyTs June 11, 2024 16:43
@jcouv
Copy link
Member Author

jcouv commented Jun 11, 2024

@dotnet/roslyn-compiler for second review. Thanks

@AlekseyTs
Copy link
Contributor

@jcouv It looks like there is a legitimate test failure

Copy link
Contributor

@AlekseyTs AlekseyTs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM (commit 6)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Compilers New Feature - Async Streams Async Streams untriaged Issues and PRs which have not yet been triaged by a lead
Projects
None yet
4 participants