Change default parameter rendering in decompiled text

So the code does not contain syntax errors
This commit is contained in:
Pavel V. Talanov
2014-12-02 14:38:59 +03:00
parent d0479aa61b
commit 72aba2b758
4 changed files with 8 additions and 7 deletions
@@ -9,5 +9,5 @@ internal val p: kotlin.Int /* compiled code */
internal fun f(): kotlin.Unit { /* compiled code */ }
internal fun kotlin.Int.plus(i: kotlin.Int): kotlin.Int { /* compiled code */ }
internal fun kotlin.Int.plus(i: kotlin.Int /* = compiled code */): kotlin.Int { /* compiled code */ }
@@ -4,7 +4,7 @@ fun f() {}
val p = 3
private var i = 2
fun Int.plus(i: Int) = this + i
fun Int.plus(i: Int = 1) = this + i
class ShouldNotBeVisible1
trait ShouldNotBeVisible2