Don't treat java constructor as 'hidden' one

Fix KT-54656
This commit is contained in:
Xin Wang
2022-10-27 16:05:12 +08:00
committed by Alexander Udalov
parent 928c6badd1
commit 4d9c2d3d14
4 changed files with 31 additions and 1 deletions
+17
View File
@@ -0,0 +1,17 @@
// TARGET_BACKEND: JVM_IR
// WITH_STDLIB
// FILE: J.java
public class J {
public J(Email email) {}
}
// FILE: 1.kt
@JvmInline
value class Email(val address: String)
fun box():String {
J(Email("test"))
return "OK"
}