remove support for 'trait' keyword
This commit is contained in:
+1
-1
@@ -1,3 +1,3 @@
|
||||
public trait Comparator<T> {
|
||||
public interface Comparator<T> {
|
||||
public fun compare(var1: T, var2: T): Int
|
||||
}
|
||||
|
||||
+4
-4
@@ -1,10 +1,10 @@
|
||||
package p
|
||||
|
||||
trait I1
|
||||
trait I2
|
||||
trait I3
|
||||
interface I1
|
||||
interface I2
|
||||
interface I3
|
||||
|
||||
trait KotlinTrait<T1, T2>
|
||||
interface KotlinTrait<T1, T2>
|
||||
|
||||
open class KotlinInheritor1<T> : KotlinTrait<T, I2>
|
||||
|
||||
|
||||
+4
-4
@@ -1,10 +1,10 @@
|
||||
package p
|
||||
|
||||
trait I1
|
||||
trait I2
|
||||
trait I3
|
||||
interface I1
|
||||
interface I2
|
||||
interface I3
|
||||
|
||||
trait KotlinTrait<T1, T2>
|
||||
interface KotlinTrait<T1, T2>
|
||||
|
||||
class KotlinInheritor<T> : KotlinTrait<T, T>
|
||||
|
||||
|
||||
+4
-4
@@ -1,10 +1,10 @@
|
||||
package p
|
||||
|
||||
trait I1
|
||||
trait I2
|
||||
trait I3
|
||||
interface I1
|
||||
interface I2
|
||||
interface I3
|
||||
|
||||
trait KotlinTrait<T1, T2>
|
||||
interface KotlinTrait<T1, T2>
|
||||
|
||||
class KotlinInheritor<T> : KotlinTrait<T, T>
|
||||
|
||||
|
||||
+3
-3
@@ -1,9 +1,9 @@
|
||||
package p
|
||||
|
||||
trait I1<T>
|
||||
trait I2
|
||||
interface I1<T>
|
||||
interface I2
|
||||
|
||||
trait KotlinTrait<T>
|
||||
interface KotlinTrait<T>
|
||||
|
||||
class KotlinInheritor<T> : KotlinTrait<I1<T>>
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
trait T
|
||||
interface T
|
||||
|
||||
class C : A()
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package p2
|
||||
|
||||
trait KotlinTrait
|
||||
interface KotlinTrait
|
||||
|
||||
open class KotlinInheritor1 : KotlinTrait
|
||||
|
||||
|
||||
Vendored
+3
-3
@@ -1,9 +1,9 @@
|
||||
class X
|
||||
class Y
|
||||
|
||||
trait T1
|
||||
trait T2<T>
|
||||
trait T3<T>
|
||||
interface T1
|
||||
interface T2<T>
|
||||
interface T3<T>
|
||||
|
||||
class C1 : T1
|
||||
class C2<T> : T2<T>, T3<T>
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
trait X
|
||||
interface X
|
||||
|
||||
fun foo(x: X) {
|
||||
JavaClass.search(<caret>)
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
trait T
|
||||
interface T
|
||||
|
||||
object OO : T
|
||||
|
||||
|
||||
Reference in New Issue
Block a user