replace 'trait' keyword with 'interface' in user-visible messages and code generation tools

This commit is contained in:
Dmitry Jemerov
2015-05-11 19:37:38 +02:00
parent 25959fefdc
commit 9975bb8935
704 changed files with 1684 additions and 1727 deletions
@@ -2,11 +2,11 @@ package test
public /*synthesized*/ fun A(/*0*/ function: (kotlin.Int) -> kotlin.Unit): test.A
public trait A {
public interface A {
public abstract fun foo(/*0*/ p0: kotlin.Int): kotlin.Unit
}
internal trait B {
internal interface B {
internal abstract fun foo(/*0*/ kotlinName: kotlin.Int): kotlin.Unit
}
@@ -2,13 +2,13 @@ package test
public /*synthesized*/ fun J(/*0*/ function: (test.K!) -> kotlin.Unit): test.J
public trait J {
public interface J {
public abstract fun foo(/*0*/ p0: test.K!): kotlin.Unit
}
internal trait K {
internal interface K {
}
internal trait K1 : test.J {
internal interface K1 : test.J {
public abstract override /*1*/ fun foo(/*0*/ k: test.K?): kotlin.Unit
}
@@ -5,7 +5,7 @@ public open class J : test.K {
public open override /*1*/ fun foo(/*0*/ l: kotlin.(Mutable)List<kotlin.String!>!): kotlin.String!
}
internal trait K {
internal interface K {
public abstract fun foo(/*0*/ l: kotlin.MutableList<kotlin.String>): kotlin.String
}