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

Bug 573552 - Missing warning for diamond operator #1036

Merged
merged 3 commits into from May 9, 2023

Conversation

jarthana
Copy link
Member

@jarthana jarthana commented May 9, 2023

For method invocations, the allocation expression does not get its expected type soon enough. So, we should wait till it's available.

What it does

How to test

Author checklist

For method invocations, the allocation expression get its expected type
soon enough. So, we should wait till it's available.
@jarthana
Copy link
Member Author

jarthana commented May 9, 2023

There is some duplication of code, but given this is only two lines of code and avoiding this might involve some refactoring, I will go with this.

@jarthana jarthana merged commit eeef662 into eclipse-jdt:master May 9, 2023
9 checks passed
@jarthana jarthana deleted the bug573552 branch May 9, 2023 15:07
subyssurendran666 pushed a commit to subyssurendran666/eclipse.jdt.core that referenced this pull request Jul 18, 2023
For method invocations, the allocation expression doesn't get its expected type
soon enough. So, we should wait till it's available and report the error if applicable.
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.

None yet

1 participant