-
Notifications
You must be signed in to change notification settings - Fork 3
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
Avoid mutating variables that require const initialization #236
Conversation
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.
This looks great - a minor comment change and (if possible) some extra tests requested.
@JamesLee-Jones This fails with:
It therefore looks as if your change is slightly reducing the number of mutants that are available when spirv-val is mutated. We should look into this. The approach would be:
After that some manual or automated test case reduction should home in on where the problem is. |
From looking back at the single file test that was modified, I believe it is because the check i used catches |
@JamesLee-Jones can you rebase this, please? @JonathanFoo0523 after James has rebased, can you investigate why James's change is reducing the number of mutants that get created for spirv-val? (See cxx_apps.sh under |
We cannot mutate variable declarations that require constant initialization as Dredd's mutations occur dynamically. Fixes: #235.
I believe this commit already resolved the issue. |
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.
LGTM!
We cannot mutate variable declarations that require constant initialization as Dredd's mutations occur dynamically.
Fixes: #235.