cfallin opened PR #5112 from fix-5099
to main
:
Fixes #5099.
<!--
Please ensure that the following steps are all taken care of before submitting
the PR.
[ ] This has been discussed in issue #..., or if not, please tell us why
here.[ ] A short description of what this does, why it is needed; if the
description becomes long, the matter should probably be discussed in an issue
first.[ ] This PR contains test cases, if meaningful.
- [ ] A reviewer from the core maintainer team has been assigned for this PR.
If you don't know who could review this, please indicate so. The list of
suggested reviewers on the right can help you.Please ensure all communication adheres to the code of conduct.
-->
cfallin requested elliottt for a review on PR #5112.
cfallin requested jameysharp for a review on PR #5112.
jameysharp submitted PR review.
cfallin updated PR #5112 from fix-5099
to main
.
cfallin edited PR #5112 from fix-5099
to main
:
In particular, this was found to happen in #5099 because a
Result
projection node was not deduplicating across two separateisplit
s that
created it. (This is a separate issue we should also fix;needs_dedup
is I think overly conservative becauseResult
can project out a single
value from a pure or impure node, but the projection itself should be
treated like any other pure operator.)In any case, if we have a value
v0
and two separate
Result { value: v0, result: N, ty }
nodes, each of these will fill in the
typety
for theN
th output ofv0
, and the second will idempotently
overwrite the first; we should loosen the assert so that it allows this case.Fixes #5099. Fixes #5100.
cfallin has enabled auto merge for PR #5112.
elliottt submitted PR review.
elliottt submitted PR review.
cfallin merged PR #5112.
Last updated: Dec 23 2024 at 12:05 UTC