Skip to content

Conversation

@timcassell
Copy link
Collaborator

Fixes #1595.

This was originally #1941, but I split it out to just include the ValueTask fixes (and I added more tests).

@timcassell
Copy link
Collaborator Author

@adamsitnik Can you take a look?

@timcassell
Copy link
Collaborator Author

@AndreyAkinshin InProcessToolchain has been deprecated in favor of InProcessNoEmitToolchain since #1123 (almost 4 years ago). I updated it to match the changes I made here and in my other followup PRs, but I wonder if it can just be removed? Or should I just not add the updates and leave it in its old state? It's not good to maintain both.

@AndreyAkinshin
Copy link
Member

I have no objection to removing InProcessToolchain. @adamsitnik what do you think?

@timcassell timcassell force-pushed the fix-valuetask-only branch 2 times, most recently from 0dc5813 to 43138da Compare February 17, 2023 22:15
@timcassell
Copy link
Collaborator Author

@ig-sinicyn I touched the InProcess toolchains here, can you take a look?

@ig-sinicyn
Copy link
Contributor

@timcassell, great job!

There should be a diff test that proves that emitted IL matches with compiled c# code. If it passes, all should be fine.

Copy link
Member

@AndreyAkinshin AndreyAkinshin left a comment

Choose a reason for hiding this comment

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

No concerns from my side. If @adamsitnik has no objections, we can merge it.

@timcassell timcassell merged commit 7306ee7 into dotnet:master Mar 19, 2024
@timcassell timcassell deleted the fix-valuetask-only branch March 19, 2024 22:08
@timcassell timcassell added this to the v0.14.0 milestone Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

3 participants