IDE testdata: s/trait/interface
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
// PSI_ELEMENT: org.jetbrains.kotlin.psi.JetNamedFunction
|
||||
// OPTIONS: overloadUsages
|
||||
trait X<T> {
|
||||
interface X<T> {
|
||||
}
|
||||
|
||||
fun <T> X<T>.foo(a: Number, b: Number) {
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
// PSI_ELEMENT: org.jetbrains.kotlin.psi.JetNamedFunction
|
||||
// OPTIONS: overloadUsages
|
||||
trait X {
|
||||
interface X {
|
||||
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
// OPTIONS: usages, skipImports
|
||||
package server
|
||||
|
||||
trait TraitWithImpl {
|
||||
interface TraitWithImpl {
|
||||
fun <caret>foo() = 1
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
// OPTIONS: usages, skipImports
|
||||
package server
|
||||
|
||||
trait TraitNoImpl {
|
||||
interface TraitNoImpl {
|
||||
fun <caret>foo()
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// PSI_ELEMENT: org.jetbrains.kotlin.psi.JetNamedFunction
|
||||
// OPTIONS: usages, skipImports
|
||||
|
||||
trait A {
|
||||
interface A {
|
||||
fun foo()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user