Skip to content

fix deadloop when visit ElvisOperatorExpression#102

Open
cosven wants to merge 1 commit into
GroovyLanguageServer:masterfrom
cosven:fix-elvis
Open

fix deadloop when visit ElvisOperatorExpression#102
cosven wants to merge 1 commit into
GroovyLanguageServer:masterfrom
cosven:fix-elvis

Conversation

@cosven
Copy link
Copy Markdown

@cosven cosven commented May 19, 2025

Before, the visitShortTernaryExpression method pushes the node to the stack, and the visitShortTernaryExpression method pushes the node to the stack again. Then the node's parent is the node itself. It causes deadloop in getParent method.

trustytrojan added a commit to trustytrojan/groovy-language-server that referenced this pull request May 27, 2026
Prevent `groovy-all:jar` dependency from breaking resolution
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.

1 participant