Added extra space around "->" in function types.

This commit is contained in:
Evgeny Gerashchenko
2012-03-06 20:07:19 +04:00
parent 1e3734a2d3
commit 0a5fab442c
@@ -125,7 +125,7 @@ public class DescriptorRenderer implements Renderer<DeclarationDescriptor> {
List<TypeProjection> arguments = type.getArguments();
for (int idx = receiver ? 1 : 0; idx < arguments.size(); idx++) {
if (idx + 1 == arguments.size()) {
sb.append(")->");
sb.append(") -> ");
}
TypeProjection argument = arguments.get(idx);
sb.append(renderType(argument.getType()));