Take into account JvmName annotation when generating accessors
#KT-17444 Fixed Target versions 1.1.5
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
// IGNORE_BACKEND: JS, NATIVE
|
||||
// WITH_RUNTIME
|
||||
|
||||
|
||||
@JvmName("fooA")
|
||||
private fun String.foo(t: String?): String = this
|
||||
|
||||
private fun String.foo(t: String): String = this
|
||||
|
||||
fun runNoInline(fn: () -> String) = fn()
|
||||
|
||||
fun box() =
|
||||
runNoInline { "O".foo("") } +
|
||||
runNoInline { "K".foo(null) }
|
||||
|
||||
Reference in New Issue
Block a user