Skip to content

Conversation

jbj
Copy link
Contributor

@jbj jbj commented May 1, 2020

This case was added in dccc0f4. The surrounding code has changed a lot since then, and the case no longer seems to have an effect except to create some dead ends and possibly cycles in the local flow graph.

Notice that the only affected tests are the ones that print every local data-flow step. The tests that go all the way from source to sink are not affected.

This case was added in dccc0f4. The surrounding code has changed a lot
since then, and the case no longer seems to have an effect except to
create some dead ends and possibly cycles in the local flow graph.
@jbj jbj added the C++ label May 1, 2020
@jbj jbj requested a review from MathiasVP May 1, 2020 13:11
Copy link
Contributor

@MathiasVP MathiasVP left a comment

Choose a reason for hiding this comment

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

I have been wondering what that case was for, so I'm happy to get rid of it. Do you remember what the problem with post-constructor-calls was?

@MathiasVP MathiasVP merged commit 37f30d3 into github:master May 1, 2020
@jbj
Copy link
Contributor Author

jbj commented May 1, 2020

I have been wondering what that case was for, so I'm happy to get rid of it. Do you remember what the problem with post-constructor-calls was?

I don't remember -- the code was in place before I took it over. But in any case, adding these extra edges for every kind of post-update node seems like a heavy-handed solution if the problem only had to do with constructor calls.

jbj added a commit to jbj/ql that referenced this pull request May 7, 2020
…-defbyref-to-field

This is a partial merge from master. In particular, it takes in github#3382
and github#3385.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants