-
Notifications
You must be signed in to change notification settings - Fork 274
Object factory: ensure generated assignments are exactly type-consistent [blocks: #3966] #4126
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
Object factory: ensure generated assignments are exactly type-consistent [blocks: #3966] #4126
Conversation
Previously the initialiser could have a followed (e.g. struct) type, while the LHS being set up could have a tag type.
At the moment --validate-goto-model doesn't give this strong a guarantee, but at least within the object factory we should only be producing exactly type-consistent statements.
Just noting here that these fixes are actually required to make #3966 mergeable (as otherwise a test fails). |
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.
✔️
Passed Diffblue compatibility checks (cbmc commit: 814426b).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/100219870
@tautschnig looks like neither one is superseded, they do independent cleanups around the same area. |
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.
Changes LGTM - could it get a very quick manual TG bump (I'm assuming @smowton will take care of this, or will let me know if not)
Manual bump: diffblue/test-gen#3027 (awaiting CI) |
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.
Manual bump passed with no changes as Chris promised, so this is good to go 👍
No description provided.