Skip to content

Conversation

@Lunderberg
Copy link
Contributor

Prior to this commit, known tuples could be unwrapped into variables, but any constants would remain. This commit updates CanonicalizeBindings to unwrap tuples containing constants.

Prior to this commit, known tuples could be unwrapped into variables,
but any constants would remain.  This commit updates
`CanonicalizeBindings` to unwrap tuples containing constants.
The `test_unable_to_fold` was ported from the
`FoldDataflowBlockOutput` tests, and has been updated enough that it
no longer a purpose.
Copy link
Member

@Hzfengsy Hzfengsy left a comment

Choose a reason for hiding this comment

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

LGTM

@Hzfengsy Hzfengsy merged commit 36ebcd0 into apache:main Feb 19, 2024
@Lunderberg Lunderberg deleted the transform_unwrap_tuple_of_constant branch February 20, 2024 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants