forked from JavaTX/JavaCompilerCore
Types are weird in this one
This commit is contained in:
parent
7cb0e9dbb7
commit
9472b5c86f
@ -11,9 +11,9 @@ record Rec(Integer a, Integer b) {}
|
|||||||
}*/
|
}*/
|
||||||
|
|
||||||
public class RecordTest {
|
public class RecordTest {
|
||||||
a = new Rec(10, 20);
|
Rec a = new Rec(10, 20);
|
||||||
b = new Rec(10, 20);
|
Rec b = new Rec(10, 20);
|
||||||
c = new Rec(20, 40);
|
Rec c = new Rec(20, 40);
|
||||||
|
|
||||||
public doesEqual() { return a.equals(b); }
|
public doesEqual() { return a.equals(b); }
|
||||||
public doesNotEqual() { return b.equals(c); }
|
public doesNotEqual() { return b.equals(c); }
|
||||||
|
Loading…
Reference in New Issue
Block a user