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

Introduce new type mismatch quickfix for constructor invocations #3241

Merged
merged 1 commit into from
Sep 3, 2024

Conversation

hopehadfield
Copy link
Contributor

@rgrunber rgrunber added this to the End September 2024 milestone Sep 3, 2024
@rgrunber rgrunber merged commit e52c8dd into eclipse-jdtls:master Sep 3, 2024
6 checks passed
@rgrunber
Copy link
Contributor

rgrunber commented Sep 4, 2024

While debugging this earlier today, I couldn't actually hit the breakpoint for the AST rewriting part and couldn't understand why. Then I remembered https:/eclipse-jdt/eclipse.jdt.ui/blob/8b9636fdb7b639f4c8dae9e1f0bcf8db22e51965/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/java/correction/CUCorrectionProposal.java#L347-L354 😐 . Such evil code 😂

@hopehadfield
Copy link
Contributor Author

@rgrunber my most elusive bug to date

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.

be smarter on inferring types when collection type does not match
2 participants