Extract Function: Keep track of original parameter descriptors

This commit is contained in:
Alexey Sedunov
2014-07-01 14:23:59 +04:00
parent 09a1a8ce8f
commit 3e3918ab6e
191 changed files with 328 additions and 7 deletions
@@ -1,5 +1,7 @@
// PARAM_TYPES: kotlin.Int
// PARAM_TYPES: kotlin.Int
// PARAM_DESCRIPTOR: value-parameter val a: kotlin.Int defined in A.foo
// PARAM_DESCRIPTOR: value-parameter val b: kotlin.Int defined in A.foo
class A(val n: Int) {
fun foo(a: Int, b: Int) = <selection>a + b - n</selection> - 1
}