Files
kotlin-fork/idea/testData/refactoring/extractFunction/parameters/misc/addPrefixToBackticks.kt.after
T
2017-05-26 13:58:46 +03:00

16 lines
396 B
Plaintext
Vendored

// PARAM_TYPES: X
// PARAM_TYPES: Y
// PARAM_DESCRIPTOR: public final fun X.test(): kotlin.Unit defined in Y
// PARAM_DESCRIPTOR: public final class Y defined in root package in file addPrefixToBackticks.kt
class X(val x: Int)
// SIBLING:
class Y(val y: Int) {
fun X.test() {
__dummyTestFun__(this, this@Y)
}
}
private fun __dummyTestFun__(x1: X, y1: Y) {
x1.`x` plus y1.y
}