Skip to content

Prevent infinite recursion in TypeUtils.resolveTypeForPipeCompletion by not looping over type variables #1112

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

Merged
merged 2 commits into from
Jul 30, 2025

Conversation

mediremi
Copy link
Contributor

@mediremi mediremi commented Jul 30, 2025

Backport of rescript-lang/rescript#7731

I've tested this fix on a local v11 project where analysis codeAction will hang without the fix and exists fine with the fix applied.

@mediremi mediremi marked this pull request as ready for review July 30, 2025 12:36
@mediremi
Copy link
Contributor Author

ping @zth

@zth zth self-requested a review July 30, 2025 12:39
@zth zth merged commit 9e64c73 into rescript-lang:master Jul 30, 2025
6 checks passed
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