KT-43525 forbid @JvmOverloads on mangled funs and hidden constructors
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_RUNTIME
|
||||
|
||||
inline class Str(val s: String)
|
||||
|
||||
@JvmOverloads
|
||||
fun test(so: String = "O", sk: String = "K") = Str(so + sk)
|
||||
|
||||
fun box(): String =
|
||||
test().s
|
||||
Reference in New Issue
Block a user