Adapt test infrastructure to the latest changes
^KT-43677 In Progress
This commit is contained in:
+1
@@ -1,3 +1,4 @@
|
||||
// JVM_TARGET: 15_PREVIEW
|
||||
// FILE: MyRec.java
|
||||
public record MyRec(String name) implements KI {
|
||||
public String getName() {
|
||||
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// JVM_TARGET: 15_PREVIEW
|
||||
// FILE: MyRec.java
|
||||
public record MyRec(String name) {
|
||||
public String getName() {
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// JVM_TARGET: 15_PREVIEW
|
||||
// FILE: MyRec.java
|
||||
public record MyRec(String name) {}
|
||||
|
||||
@@ -7,4 +8,4 @@ fun box(): String {
|
||||
if (r.name() != "OK") return "fail 1"
|
||||
|
||||
return r.name
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user