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

Fix a number of source generator bugs. #87796

Merged
merged 2 commits into from
Jun 20, 2023

Conversation

eiriktsarpalis
Copy link
Member

This PR:

@ghost
Copy link

ghost commented Jun 20, 2023

Tagging subscribers to this area: @dotnet/area-system-text-json, @gregsdennis
See info in area-owners.md if you want to be subscribed.

Issue Details

This PR:

Author: eiriktsarpalis
Assignees: eiriktsarpalis
Labels:

area-System.Text.Json

Milestone: 8.0.0

// Compile the referenced assembly first.
Compilation campaignCompilation = CompilationHelper.CreateCampaignSummaryViewModelCompilation();
Compilation eventCompilation = CompilationHelper.CreateActiveOrUpcomingEventCompilation();
// Compile the referenced assembly first.
Copy link
Member Author

Choose a reason for hiding this comment

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

These diffs fix a couple of tests that were actually failing to compile but we weren't checking for that. Discovered by the newly added diagnostics.

Copy link
Member

@krwq krwq left a comment

Choose a reason for hiding this comment

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

Thanks

@eiriktsarpalis eiriktsarpalis merged commit 139826b into dotnet:main Jun 20, 2023
@eiriktsarpalis eiriktsarpalis deleted the add-sourcegen-diagnostics branch June 20, 2023 17:43
@ghost ghost locked as resolved and limited conversation to collaborators Jul 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.