8000 Fix: issue 2738 UnsolvedSymbolException while trying to ResolvedMethodDeclaration from MethodCallExpr by jlerbsc · Pull Request #4482 · javaparser/javaparser · GitHub
[go: up one dir, main page]

Skip to content

Conversation

jlerbsc
Copy link
Collaborator
@jlerbsc jlerbsc commented Jun 27, 2024

Fixes #2738 .

The comparison of a type variable with a bound must be made on the erased bound type.

For example if we want to compare something like "C extends Comparable" with "K extends Comparable" we have to compare the erased type of the bound.

Copy link
codecov bot commented Jun 27, 2024

Codecov Report

Attention: Patch coverage is 0% with 5 lines in your changes missing coverage. Please review.

Project coverage is 57.867%. Comparing base (111dea5) to head (28aeb86).
Report is 5 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@              Coverage Diff              @@
##            master     #4482       +/-   ##
=============================================
- Coverage   57.877%   57.867%   -0.010%     
=============================================
  Files          507       507               
  Lines        29737     29742        +5     
  Branches      5245      5246        +1     
=============================================
  Hits         17211     17211               
- Misses       10395     10400        +5     
  Partials      2131      2131               
Flag Coverage Δ
AlsoSlowTests 57.867% <0.000%> (-0.010%) ⬇️
javaparser-core 57.867% <0.000%> (-0.010%) ⬇️
javaparser-symbol-solver 57.867% <0.000%> (-0.010%) ⬇️
jdk-10 57.820% <0.000%> (-0.010%) ⬇️
jdk-11 57.834% <0.000%> (-0.010%) ⬇️
jdk-12 57.820% <0.000%> (-0.010%) ⬇️
jdk-13 57.834% <0.000%> (-0.010%) ⬇️
jdk-14 57.820% <0.000%> (-0.010%) ⬇️
jdk-15 57.834% <0.000%> (-0.010%) ⬇️
jdk-16 57.834% <0.000%> (-0.010%) ⬇️
jdk-17 57.834% <0.000%> (-0.010%) ⬇️
jdk-18 57.834% <0.000%> (-0.010%) ⬇️
jdk-8 57.836% <0.000%> (-0.010%) ⬇️
jdk-9 57.820% <0.000%> (-0.010%) ⬇️
macos-latest 57.857% <0.000%> (-0.010%) ⬇️
ubuntu-latest 57.827% <0.000%> (-0.010%) ⬇️
windows-latest 57.844% <0.000%> (-0.010%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
...parser/resolution/types/ResolvedReferenceType.java 0.000% <0.000%> (ø)
...aparser/resolution/types/ResolvedTypeVariable.java 0.000% <0.000%> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1df12b1...28aeb86. Read the comment docs.

@jlerbsc jlerbsc merged commit 36df3fc into javaparser:master Jun 27, 2024
@jlerbsc jlerbsc added this to the next release milestone Jun 27, 2024
@jlerbsc jlerbsc added the PR: Fixed A PR that offers a fix or correction label Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: Fixed A PR that offers a fix or correction

Projects

None yet

Development

Successfully merging this pull request may close these issues.

UnsolvedSymbolException while trying to ResolvedMethodDeclaration from MethodCallExpr

1 participant

0