Extraction Engine: Assume internal visibility for trait members
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
trait T{
|
||||
fun foo(): Int {
|
||||
return <selection>1</selection>
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
trait T{
|
||||
fun foo(): Int {
|
||||
return i()
|
||||
}
|
||||
|
||||
fun i(): Int {
|
||||
return 1
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
// EXTRACTION_TARGET: property with getter
|
||||
trait T {
|
||||
private val i: Int
|
||||
val i: Int
|
||||
get() {
|
||||
return 1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user