IDE testdata: s/trait/interface
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// EXTRACTION_TARGET: lazy property
|
||||
|
||||
trait T {
|
||||
interface T {
|
||||
fun foo(): Int = <selection>1</selection>
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// EXTRACTION_TARGET: property with getter
|
||||
trait T {
|
||||
interface T {
|
||||
fun foo(): Int {
|
||||
return <selection>1</selection>
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// EXTRACTION_TARGET: property with getter
|
||||
trait T {
|
||||
interface T {
|
||||
val i: Int
|
||||
get() = 1
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// EXTRACTION_TARGET: property with initializer
|
||||
|
||||
trait T {
|
||||
interface T {
|
||||
fun foo(): Int = <selection>1</selection>
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user