Extract Function: Support extraction of expressions in delegation
specifiers
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user