Skip to content

Commit

Permalink
Clean-up whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
biboudis committed Jul 19, 2024
1 parent b4341bd commit b62b5c7
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ void runSingle(Path base, String bt_1, String bt_2, String t1, Integer selected)
String source =
"""
package test;
class Test {
static class A {}
static class B extends A {}
Expand All @@ -82,19 +82,19 @@ static class D extends C {}
sealed interface I {}
final static class E implements I {}
final static class F implements I {}
static class Single {
public pattern Single($BINDING_1 b1) {
System.out.println(1);
match Single(new $BINDING_1());
}
public pattern Single($BINDING_2 b1) {
System.out.println(2);
match Single(new $BINDING_2());
}
}
public static void main(String[] args) {
Single t = new Single();
switch(t) {
Expand Down Expand Up @@ -131,19 +131,19 @@ static class D extends C {}
sealed interface I {}
final static class E implements I {}
final static class F implements I {}
static class Two {
public pattern Two($BINDING_TYPE1_1 b1, $BINDING_TYPE2_1 be) {
System.out.println(1);
match Two(new $BINDING_TYPE1_1(), new $BINDING_TYPE2_1());
}
public pattern Two($BINDING_TYPE1_2 b1, $BINDING_TYPE2_2 be) {
System.out.println(2);
match Two(new $BINDING_TYPE1_2(), new $BINDING_TYPE2_2());
}
}
public static void main(String[] args) {
Two t = new Two();
switch(t) {
Expand Down

0 comments on commit b62b5c7

Please sign in to comment.