Skip to content

Conversation

@fw-immunant
Copy link
Contributor

A CI run randomly found this cast sequence that fails. I'm not sure what to do with it at this point, but this PR serves to at least document what's going on.

@ahomescu ahomescu force-pushed the ahomescu/restore_refactor branch from e3fb41a to c717e17 Compare October 7, 2025 22:26
@ahomescu
Copy link
Contributor

ahomescu commented Oct 7, 2025

Your branch needs a rebase (maybe once we land the base PR), then I'll take a look.

@ahomescu ahomescu self-requested a review October 7, 2025 22:32
@ahomescu ahomescu force-pushed the ahomescu/restore_refactor branch 4 times, most recently from a77dce1 to 51fbbcd Compare October 8, 2025 23:20
Base automatically changed from ahomescu/restore_refactor to master October 8, 2025 23:57
@fw-immunant fw-immunant force-pushed the fw/refactor-casts-quickcheck branch 2 times, most recently from 7a89e71 to 882d68f Compare October 9, 2025 17:28
@fw-immunant fw-immunant requested a review from ahomescu October 14, 2025 18:56
@fw-immunant fw-immunant changed the title Add failing quickcheck-derived test case for refactor casts Fix quickcheck-derived test case for refactor casts Oct 27, 2025
@fw-immunant fw-immunant force-pushed the fw/refactor-casts-quickcheck branch from 4159922 to 251d5a2 Compare November 24, 2025 18:23
@fw-immunant
Copy link
Contributor Author

I'd like to go ahead and merge this after CI, as this bug is the cause of occasional intermittent failures in CI (example).

If we want to make the check less conservative again in the SameWidth case, we can figure out in exactly which cases it's sound to do so as a follow-up. I don't think this PR regresses the output of this refactoring pass much in practice.

@ahomescu
Copy link
Contributor

I can't think of another way to simplify it, so LGTM, let's merge it.

@fw-immunant fw-immunant merged commit edcefc2 into master Nov 26, 2025
5 checks passed
@kkysen kkysen deleted the fw/refactor-casts-quickcheck branch December 2, 2025 07:01
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.

4 participants