resolve default values for parameters for local functions

moved method 'resolveValueParameters'

#KT-3978 In progress
This commit is contained in:
Svetlana Isakova
2013-09-12 21:11:05 +04:00
parent 4b023742c6
commit f0bb41ba50
5 changed files with 76 additions and 38 deletions
@@ -0,0 +1,23 @@
package m
~zzz~annotation class zzz
~y~val y = 23
~bar~fun bar() = 354
~baz~fun baz(i: Int) = i
fun test() {
~x~val x = 2
[`zzz`zzz] fun local(
`zzz`zzz i: Int = `x`x,
j: Int = 3,
s: String = "$`x`x",
k: Int = `y`y,
l: Int = `bar`bar(),
m: Int = `baz`baz(`x`x)
) {
}
}