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

Spork fails to detect multi declaration/initialization causing duplication of fields and locals #123

Closed
slarse opened this issue May 16, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@slarse
Copy link
Collaborator

slarse commented May 16, 2020

If the declaration looks something like this:

String a = "", b = "", c;

Spork only looks up to the first equals sign, and then thinks it's not a multi declaration. I.e. Spork only expects this:

String a, b, c;

as a multi declaration. Need to make the detection stricter.

@slarse slarse added the bug Something isn't working label May 16, 2020
@slarse slarse closed this as completed in 8cc831b May 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant