-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Lombok tries to apply an extension method to a wrong type #2741
Comments
Rawi01
added a commit
to Rawi01/lombok
that referenced
this issue
Feb 7, 2021
Thanks for the reproducer, should be fixed with the linked PR. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I use
@ExtensionMethod
annotation to add some methods to collections.I declare an extension method
filter()
forList<T>
but Lombok tries to apply this method toStream<T>
type.How to reproduce
Expected behavior
It should work.
Actual behavior
Lombok returns the following error during a compilation process:
Version info:
16.16
,18.18
1.8.0_252 (Amazon.com Inc. 25.252-b09)
,11.0.7 (Amazon.com Inc. 11.0.7+10-LTS)
The text was updated successfully, but these errors were encountered: