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

Cbrentharris/undo refaactor of anonymous class to lambda #338

Conversation

cbrentharris
Copy link
Contributor

Create defined class to perform analysis within thread
When refactoring from an Anonymous class to a lambda, an infinite
recursion occured because each analysis was required to then
fork and create a new analysis when it was done because it defined
a new anonymous class.

This PR simply defines the class specifically to avoid it analyzing
itself. A follow up should be to filter anonymous classes unrelated
to parseq

Testing done -- brought it into local repository that was seeing stackoverflow
and no longer see it.

cbrentharris and others added 2 commits October 17, 2023 14:10
When refactoring from an Anonymous class to a lambda, an infinite
recursion occured because each analysis was required to then
fork and create a new analysis when it was done because it defined
a new anonymous class.

This PR simply defines the class specifically to avoid it analyzing
itself. A follow up should be to filter anonymous classes unrelated
to parseq
Copy link
Contributor

@zackthehuman zackthehuman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for catching this one.

@zackthehuman zackthehuman merged commit 48c91b9 into linkedin:master Oct 17, 2023
1 check passed
cbrentharris added a commit to cbrentharris/parseq that referenced this pull request Oct 17, 2023
Create defined class to perform analysis within thread (linkedin#338)
cbrentharris added a commit to cbrentharris/parseq that referenced this pull request Oct 17, 2023
Create defined class to perform analysis within thread (linkedin#338)
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