Skip to content

Fix a number of source generator bugs. - #87796

Merged
eiriktsarpalis merged 2 commits into
dotnet:mainfrom
eiriktsarpalis:add-sourcegen-diagnostics
Jun 20, 2023
Merged

eiriktsarpalis merged 2 commits into
dotnet:mainfrom
eiriktsarpalis:add-sourcegen-diagnostics

Conversation

@eiriktsarpalis

Copy link
Copy Markdown
Member

This PR:

@eiriktsarpalis eiriktsarpalis added this to the 8.0.0 milestone Jun 20, 2023
@eiriktsarpalis eiriktsarpalis self-assigned this Jun 20, 2023
@ghost

ghost commented Jun 20, 2023

Copy link
Copy Markdown

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

@eiriktsarpalis
eiriktsarpalis force-pushed the add-sourcegen-diagnostics branch from dd867e9 to 7029e02 Compare June 20, 2023 01:17
// Compile the referenced assembly first.
Compilation campaignCompilation = CompilationHelper.CreateCampaignSummaryViewModelCompilation();
Compilation eventCompilation = CompilationHelper.CreateActiveOrUpcomingEventCompilation();
// Compile the referenced assembly first.

Copy link
Copy Markdown
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.

@krwq krwq left a comment

Copy link
Copy Markdown
Member

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.

Projects

None yet

3 participants