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

Data flow: Add ArgumentNode consistency checks #14108

Merged
merged 6 commits into from
Sep 13, 2023

Conversation

hvitved
Copy link
Contributor

@hvitved hvitved commented Aug 31, 2023

Adds two consistency checks for checking uniqueness and existence of DataFlowCalls associated to ArgumentNodes. While the data flow library can handle ArgumentNodes belonging to multiple DataFlowCalls, it is good to check that this was indeed the intention. For C#, this would have highlighted #14099, and it also revealed four other kinds of inconsistencies (two of which have been fixed).

@hvitved hvitved force-pushed the dataflow/more-consistency-checks branch 2 times, most recently from 96eb036 to 91b88a6 Compare September 4, 2023 07:48
@RasmusWL RasmusWL force-pushed the dataflow/more-consistency-checks branch from b597bf1 to 2658521 Compare September 4, 2023 08:02
@hvitved hvitved force-pushed the dataflow/more-consistency-checks branch from 2658521 to 16ea0b3 Compare September 4, 2023 09:58
@hvitved hvitved changed the title Data flow: Add more consistency checks Data flow: Add another consistency check Sep 4, 2023
@hvitved hvitved force-pushed the dataflow/more-consistency-checks branch 2 times, most recently from 01b86e4 to 26267a5 Compare September 4, 2023 13:01
@hvitved hvitved force-pushed the dataflow/more-consistency-checks branch from 26267a5 to ba068d2 Compare September 8, 2023 09:02
@hvitved hvitved force-pushed the dataflow/more-consistency-checks branch from ba068d2 to 2fa8117 Compare September 12, 2023 14:15
@hvitved hvitved force-pushed the dataflow/more-consistency-checks branch from 2fa8117 to 40e2f64 Compare September 12, 2023 18:05
@hvitved hvitved changed the title Data flow: Add another consistency check Data flow: Add more consistency checks Sep 12, 2023
@hvitved hvitved force-pushed the dataflow/more-consistency-checks branch from 40e2f64 to d3558f8 Compare September 12, 2023 19:19
@hvitved hvitved added the no-change-note-required This PR does not need a change note label Sep 13, 2023
@hvitved hvitved marked this pull request as ready for review September 13, 2023 06:42
@hvitved hvitved requested review from a team as code owners September 13, 2023 06:42
@hvitved hvitved changed the title Data flow: Add more consistency checks Data flow: Add ArgumentNode consistency checks Sep 13, 2023
@hvitved hvitved merged commit 7400b47 into github:main Sep 13, 2023
26 checks passed
@hvitved hvitved deleted the dataflow/more-consistency-checks branch September 13, 2023 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C# C++ no-change-note-required This PR does not need a change note Python Ruby
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants