Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BugFix: do not insert breakpoints around expressions with unlifted kind
I have added a check, and while there removed a few kludges in my code. Kudos to -dcore-lint for uncovering this. I think that this restriction could be lifted, if GHC.Base.breakpoint could have kind ?? -> ??. But is this a legal type? Does not look so to me.
- Loading branch information
1 parent
26680ca
commit 402cb6d
Showing
2 changed files
with
48 additions
and
41 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,6 +52,8 @@ import Util | |
import Bag | ||
import Outputable | ||
import FastString | ||
import Data.Maybe | ||
\end{code} | ||
|
||
|
||
|