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 type annotations on method reference qualifiers #984

Merged
merged 1 commit into from
Oct 30, 2023

Conversation

copybara-service[bot]
Copy link

Handle type annotations on method reference qualifiers

e.g.

Supplier<List<?>> a = @A(0x45) ArrayList::new;
Supplier<List<?>> b = @A(0x46) ImmutableList::of;

The necessary logic is already there, but the start position information
for the method reference doesn't include the leading type annotations,
which was resulting in an assertion to fail.

e.g.

```
Supplier<List<?>> a = @A(0x45) ArrayList::new;
Supplier<List<?>> b = @A(0x46) ImmutableList::of;
```

The necessary logic is already there, but the start position information
for the method reference doesn't include the leading type annotations,
which was resulting in an assertion to fail.

PiperOrigin-RevId: 577850593
@copybara-service copybara-service bot merged commit 53390d9 into master Oct 30, 2023
@copybara-service copybara-service bot deleted the test_577228869 branch October 30, 2023 15:22
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.

1 participant