Skip to content

C++: Test field conflation with array in struct #3475

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

Merged
merged 1 commit into from
May 14, 2020

Conversation

jbj
Copy link
Contributor

@jbj jbj commented May 14, 2020

This PR adds a test for a field conflation issue that's currently blocking #3123. It turns out the issue is present already without #3123, and it can be distilled down to this test case. I've added the test case both in the library test and a query test.

I think the fundamental problem the interaction between

// Buffers of unknown size
t instanceof UnknownType
and
// Flow out of definition-by-reference
i2.(ChiInstruction).getPartial() = i1.(WriteSideEffectInstruction) and
not i2.isResultConflated()
, but I haven't investigated that. EDIT: This was not the issue.

@jbj jbj added the C++ label May 14, 2020
@jbj jbj requested a review from a team as a code owner May 14, 2020 14:40
@MathiasVP MathiasVP merged commit fe68255 into github:master May 14, 2020
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