Skip to content

Conversation

@stephentoub
Copy link
Member

No description provided.

Copy link
Member

@danmoseley danmoseley left a comment

Choose a reason for hiding this comment

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

Is the codegen different when the out parameter of format is a discard?

@danmoseley
Copy link
Member

@billwert could you please look at the build failure? It is not related to the change.

@stephentoub
Copy link
Member Author

Is the codegen different when the out parameter of format is a discard?

Only if it could be inlined (it can't, and I don't see it ever being inlineable by default).

@stephentoub
Copy link
Member Author

Thanks, @adamsitnik. I added the tests you requested.

Copy link
Member

@adamsitnik adamsitnik left a comment

Choose a reason for hiding this comment

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

Perfect! thank you @stephentoub :shipit:

@adamsitnik adamsitnik merged commit 4b5131d into dotnet:master Mar 16, 2021
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.

3 participants