Skip to content

Commit 2bef62a

Browse files
authored
Fix tests of refinalization after optimization of selects (#7595)
According to their comments, these tests purported to show that refinalize was run after optimizing a select to a single arm with a more refined type. However,the tests were flawed because the select arms had the same type, meaning the parsed select node did not have a less refined type than the arms. Fix this by giving the arms different types. Use a block to directly show that refinalization occurred instead of the cast that was there previously.
1 parent 51ba837 commit 2bef62a

File tree

1 file changed

+95
-71
lines changed

1 file changed

+95
-71
lines changed

0 commit comments

Comments
 (0)