Skip to content

Eager load node processors - #1002

Merged
castwide merged 2 commits into
masterfrom
eager-load-node-processors
Jul 14, 2025
Merged

castwide merged 2 commits into
masterfrom
eager-load-node-processors

Conversation

@castwide

@castwide castwide commented Jul 13, 2025

Copy link
Copy Markdown
Owner

As noted in #970, there's a circular dependency between Convention and Parser that can cause errors in constant initialization. Specifically, it appears to be a conflict while lazy-loading and registering node processors. The quick workaround is to eager-load the ParserGem node processors after defining the root Solargraph module.

@castwide
castwide merged commit 2ea4b44 into master Jul 14, 2025
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