We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62f0324 commit 64a8865Copy full SHA for 64a8865
tests/pos-java16+/java-records/FromScala.scala
@@ -41,3 +41,7 @@ object C:
41
val l2: Long = r3.l(43L, 44L)
42
// supertype
43
val isRecord: java.lang.Record = r3
44
+
45
+ def useR4: Unit =
46
+ val r4 = R4(1)
47
+ val i: Int = r4.t
tests/pos-java16+/java-records/R4.java
@@ -0,0 +1 @@
1
+public record R4<T>(T t) {}
0 commit comments