Fix wrong accumulator usage causing wrong indentation when pretty printing functions.
Add a recursive function to the test file to verify whether name disambiguation works correctly in that case. (It does.)