-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
11 additions
and
12 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
-- GHC 9.10.1 Compatibility | ||
module GHC.Compat where | ||
|
||
import GHC (modInfoExports, ModuleInfo) | ||
import GHC.Iface.Syntax (ShowForAllFlag (..), ShowSub (..), ShowHowMuch (..), AltPpr (..)) | ||
import GHC (ModuleInfo, modInfoExports) | ||
import GHC.Iface.Syntax (AltPpr (..), ShowForAllFlag (..), ShowHowMuch (..), ShowSub (..)) | ||
import GHC.Types.Name (OccName, nameOccName) | ||
|
||
import DumpDecls.IgnoredDeclarations | ||
|
||
mkShowSub :: ModuleInfo -> ShowSub | ||
mkShowSub mod_info = | ||
let ss_how_much = ShowSome (Just (showOcc mod_info)) (AltPpr Nothing) | ||
in ShowSub | ||
{ ss_how_much = ss_how_much | ||
, ss_forall = ShowForAllMust | ||
} | ||
in ShowSub | ||
{ ss_how_much = ss_how_much | ||
, ss_forall = ShowForAllMust | ||
} |
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