-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid ghc bug that causes an infinite loop
A more restricitve constraint with a redundant associated type family constraint causes GHC to generate code that goes into an infinite loop. This depicts iteslf in an OOM when compiled with `-O0` and non terminating computaton when compiled with optimizations. Here is the bug report on the GHC issue tracker: https://gitlab.haskell.org/ghc/ghc/-/issues/21973
- Loading branch information
Showing
2 changed files
with
15 additions
and
9 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 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