Support loading Java records
^KT-43677 In Progress
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
// FILE: MyRecord.java
|
||||
public record MyRecord(int x, CharSequence y) {
|
||||
|
||||
}
|
||||
|
||||
// FILE: main.kt
|
||||
|
||||
fun foo(mr: MyRecord) {
|
||||
MyRecord(1, "")
|
||||
|
||||
mr.x()
|
||||
mr.y()
|
||||
|
||||
mr.x
|
||||
mr.y
|
||||
}
|
||||
Reference in New Issue
Block a user