replace 'trait' keyword with 'interface' in user-visible messages and code generation tools
This commit is contained in:
@@ -10,34 +10,34 @@ internal val g: G? = null
|
||||
internal val h: H? = null
|
||||
internal fun test(): kotlin.Unit
|
||||
|
||||
internal trait A {
|
||||
internal interface A {
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
internal open fun foo(): kotlin.Unit
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
}
|
||||
|
||||
internal trait B : A {
|
||||
internal interface B : A {
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
internal open override /*1*/ /*fake_override*/ fun foo(): kotlin.Unit
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
}
|
||||
|
||||
internal trait C {
|
||||
internal interface C {
|
||||
}
|
||||
|
||||
internal trait D {
|
||||
internal interface D {
|
||||
}
|
||||
|
||||
internal trait E {
|
||||
internal interface E {
|
||||
}
|
||||
|
||||
internal trait F {
|
||||
internal interface F {
|
||||
}
|
||||
|
||||
internal trait G : F {
|
||||
internal interface G : F {
|
||||
}
|
||||
|
||||
internal trait H : F {
|
||||
internal interface H : F {
|
||||
}
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
package
|
||||
|
||||
public/*package*/ trait A : C {
|
||||
public/*package*/ interface A : C {
|
||||
internal abstract override /*1*/ /*fake_override*/ fun bar(): kotlin.Unit
|
||||
public abstract override /*1*/ /*fake_override*/ fun baz(): kotlin.Unit
|
||||
public abstract fun foo(): kotlin.Unit
|
||||
}
|
||||
|
||||
internal trait B {
|
||||
internal interface B {
|
||||
internal abstract fun bar(): kotlin.Unit
|
||||
}
|
||||
|
||||
public/*package*/ trait C : B {
|
||||
public/*package*/ interface C : B {
|
||||
internal abstract override /*1*/ /*fake_override*/ fun bar(): kotlin.Unit
|
||||
public abstract fun baz(): kotlin.Unit
|
||||
}
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
package
|
||||
|
||||
internal trait ExceptionTracker {
|
||||
internal interface ExceptionTracker {
|
||||
}
|
||||
|
||||
public/*package*/ open class LockBasedStorageManager : StorageManager {
|
||||
public/*package*/ constructor LockBasedStorageManager()
|
||||
java.lang.Override() public/*package*/ open override /*1*/ fun foo(): kotlin.Unit
|
||||
|
||||
public/*package*/ trait ExceptionHandlingStrategy {
|
||||
public/*package*/ interface ExceptionHandlingStrategy {
|
||||
public abstract fun bar(): kotlin.Unit
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
@@ -18,6 +18,6 @@ public/*package*/ open class LockBasedStorageManager : StorageManager {
|
||||
public/*package*/ final /*synthesized*/ fun ExceptionHandlingStrategy(/*0*/ function: () -> kotlin.Unit): LockBasedStorageManager.ExceptionHandlingStrategy
|
||||
}
|
||||
|
||||
internal trait StorageManager {
|
||||
internal interface StorageManager {
|
||||
internal abstract fun foo(): kotlin.Unit
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user