In our organisation's code base we have code taking the form:
where the first form ('foo bar) is an indirect reference that resolves to a function and the second form :foobar is an argument to that function.
If we try to insert a newline (= press enter) between the first form and the second form, the parinfer implementation will move the parenthesis:
Suddenly, :foobar is made a part of the first form.
If we then manually correct it to this (the only way possible without parinfer moving it inside the first form)
then using the automatic code formatting will put it back in the erroneous state again.
In our organisation's code base we have code taking the form:
where the first form
('foo bar)is an indirect reference that resolves to a function and the second form :foobar is an argument to that function.If we try to insert a newline (= press enter) between the first form and the second form, the parinfer implementation will move the parenthesis:
Suddenly, :foobar is made a part of the first form.
If we then manually correct it to this (the only way possible without parinfer moving it inside the first form)
then using the automatic code formatting will put it back in the erroneous state again.