Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check for definedness of callframe.code when creating error message
This fixes #2222. The "non-dwimmy hyperop" hint uses callframe(…).code.name to detect if it recurses. In some cases callframe.code is Mu (unknown file) which leads to an error looking up .name. Inserting `andthen` solves this.
- Loading branch information
Showing
1 changed file
with
3 additions
and
3 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