Extract Function: Support extraction of expressions in delegation

specifiers
This commit is contained in:
Alexey Sedunov
2014-06-27 20:41:08 +04:00
parent 1c75a5f642
commit 09a1a8ce8f
8 changed files with 77 additions and 3 deletions
@@ -0,0 +1,9 @@
// PARAM_TYPES: kotlin.Int
// PARAM_TYPES: kotlin.Int
open class A(a: Int, b: Int)
class B(a: Int, b: Int): A(i(a, b), a - b)
fun i(a: Int, b: Int): Int {
return a + b
}