Skip to content
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

Missing implementation of LiteralExpressionMutator #12

Open
mutrepair opened this issue Mar 28, 2023 · 0 comments
Open

Missing implementation of LiteralExpressionMutator #12

mutrepair opened this issue Mar 28, 2023 · 0 comments

Comments

@mutrepair
Copy link

Hi, your TBar tool is very useful and can fix a lot of bugs. But I found that there could be some implementation missing in the included fix patterns, e.g., LiteralExpressionMutator. I would assume this mutator can mutate string to another string (e.g., "") and mutate numbers to some other numbers (default ones like 0, 1 etc. or negated ones), but it seems the implementation is missing, according to your TODOs:

// TODO: How to select other string literals?
,
// TODO: How to select other number literals?
. Do you think TBar can fix more bugs if these mutators are fully implemented? Thanks for your time in advance.

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

No branches or pull requests

1 participant