Change default parameter rendering in decompiled text
So the code does not contain syntax errors
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user