Skip to content

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

Merged
zth merged 2 commits intorescript-lang:masterfrom
mediremi:fix-code-action-hang
Jul 30, 2025
Merged

Prevent infinite recursion in TypeUtils.resolveTypeForPipeCompletion by not looping over type variables#1112
zth merged 2 commits intorescript-lang:masterfrom
mediremi:fix-code-action-hang

Conversation

@mediremi
Copy link
Copy Markdown
Member

@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
Copy Markdown
Member 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