Skip to content

Java/C++/C#: Bugfix for field flow through reverse read. - #2473

Merged
jbj merged 1 commit into
github:rc/1.23from
aschackmull:java/field-flow-rev-read
Nov 29, 2019
Merged

jbj merged 1 commit into
github:rc/1.23from
aschackmull:java/field-flow-rev-read

Conversation

@aschackmull

Copy link
Copy Markdown
Contributor

The restriction of the read relation to only those fields that had a storeStep made sense before we added support for treating reverse reads as stores, but it should have been removed when we added that step.

Without this change the added test case would only exhibit flow to the first of the four sinks.

The first pruning step of the data-flow implementation already restricts reads to those for which a corresponding store has been seen during forward flow, so if no reverse reads are encountered this change shouldn't add any tuples to the data-flow pruning sequence.

@aschackmull aschackmull added this to the 1.23 milestone Nov 29, 2019
@aschackmull
aschackmull requested review from a team as code owners November 29, 2019 08:47

@jbj jbj left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks! LGTM.

@p0 Are you happy with putting this in 1.23?

@p0

p0 commented Nov 29, 2019 via email

Copy link
Copy Markdown
Contributor

@hvitved hvitved left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@p0

p0 commented Nov 29, 2019

Copy link
Copy Markdown
Contributor

It'd be nice to add my test case for C++ too...

@jbj

jbj commented Nov 29, 2019

Copy link
Copy Markdown
Contributor

It'd be nice to add my test case for C++ too...

I can do that in a separate PR so we don't have to wait for the C# tests again.

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.

4 participants