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

Fix some "wrong type" quick fixes #558

Conversation

datho7561
Copy link

  • add arguments to the created problem
    • This is needed to get the quick fixes to show up in JDT UI
  • Fix resolveBinding(Expression) for method invocations (it now properly returns the binding for the return type)
    • This fixes the "change variable type" quickfix

- add arguments to the created problem
  - This is needed to get the quick fixes to show up in JDT UI
- Fix resolveBinding(Expression) for method invocations (it now properly
  returns the binding for the return type)
  - This fixes the "change variable type" quickfix

Signed-off-by: David Thompson <[email protected]>
@datho7561 datho7561 force-pushed the dom-with-javac-type-mismatch-quickfix branch from 87059bf to bca5308 Compare July 3, 2024 16:20
@datho7561
Copy link
Author

This seems to keep the number of DOM conversion failures constant, so I'll merge

@datho7561 datho7561 merged commit 9fb207c into eclipse-jdtls:dom-with-javac Jul 3, 2024
2 of 4 checks passed
@datho7561 datho7561 deleted the dom-with-javac-type-mismatch-quickfix branch July 3, 2024 18:06
@mickaelistria
Copy link

This last patch seems to cause 38 regressions in JDT-LS test cases: https://ci.eclipse.org/ls/job/jdt-ls-javac/161/ .

@datho7561
Copy link
Author

Seems like I'll have to add some null checks

datho7561 added a commit that referenced this pull request Jul 5, 2024
Both the "create new method" and the "add cast to method invocation"
cases should work now.

Signed-off-by: David Thompson <[email protected]>
mickaelistria pushed a commit that referenced this pull request Jul 8, 2024
Both the "create new method" and the "add cast to method invocation"
cases should work now.

Signed-off-by: David Thompson <[email protected]>
mickaelistria pushed a commit that referenced this pull request Jul 8, 2024
Both the "create new method" and the "add cast to method invocation"
cases should work now.

Signed-off-by: David Thompson <[email protected]>
mickaelistria pushed a commit that referenced this pull request Jul 15, 2024
Both the "create new method" and the "add cast to method invocation"
cases should work now.

Signed-off-by: David Thompson <[email protected]>
mickaelistria pushed a commit that referenced this pull request Jul 16, 2024
Both the "create new method" and the "add cast to method invocation"
cases should work now.

Signed-off-by: David Thompson <[email protected]>
akurtakov pushed a commit that referenced this pull request Jul 19, 2024
Both the "create new method" and the "add cast to method invocation"
cases should work now.

Signed-off-by: David Thompson <[email protected]>
mickaelistria pushed a commit that referenced this pull request Jul 25, 2024
Both the "create new method" and the "add cast to method invocation"
cases should work now.

Signed-off-by: David Thompson <[email protected]>
mickaelistria pushed a commit that referenced this pull request Jul 25, 2024
Both the "create new method" and the "add cast to method invocation"
cases should work now.

Signed-off-by: David Thompson <[email protected]>
akurtakov pushed a commit that referenced this pull request Jul 29, 2024
Both the "create new method" and the "add cast to method invocation"
cases should work now.

Signed-off-by: David Thompson <[email protected]>
akurtakov pushed a commit that referenced this pull request Aug 16, 2024
Both the "create new method" and the "add cast to method invocation"
cases should work now.

Signed-off-by: David Thompson <[email protected]>
mickaelistria pushed a commit that referenced this pull request Sep 5, 2024
Both the "create new method" and the "add cast to method invocation"
cases should work now.

Signed-off-by: David Thompson <[email protected]>
mickaelistria pushed a commit that referenced this pull request Sep 10, 2024
Both the "create new method" and the "add cast to method invocation"
cases should work now.

Signed-off-by: David Thompson <[email protected]>
mickaelistria pushed a commit that referenced this pull request Sep 18, 2024
Both the "create new method" and the "add cast to method invocation"
cases should work now.

Signed-off-by: David Thompson <[email protected]>
mickaelistria pushed a commit that referenced this pull request Sep 24, 2024
Both the "create new method" and the "add cast to method invocation"
cases should work now.

Signed-off-by: David Thompson <[email protected]>
mickaelistria pushed a commit that referenced this pull request Sep 25, 2024
Both the "create new method" and the "add cast to method invocation"
cases should work now.

Signed-off-by: David Thompson <[email protected]>
mickaelistria pushed a commit that referenced this pull request Oct 15, 2024
Both the "create new method" and the "add cast to method invocation"
cases should work now.

Signed-off-by: David Thompson <[email protected]>
rgrunber pushed a commit that referenced this pull request Oct 18, 2024
Both the "create new method" and the "add cast to method invocation"
cases should work now.

Signed-off-by: David Thompson <[email protected]>
mickaelistria pushed a commit that referenced this pull request Oct 23, 2024
Both the "create new method" and the "add cast to method invocation"
cases should work now.

Signed-off-by: David Thompson <[email protected]>
mickaelistria pushed a commit that referenced this pull request Nov 12, 2024
Both the "create new method" and the "add cast to method invocation"
cases should work now.

Signed-off-by: David Thompson <[email protected]>
mickaelistria pushed a commit that referenced this pull request Dec 5, 2024
Both the "create new method" and the "add cast to method invocation"
cases should work now.

Signed-off-by: David Thompson <[email protected]>
mickaelistria pushed a commit that referenced this pull request Dec 6, 2024
Both the "create new method" and the "add cast to method invocation"
cases should work now.

Signed-off-by: David Thompson <[email protected]>
datho7561 added a commit that referenced this pull request Dec 13, 2024
Both the "create new method" and the "add cast to method invocation"
cases should work now.

Signed-off-by: David Thompson <[email protected]>
mickaelistria pushed a commit that referenced this pull request Dec 15, 2024
Both the "create new method" and the "add cast to method invocation"
cases should work now.

Signed-off-by: David Thompson <[email protected]>
mickaelistria pushed a commit that referenced this pull request Jan 6, 2025
Both the "create new method" and the "add cast to method invocation"
cases should work now.

Signed-off-by: David Thompson <[email protected]>
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