Skip to content

Commit

Permalink
fix: type inference fixed by bumping Sundrio to 0.101.2
Browse files Browse the repository at this point in the history
see sundrio/sundrio#431

Signed-off-by: Marc Nuri <[email protected]>
  • Loading branch information
manusa committed Oct 26, 2023
1 parent c199bb6 commit cba27b1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

#### Bugs
* Fix #5501: [crd-generator] Fix fallback value of `Default` annotation in presence of multiple accessors
* Fix #5522: type inference fixed by bumping Sundrio to 0.101.2 (see https://github.com/sundrio/sundrio/pull/431)

#### Improvements

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,13 @@

class TypeInferenceTest {

// Commented-out due to compilation failure
// TODO: Enable after #5522 is fixed
// @Test
// void typeInferenceWithLambda() {
// final ConfigMapDependentResource cdr = new ConfigMapDependentResource();
// final DeploymentDependentResource ddr = new DeploymentDependentResource();
// Arrays.asList(cdr, ddr).forEach(dr -> dr.reconcile());
// Assertions.assertTrue(true);
// }
@Test
void typeInferenceWithLambda() {
final ConfigMapDependentResource cdr = new ConfigMapDependentResource();
final DeploymentDependentResource ddr = new DeploymentDependentResource();
Arrays.asList(cdr, ddr).forEach(dr -> dr.reconcile());
Assertions.assertTrue(true);
}

@Test
void typeInferenceWithMethodReference() {
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

<!-- Core versions -->
<sundrio.version>0.101.1</sundrio.version>
<sundrio.version>0.101.2</sundrio.version>
<okhttp.version>3.12.12</okhttp.version>
<okhttp.bundle.version>3.12.1_1</okhttp.bundle.version>
<okio.version>1.15.0</okio.version>
Expand Down

0 comments on commit cba27b1

Please sign in to comment.