IDE testdata: s/trait/interface
This commit is contained in:
@@ -3,7 +3,7 @@ package a
|
||||
import a.E.ENTRY
|
||||
import a.Outer.*
|
||||
|
||||
trait T
|
||||
interface T
|
||||
|
||||
class A(i: Int) {}
|
||||
|
||||
@@ -34,7 +34,7 @@ class Outer {
|
||||
}
|
||||
object NestedObj {
|
||||
}
|
||||
trait NestedTrait {
|
||||
interface NestedTrait {
|
||||
}
|
||||
annotation class NestedAnnotation
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package a
|
||||
|
||||
trait T
|
||||
interface T
|
||||
|
||||
class A {
|
||||
companion object: T {
|
||||
|
||||
@@ -14,7 +14,7 @@ class Outer {
|
||||
}
|
||||
object NestedObj {
|
||||
}
|
||||
trait NestedTrait {
|
||||
interface NestedTrait {
|
||||
}
|
||||
annotation class NestedAnnotation
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// NO_ERRORS_DUMP
|
||||
package a
|
||||
|
||||
trait T
|
||||
interface T
|
||||
|
||||
fun T.get(thisRef: B, desc: PropertyMetadata): Int {
|
||||
return 3
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package d
|
||||
|
||||
trait T
|
||||
interface T
|
||||
|
||||
class A(i: Int) {}
|
||||
|
||||
@@ -31,7 +31,7 @@ class Outer {
|
||||
}
|
||||
object NestedObj {
|
||||
}
|
||||
trait NestedTrait {
|
||||
interface NestedTrait {
|
||||
}
|
||||
annotation class NestedAnnotation
|
||||
}
|
||||
|
||||
@@ -15,7 +15,7 @@ class Outer {
|
||||
}
|
||||
object NestedObj {
|
||||
}
|
||||
trait NestedTrait {
|
||||
interface NestedTrait {
|
||||
}
|
||||
annotation class NestedAnnotation
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@ import a.E.ENTRY
|
||||
}
|
||||
object NestedObj {
|
||||
}
|
||||
trait NestedTrait {
|
||||
interface NestedTrait {
|
||||
}
|
||||
annotation class NestedAnnotation
|
||||
}
|
||||
|
||||
@@ -13,7 +13,7 @@ class Outer {
|
||||
}
|
||||
object NestedObj {
|
||||
}
|
||||
trait NestedTrait {
|
||||
interface NestedTrait {
|
||||
}
|
||||
annotation class NestedAnnotation
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package d
|
||||
|
||||
trait T
|
||||
interface T
|
||||
|
||||
class A(i: Int) {}
|
||||
|
||||
@@ -32,7 +32,7 @@ class Outer {
|
||||
}
|
||||
object NestedObj {
|
||||
}
|
||||
trait NestedTrait {
|
||||
interface NestedTrait {
|
||||
}
|
||||
annotation class NestedAnnotation
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@ package a
|
||||
import a.E.ENTRY
|
||||
import a.Outer.*
|
||||
|
||||
trait T
|
||||
interface T
|
||||
|
||||
class A(i: Int) {}
|
||||
|
||||
@@ -34,7 +34,7 @@ class Outer {
|
||||
}
|
||||
object NestedObj {
|
||||
}
|
||||
trait NestedTrait {
|
||||
interface NestedTrait {
|
||||
}
|
||||
annotation class NestedAnnotation
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@ object B {
|
||||
fun f()
|
||||
}
|
||||
|
||||
trait T
|
||||
interface T
|
||||
|
||||
object A: T {
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// ERROR: Function 'ext' must have a body
|
||||
package to
|
||||
|
||||
trait T
|
||||
interface T
|
||||
|
||||
class A(i: Int) {}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package a
|
||||
|
||||
<selection>trait T
|
||||
<selection>interface T
|
||||
|
||||
class A(i: Int) {}
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
package a
|
||||
|
||||
trait A
|
||||
interface A
|
||||
|
||||
<selection>class C(): A {}</selection>
|
||||
@@ -2,6 +2,6 @@ package a
|
||||
|
||||
class A {}
|
||||
|
||||
trait T<H>
|
||||
interface T<H>
|
||||
|
||||
<selection>fun f(): T<A></selection>
|
||||
|
||||
Reference in New Issue
Block a user