Added extra space around "->" in function types.
This commit is contained in:
@@ -125,7 +125,7 @@ public class DescriptorRenderer implements Renderer<DeclarationDescriptor> {
|
|||||||
List<TypeProjection> arguments = type.getArguments();
|
List<TypeProjection> arguments = type.getArguments();
|
||||||
for (int idx = receiver ? 1 : 0; idx < arguments.size(); idx++) {
|
for (int idx = receiver ? 1 : 0; idx < arguments.size(); idx++) {
|
||||||
if (idx + 1 == arguments.size()) {
|
if (idx + 1 == arguments.size()) {
|
||||||
sb.append(")->");
|
sb.append(") -> ");
|
||||||
}
|
}
|
||||||
TypeProjection argument = arguments.get(idx);
|
TypeProjection argument = arguments.get(idx);
|
||||||
sb.append(renderType(argument.getType()));
|
sb.append(renderType(argument.getType()));
|
||||||
|
|||||||
Reference in New Issue
Block a user