Support named arguments for Java constructors annotated with KotlinSignature
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
// FILE: A.java
|
||||
|
||||
import kotlin.jvm.KotlinSignature;
|
||||
|
||||
public class A {
|
||||
@KotlinSignature("fun A(x: Int, y: String)")
|
||||
public A(int x, String y) {}
|
||||
}
|
||||
|
||||
// FILE: 1.kt
|
||||
|
||||
val test = A(x = 1, y = "2")
|
||||
Reference in New Issue
Block a user