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

Make host outputs public #74750

Merged
merged 16 commits into from
Aug 27, 2024
Merged

Conversation

chsienki
Copy link
Contributor

@chsienki chsienki commented Aug 13, 2024

Implements #74753

Change signature from (string, string) to (string, object)
Shim EA implementations
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Compilers untriaged Issues and PRs which have not yet been triaged by a lead labels Aug 13, 2024
@chsienki chsienki removed the untriaged Issues and PRs which have not yet been triaged by a lead label Aug 13, 2024
@chsienki chsienki mentioned this pull request Aug 13, 2024
@dotnet-policy-service dotnet-policy-service bot added the Needs API Review Needs to be reviewed by the API review council label Aug 13, 2024
@chsienki chsienki marked this pull request as ready for review August 16, 2024 18:32
@chsienki chsienki requested review from a team as code owners August 16, 2024 18:32
@chsienki
Copy link
Contributor Author

@dotnet/roslyn-compiler for reviews please :)

@333fred
Copy link
Member

333fred commented Aug 16, 2024

Looks like failures are real.


var parseOptions = CSharpParseOptions.Default;
var compilation = CreateCompilation("class Compilation1{}", parseOptions: parseOptions);
GeneratorDriver driver = CSharpGeneratorDriver.Create([generator.AsSourceGenerator()], parseOptions: parseOptions, driverOptions: new GeneratorDriverOptions(IncrementalGeneratorOutputKind.Host));
Copy link
Member

Choose a reason for hiding this comment

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

Consider testing that host outputs are present when another IncrementalGeneratorOutputKind is disabled

@chsienki
Copy link
Contributor Author

@333fred for a second review please :)

@chsienki chsienki enabled auto-merge (squash) August 27, 2024 18:47
@chsienki chsienki merged commit 8e04e3a into dotnet:main Aug 27, 2024
28 checks passed
@dotnet-policy-service dotnet-policy-service bot added this to the Next milestone Aug 27, 2024
@akhera99 akhera99 modified the milestones: Next, 17.12 P3 Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Compilers Needs API Review Needs to be reviewed by the API review council
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants