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

Fix some issues with the sortKeys autoFix #280

Merged
merged 3 commits into from Oct 5, 2017

Conversation

deecewan
Copy link
Contributor

@deecewan deecewan commented Oct 4, 2017

The fix was accidentally merged (#273) while there were still some issues with it.

The outstanding issues have now been fixed - if there are other things I've overlooked, please let me know.

I'm not convinced on the recursive structure, but it's the only way (I know of) to apply the nested fixes - otherwise they'll just continually conflict.

cc @gajus

@gajus
Copy link
Owner

gajus commented Oct 5, 2017

I'm not convinced on the recursive structure, but it's the only way (I know of) to apply the nested fixes - otherwise they'll just continually conflict.

Any recursive structure can be converted to a loop. Somewhat relevant: https://stackoverflow.com/questions/159590/way-to-go-from-recursion-to-iteration.

Anyway, I don't see it as a problem.

@gajus gajus merged commit 9c69e90 into gajus:master Oct 5, 2017
@deecewan deecewan deleted the fix/sort-keys-autofix branch October 5, 2017 11:15
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

Successfully merging this pull request may close these issues.

None yet

2 participants