IDE testdata: s/trait/interface

This commit is contained in:
Dmitry Jemerov
2015-05-12 20:39:44 +02:00
parent 99cad4b43f
commit 625096466e
698 changed files with 1049 additions and 1049 deletions
@@ -1,6 +1,6 @@
// PARAM_DESCRIPTOR: val t: <no name provided> defined in foo
// PARAM_TYPES: T
trait T {
interface T {
fun test() {}
}
@@ -1,6 +1,6 @@
// PARAM_DESCRIPTOR: val t: <no name provided> defined in foo
// PARAM_TYPES: T
trait T {
interface T {
fun test() {}
}
@@ -1,4 +1,4 @@
trait T {
interface T {
fun test() {}
}
@@ -1,4 +1,4 @@
trait T {
interface T {
fun test() {}
}
@@ -1,4 +1,4 @@
trait T{
interface T{
fun foo(): Int {
return <selection>1</selection>
}
@@ -1,4 +1,4 @@
trait T{
interface T{
fun foo(): Int {
return i()
}
@@ -6,6 +6,6 @@ fun main(args: Array<String>) {
}
}
trait T {
interface T {
fun foo(n: Int): Int
}
@@ -11,6 +11,6 @@ private fun i(): Int {
return a
}
trait T {
interface T {
fun foo(n: Int): Int
}
@@ -1,4 +1,4 @@
trait Callable<T> {
interface Callable<T> {
fun call(): T
}
@@ -2,7 +2,7 @@
// PARAM_TYPES: kotlin.Int
// PARAM_DESCRIPTOR: value-parameter val a: kotlin.Int defined in B.<init>
// PARAM_DESCRIPTOR: value-parameter val b: kotlin.Int defined in B.<init>
trait T
interface T
class A(a: Int, b: Int): T
@@ -2,7 +2,7 @@
// PARAM_TYPES: kotlin.Int
// PARAM_DESCRIPTOR: value-parameter val a: kotlin.Int defined in B.<init>
// PARAM_DESCRIPTOR: value-parameter val b: kotlin.Int defined in B.<init>
trait T
interface T
class A(a: Int, b: Int): T
@@ -1,6 +1,6 @@
// PARAM_TYPES: T
// PARAM_DESCRIPTOR: value-parameter val t: T defined in B.<init>
trait T
interface T
class A(a: Int, b: Int): T
@@ -1,6 +1,6 @@
// PARAM_TYPES: T
// PARAM_DESCRIPTOR: value-parameter val t: T defined in B.<init>
trait T
interface T
class A(a: Int, b: Int): T
@@ -1,6 +1,6 @@
//PARAM_TYPES: C, AImpl, A
//PARAM_DESCRIPTOR: value-parameter val c: C defined in foo
trait A {
interface A {
fun doA()
}
@@ -10,7 +10,7 @@ open class AImpl: A {
}
}
trait B {
interface B {
fun doB()
}
@@ -1,6 +1,6 @@
//PARAM_TYPES: C, AImpl, A
//PARAM_DESCRIPTOR: value-parameter val c: C defined in foo
trait A {
interface A {
fun doA()
}
@@ -10,7 +10,7 @@ open class AImpl: A {
}
}
trait B {
interface B {
fun doB()
}
@@ -1,6 +1,6 @@
//PARAM_TYPES: C, B
//PARAM_DESCRIPTOR: value-parameter val c: C defined in foo
trait A {
interface A {
fun doA()
}
@@ -10,7 +10,7 @@ open class AImpl: A {
}
}
trait B {
interface B {
fun doB()
}
@@ -1,6 +1,6 @@
//PARAM_TYPES: C, B
//PARAM_DESCRIPTOR: value-parameter val c: C defined in foo
trait A {
interface A {
fun doA()
}
@@ -10,7 +10,7 @@ open class AImpl: A {
}
}
trait B {
interface B {
fun doB()
}
@@ -1,6 +1,6 @@
//PARAM_TYPES: C
//PARAM_DESCRIPTOR: value-parameter val c: C defined in foo
trait A {
interface A {
fun doA()
}
@@ -10,7 +10,7 @@ open class AImpl: A {
}
}
trait B {
interface B {
fun doB()
}
@@ -1,6 +1,6 @@
//PARAM_TYPES: C
//PARAM_DESCRIPTOR: value-parameter val c: C defined in foo
trait A {
interface A {
fun doA()
}
@@ -10,7 +10,7 @@ open class AImpl: A {
}
}
trait B {
interface B {
fun doB()
}
@@ -1,6 +1,6 @@
//PARAM_TYPES: C
//PARAM_DESCRIPTOR: value-parameter val c: C defined in foo
trait A {
interface A {
fun doA()
}
@@ -10,7 +10,7 @@ open class AImpl: A {
}
}
trait B {
interface B {
fun doB()
}
@@ -1,6 +1,6 @@
//PARAM_TYPES: C
//PARAM_DESCRIPTOR: value-parameter val c: C defined in foo
trait A {
interface A {
fun doA()
}
@@ -10,7 +10,7 @@ open class AImpl: A {
}
}
trait B {
interface B {
fun doB()
}
@@ -1,4 +1,4 @@
trait T
interface T
fun foo(): T {
return <selection>object: T() {}</selection>
@@ -1,4 +1,4 @@
trait T
interface T
fun foo(): T {
return t()
@@ -1,4 +1,4 @@
trait Callable<T> {
interface Callable<T> {
fun call(): T
}
@@ -1,4 +1,4 @@
trait T
interface T
fun foo(): T {
class A: T
@@ -1,4 +1,4 @@
trait T
interface T
fun foo(): T {
class A: T
@@ -1,6 +1,6 @@
// PARAM_DESCRIPTOR: val a: foo.A defined in foo.bar
// PARAM_TYPES: T
trait T
interface T
// SIBLING:
fun foo(): T {
@@ -1,6 +1,6 @@
// PARAM_DESCRIPTOR: val a: foo.A defined in foo.bar
// PARAM_TYPES: T
trait T
interface T
// SIBLING:
fun foo(): T {
@@ -1,6 +1,6 @@
// PARAM_DESCRIPTOR: val a: foo.A defined in foo.bar
// PARAM_TYPES: foo.A, T
trait T
interface T
fun foo(): T {
class A: T
@@ -1,6 +1,6 @@
// PARAM_DESCRIPTOR: val a: foo.A defined in foo.bar
// PARAM_TYPES: foo.A, T
trait T
interface T
fun foo(): T {
class A: T
@@ -1,4 +1,4 @@
trait T
interface T
// SIBLING:
fun foo(): T {
@@ -1,7 +1,7 @@
// PARAM_TYPES: V
// PARAM_DESCRIPTOR: value-parameter val v: V defined in foo
open class Data(val x: Int)
trait DataEx
interface DataEx
class Pair<A, B>(val a: A, val b: B)
@@ -1,7 +1,7 @@
// PARAM_TYPES: V
// PARAM_DESCRIPTOR: value-parameter val v: V defined in foo
open class Data(val x: Int)
trait DataEx
interface DataEx
class Pair<A, B>(val a: A, val b: B)
@@ -5,8 +5,8 @@
// PARAM_DESCRIPTOR: internal final inner class B<U : Data> where U : DataExEx defined in A
// PARAM_DESCRIPTOR: value-parameter val v: V defined in A.B.foo
open class Data(val x: Int)
trait DataEx
trait DataExEx
interface DataEx
interface DataExEx
// SIBLING:
class A<T: Data>(val t: T) where T: DataEx {
@@ -5,8 +5,8 @@
// PARAM_DESCRIPTOR: internal final inner class B<U : Data> where U : DataExEx defined in A
// PARAM_DESCRIPTOR: value-parameter val v: V defined in A.B.foo
open class Data(val x: Int)
trait DataEx
trait DataExEx
interface DataEx
interface DataExEx
// SIBLING:
class A<T: Data>(val t: T) where T: DataEx {
@@ -3,8 +3,8 @@
// PARAM_DESCRIPTOR: internal final inner class B<U : Data> where U : DataExEx defined in A
// PARAM_DESCRIPTOR: value-parameter val v: V defined in A.B.foo
open class Data(val x: Int)
trait DataEx
trait DataExEx
interface DataEx
interface DataExEx
class A<T: Data>(val t: T) where T: DataEx {
// SIBLING:
@@ -3,8 +3,8 @@
// PARAM_DESCRIPTOR: internal final inner class B<U : Data> where U : DataExEx defined in A
// PARAM_DESCRIPTOR: value-parameter val v: V defined in A.B.foo
open class Data(val x: Int)
trait DataEx
trait DataExEx
interface DataEx
interface DataExEx
class A<T: Data>(val t: T) where T: DataEx {
// SIBLING:
@@ -1,8 +1,8 @@
// PARAM_TYPES: V, Data
// PARAM_DESCRIPTOR: value-parameter val v: V defined in A.B.foo
open class Data(val x: Int)
trait DataEx
trait DataExEx
interface DataEx
interface DataExEx
class A<T: Data>(val t: T) where T: DataEx {
inner class B<U: Data>(val u: U) where U: DataExEx {
@@ -1,8 +1,8 @@
// PARAM_TYPES: V, Data
// PARAM_DESCRIPTOR: value-parameter val v: V defined in A.B.foo
open class Data(val x: Int)
trait DataEx
trait DataExEx
interface DataEx
interface DataExEx
class A<T: Data>(val t: T) where T: DataEx {
inner class B<U: Data>(val u: U) where U: DataExEx {
@@ -3,7 +3,7 @@
// PARAM_DESCRIPTOR: internal final class A<T : Data> where T : DataEx defined in root package
// PARAM_DESCRIPTOR: value-parameter val v: V defined in A.foo
open class Data(val x: Int)
trait DataEx
interface DataEx
// SIBLING:
class A<T: Data>(val t: T) where T: DataEx {
@@ -3,7 +3,7 @@
// PARAM_DESCRIPTOR: internal final class A<T : Data> where T : DataEx defined in root package
// PARAM_DESCRIPTOR: value-parameter val v: V defined in A.foo
open class Data(val x: Int)
trait DataEx
interface DataEx
// SIBLING:
class A<T: Data>(val t: T) where T: DataEx {