Files
kotlin-fork/idea/testData/refactoring/extractFunction/delegation/delegationByExpression.kt
T
2014-07-11 19:13:22 +04:00

7 lines
159 B
Kotlin

// PARAM_TYPES: kotlin.Int
// PARAM_TYPES: kotlin.Int
trait T
class A(a: Int, b: Int): T
class B(a: Int, b: Int): T by A(<selection>a + b</selection>, a - b)