Commit 8057ded
authored
Prevent infinite recursion in
* Limit TypeUtils.resolveTypeForPipeCompletion to 10 recursive calls to prevent infinite loops
* Add CHANGELOG entry
* Add comment explaining why TypeUtils.resolveTypeForPipeCompletion enforces a maximum iteration count and add TODO about fixing the root of the issue
* Prevent infinite recursion in TypeUtils.resolveTypeForPipeCompletion by not looping over type variablesTypeUtils.resolveTypeForPipeCompletion by not looping over type variables (rescript-lang#7731)1 parent b70e6ad commit 8057ded
2 files changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
539 | 539 | | |
540 | 540 | | |
541 | 541 | | |
| 542 | + | |
542 | 543 | | |
543 | 544 | | |
544 | 545 | | |
| |||
0 commit comments