8000 Fix: solveMethodAsUsage() for implicit method <enum>::values() by Kimmmey · Pull Request #4424 · javaparser/javaparser · GitHub
[go: up one dir, main page]

Skip to content

Conversation

Kimmmey
Copy link
Contributor
@Kimmmey Kimmmey commented May 17, 2024

Hi everyone,

this pull request fixes the remaining problem mentioned in #4416 and adds a test.

Calculating the type of an expression, containing the implicit method values(), with calculateResolvedType() throws an exception.

Reason: calculateResolvedType() uses the method solveMethodAsUsage(...) and this method is not able to resolve the implicit method values().

Best regards
Kim

@jlerbsc jlerbsc merged commit 1f8ecb2 into javaparser:master May 17, 2024
@jlerbsc jlerbsc added this to the next release milestone May 17, 2024
@jlerbsc jlerbsc added the PR: Fixed A PR that offers a fix or correction label May 17, 2024
@jlerbsc
Copy link
Collaborator
jlerbsc commented May 17, 2024

Thank you for this fix.

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.

2 participants

0