Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not initiate nested probe within
assemble_probe
.
In particular, the table entries (associated with type-variables created during the probe) must persist as long as the candidates assembled during the probe. If you make a nested probe without creating a nested `ProbeContext`, the table entries are popped at the end of the nested probe, while the type-variables would leak out via the assembled candidates attached to `self` (the outer `ProbeContext`). This causes an ICE (*if you are lucky*)!
- Loading branch information