Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
It is possible that the bind control record is in a stack segment prior to the one that a frame is allocated in. In code that recurses enough to trigger multiple stack segments, this situation may occur, and could lead to multiple dispatch of candidates with `where` clauses and similar wrongly reporting an error instead of continuing to the next candidate.
- Loading branch information
Showing
1 changed file
with
4 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This looks a bit questionable. If
under_us
really can become NULL, theunder_us->kind
condition after the loop will segfault. So either the if statement needs aunder_us &&
or theunder_us &&
in the while loop can be removed.