Replies: 4 comments 1 reply
|
Thanks for the heads up, @erizzo! I personally use IntelliJ, and I see the same
Still, IntelliJ compiles that correctly... and I'm wondering how everything is fine under Maven 🤔 |
1 reply
|
I'm able to get past the IDE errors in AbstractIterableAssert by changing this: if (actual instanceof List<? extends ELEMENT> list) {
elementAtIndex = list.get(index);
} else {to this: if (actual instanceof List list) {
elementAtIndex = (ELEMENT) list.get(index);
} else {That leaves warnings in both IntelliJ and Eclipse, but at least not errors. |
0 replies
|
Similarly in AbstractObjectAssert, changing this: return super.extracting(propertyOrField, this::newObjectAssert);to this: AssertFactory<Object, AbstractObjectAssert<?, Object>> assertFactory = this::newObjectAssert;
return super.extracting(propertyOrField, assertFactory);makes Eclipse happy. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I just cloned the repo and imported into Eclipse, set the project to use Java 25.
There are compilation errors in 2 classes,
AbstractObjectAssertandAbstractIterableAssert, all centered around typing errors.In
AbstractObjectAssertthe same error shows up on 4 different lines. Here's one example, line 467In
AbstractIterableAssert, there are 2 instances of a different error. One example, line 3011:Only the
AbstractIterableAsserterrors show up in IntelliJ.Has anyone else run into these compilation errors?
All reactions