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
Describe the bug
When I write a static extension method that calls another static extension method within the same class then I expect to be able to use the fluent style and not have to revert back to the static call syntax.
To Reproduce
Create a extension method class which are overloads of each other
public static Integer indexWhere(Iterator collection, int startIndex, Predicate predicate) {
// do the real work
return -1; // as test
}
Expected behavior
Compilation should not report an error
Version info (please complete the following information):
Lombok version: 1.18.12
Platform Intellij IDEA 2020.1 Community Edition
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
jm98
changed the title
[BUG] @ExtensionMethod will not translate fluent calls to
[BUG] @ExtensionMethod will not translate fluent calls to from one method to another method in the same "extension" class
May 1, 2020
Describe the bug
When I write a static extension method that calls another static extension method within the same class then I expect to be able to use the fluent style and not have to revert back to the static call syntax.
To Reproduce
Create a extension method class which are overloads of each other
public static Integer indexWhere(Iterator collection, Predicate predicate) {
return collection.indexWhere(0, predicate);
}
public static Integer indexWhere(Iterator collection, int startIndex, Predicate predicate) {
// do the real work
return -1; // as test
}
Expected behavior
Compilation should not report an error
Version info (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: