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

Handle method references #352

Merged
merged 11 commits into from
Aug 9, 2024
Merged

Conversation

theron-wang
Copy link
Collaborator

Method references should be solvable, but only if their parameter types match the type arguments in its corresponding functional interface (for example, Function<?, ?> doesn't match String foo(int x) but Function<Integer, ?> does). The test case (a bit of a large one) is in SyntheticMethodRefsTest. Thanks!

@theron-wang theron-wang requested a review from kelloggm August 8, 2024 21:40
Copy link
Collaborator

@kelloggm kelloggm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall this is great work, thanks! I have a few comments and I'd like to review again after they're addressed, but I think it'll be easy to merge this.

@theron-wang theron-wang requested a review from kelloggm August 9, 2024 15:42
Copy link
Collaborator

@kelloggm kelloggm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kelloggm kelloggm enabled auto-merge (squash) August 9, 2024 16:07
@kelloggm kelloggm merged commit 47fb15f into njit-jerse:main Aug 9, 2024
3 checks passed
@theron-wang theron-wang deleted the method-references branch August 13, 2024 18:14
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