Improve rendering of modifiers in DescriptorRenderer
* Use bold font to render all modifiers * Render 'external' according to the style guide, right after modality
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@ package
|
||||
|
||||
public external fun foo(/*0*/ a: kotlin.String): kotlin.Int
|
||||
|
||||
public external final class Bar {
|
||||
public final external class Bar {
|
||||
public constructor Bar(/*0*/ b: kotlin.Int, /*1*/ c: kotlin.Char)
|
||||
public final fun baz(/*0*/ d: kotlin.Int): kotlin.Unit
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@ package
|
||||
|
||||
@kotlin.js.nativeGetter public fun kotlin.Int.foo(/*0*/ a: kotlin.String): kotlin.Int?
|
||||
|
||||
public external final class Bar {
|
||||
public final external class Bar {
|
||||
public constructor Bar(/*0*/ b: kotlin.Int, /*1*/ c: kotlin.Char)
|
||||
@kotlin.js.nativeGetter public final fun baz(/*0*/ d: kotlin.Int): kotlin.Any?
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@ package
|
||||
|
||||
@kotlin.js.nativeInvoke public fun kotlin.Int.foo(/*0*/ a: kotlin.String): kotlin.Int
|
||||
|
||||
public external final class Bar {
|
||||
public final external class Bar {
|
||||
public constructor Bar(/*0*/ b: kotlin.Int, /*1*/ c: kotlin.Char)
|
||||
@kotlin.js.nativeInvoke public final fun baz(/*0*/ d: kotlin.Int): kotlin.Unit
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@ package
|
||||
|
||||
@kotlin.js.nativeSetter public fun kotlin.Int.foo(/*0*/ a: kotlin.String, /*1*/ v: kotlin.Int): kotlin.Int
|
||||
|
||||
public external final class Bar {
|
||||
public final external class Bar {
|
||||
public constructor Bar(/*0*/ b: kotlin.Int, /*1*/ c: kotlin.Char)
|
||||
@kotlin.js.nativeSetter public final fun baz(/*0*/ d: kotlin.Int, /*1*/ v: kotlin.Int): kotlin.Unit
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
|
||||
Reference in New Issue
Block a user