Skip to content
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

Fixed some problems with lambda functions #49

Merged
merged 2 commits into from
Sep 11, 2021
Merged

Conversation

rqu
Copy link
Contributor

@rqu rqu commented Sep 11, 2021

  • Some implicit conversions (such as boxing, unboxing, primitive widening) on method references were missing.
  • A lambda expression could not be used to implement a functional interface that inherited its abstract method instead of declaring it itself. For example: interface BinaryOperator<T> extends BiFunction<T, T, T> {}, where BiFunction is interface BiFunction<T, U, R> { R apply(T, U); }

@jtulach jtulach merged commit 4e9b6a0 into jtulach:master Sep 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants