Make $default methods non-private, avoid generating accessors for them
#KT-5786 Fixed
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
fun box(): String {
|
||||
run {
|
||||
test("ok")
|
||||
test("ok", 200)
|
||||
}
|
||||
test("ok")
|
||||
test("ok", 300)
|
||||
|
||||
return "OK"
|
||||
}
|
||||
|
||||
private fun test(arg1: String, default: Int = 0) = Unit
|
||||
Reference in New Issue
Block a user