You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
guw
changed the title
Clean Up produced compile error
Clean Up produces compile error for JUnit5 assertion (possibly generics compile issue)
Jul 23, 2024
- modify LambdaExressionsFixCore to add a cast if the lambda will
end up as an argument that is supposed to be a wildcard type and
the bound is not compatible with the initial class instance
creation type argument
- add new tests to CleanUpTest1d8
- fixeseclipse-jdt#1535
The following snippet:
Gets clean up into:
The latter produces two compile errors in Eclipse:
Iterator<String>
toIterator<Object>
assertIterableEquals(Iterable<?>, Iterable<?>)
in the typeAssertions
is not applicable for the arguments(List<String>, () -> {})
Version: 2024-06 (4.32.0)
Build id: 20240606-1231
Note, it might be a type inference problem. The code compiles fine if I introduce a local variable assignment.
The text was updated successfully, but these errors were encountered: