Render "<" properly in HTML
This commit is contained in:
@@ -372,8 +372,8 @@ public class DescriptorRendererImpl implements DescriptorRenderer {
|
||||
|
||||
// Foo[] -> Array<(out) Foo!>!
|
||||
String array = replacePrefixes(
|
||||
lowerRendered, kotlinPrefix + "Array<", upperRendered, kotlinPrefix + "Array<out ",
|
||||
kotlinPrefix + "Array<(out) "
|
||||
lowerRendered, kotlinPrefix + escape("Array<"), upperRendered, kotlinPrefix + escape("Array<out "),
|
||||
kotlinPrefix + escape("Array<(out) ")
|
||||
);
|
||||
if (array != null) return array;
|
||||
return "(" + renderNormalizedType(lower) + ".." + renderNormalizedType(upper) + ")";
|
||||
|
||||
@@ -2,4 +2,4 @@ fun ktTest() {
|
||||
Test.<caret>foo("SomeTest")
|
||||
}
|
||||
|
||||
// INFO: <b>public</b> <b>open</b> <b>fun</b> foo(param: String!): (Array<Any!>..Array<out Any!>?)<br/>Java declaration:<br/>Test...
|
||||
// INFO: <b>public</b> <b>open</b> <b>fun</b> foo(param: String!): Array<(out) Any!>!<br/>Java declaration:<br/>Test...
|
||||
Reference in New Issue
Block a user