Skip to content

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

Merged
MathiasVP merged 1 commit into
github:masterfrom
jbj:field-conflation-memcpy
May 14, 2020
Merged

C++: Test field conflation with array in struct#3475
MathiasVP merged 1 commit into
github:masterfrom
jbj:field-conflation-memcpy

Conversation

@jbj
Copy link
Copy Markdown
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