SEND and FOR_ITER use the same function to count the type of failure of specialization, which should require a minor improvement to make the correct specialization fail kind appear.
For example.
Before improvement:
specialization stats for SEND family
| Failure kind |
Count |
Ratio |
| other |
27,540 |
96.6% |
| kind 13 |
980 |
3.4% |
After improvement:
specialization stats for SEND family
| Failure kind |
Count |
Ratio |
| async generator send |
24,440 |
86.5% |
| other |
3,100 |
11.0% |
| list |
700 |
2.5% |
Linked PRs