IDE testdata: s/trait/interface
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user