Change Signature: Keep parameter 'val'/'var' when invoked from Java

#KT-20901 Fixed
 #KT-21159 Fixed
This commit is contained in:
Alexey Sedunov
2017-06-26 17:42:15 +03:00
parent 820ade41ed
commit 354a6cbfd9
16 changed files with 86 additions and 5 deletions
@@ -5,12 +5,18 @@ fun <caret>foo(a: Int, b: Int, d: Int, c: Int, e: Int) {
fun test() {
foo(1,
2,
4, 3, 5)
4,
3,
5)
foo(1, 2,
4, 3, 5)
4,
3,
5)
foo(
1,
2,
4, 3, 5
4,
3,
5
)
}
@@ -1,6 +1,7 @@
fun foo(
n: Int, s: String,
a: Any, l: Long
a: Any,
l: Long
) {
}