Files
kotlin/idea/testData/refactoring/extractFunction/basic/localObjectRef.kt

8 lines
132 B
Kotlin
Vendored

// SIBLING:
fun foo(a: Int): Int {
object A {
fun bar(): Int = a + 10
}
return <selection>A.bar()</selection>
}