-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test(flatten_cfg): unit test and end to end test for #1792 #1806
Conversation
// constrain v48 | ||
// return | ||
// } | ||
let test_set_id = Id::test_new(7); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GPT4 did the conversion after given one example, plus a bit of hand-massaging
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Simplified (by GPT4 of course I'm not a sucker)
@kevaundray @jfecher figured out that the simplify code thinks
the constrain here can be removed on flatten_cfg, but I didn't debug further. |
Can we open this as an issue in the future? Unless the PR already has the fix for the bug included I think it is better to file the bug first. |
Sure, although surely this needs the fix any way and then it has an issue? This can't be merged without it. I thought of this more as a hand off PR |
Sorry, I misinterpreted this PR at first. I didn't see the existing linked issue #1792 somehow. I think for cases like this we can include any testing code in the issue and just make sure to add it in the same PR the issue is fixed in. That way we have assurance the PR fixes the issue in question compared to adding the test afterward. |
Really I should have probably slapped DO NOT MERGE on this, it was meant to be used as you did, cherry-picked into the fix PR. And it is in the issue by virtue of mentioning the issue, but I'll put it in the body in the future |
Description
Problem*
Resolves
Summary*
Documentation
This PR requires documentation updates when merged.
Additional Context
PR Checklist*
cargo fmt
on default settings.