Skip to content

Conversation

tamasvajk
Copy link
Contributor

@tamasvajk tamasvajk commented Feb 23, 2021

This PR adds better data flow support for tuples. We're now tracking data flowing into tuple fields and out of them. Also, tuple extraction was slightly changed to remove named tuple fields.

Differences job Differences job Differences job

@github-actions github-actions bot added the C# label Feb 23, 2021
@tamasvajk tamasvajk changed the title C#: WIP: tuple dataflow C#: Add tuple dataflow Feb 24, 2021
@tamasvajk tamasvajk force-pushed the feature/tuple-df branch 3 times, most recently from 6aeca4e to f1b5d83 Compare February 24, 2021 11:32
@tamasvajk tamasvajk force-pushed the feature/tuple-df branch 2 times, most recently from b1bd299 to eb2e431 Compare February 25, 2021 13:35
@tamasvajk tamasvajk marked this pull request as ready for review February 25, 2021 13:59
@tamasvajk tamasvajk requested a review from a team as a code owner February 25, 2021 13:59
@tamasvajk
Copy link
Contributor Author

tamasvajk commented Mar 9, 2021

@hvitved I rebased this PR to fix the merge conflicts, fixed the nullability annotations in new code, and added an extra commit to handle patterns. (Let's see which other tests need to be adjusted)

Here's the new differences job.

Copy link
Contributor

@hvitved hvitved left a comment

Choose a reason for hiding this comment

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

Excellent that we now handle tuple patterns as well.

@tamasvajk
Copy link
Contributor Author

@hvitved I added an extra commit with mixed positional and variable decl. tuple pattern. I'm not going to address that in this PR, but it shows what I'd like to cover next.

@tamasvajk tamasvajk merged commit 2414019 into github:main Mar 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants