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

Fixes Issue #3308 -- stackoverflow when resolving the FieldAccessExpr of an ArrayAccessExpr #3312

Conversation

MysterAitch
Copy link
Member

Fixes #3308

This PR inserts a new context for ArrayAccessExpr, so that the parent context is used instead of the parent node when attempting to solve.

… when solving in the context of ArrayAccessExpr nodes.
…es returned, rather than just printing them to the console
…n` is now thrown, not an `IllegalStateException`
@MysterAitch MysterAitch added the PR: Fixed A PR that offers a fix or correction label Jul 11, 2021
@MysterAitch MysterAitch added this to the next release milestone Jul 11, 2021
@MysterAitch MysterAitch merged commit d97ec44 into javaparser:master Jul 11, 2021
@MysterAitch MysterAitch deleted the issue_3308_fieldaccessexpr_stackoverflow branch July 11, 2021 20:10
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.

Analysis of FieldAccessExpr type will cause stack overflow
1 participant