This repository has been archived by the owner on Aug 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 239
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1533 from nicuveo/ghc-9.4
Fix `ignore-exports` again on ghc-9.4
- Loading branch information
Showing
4 changed files
with
74 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
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
-- Hoogle documentation, generated by Haddock | ||
-- See Hoogle, http://www.haskell.org/hoogle/ | ||
|
||
@package test | ||
@version 0.0.0 | ||
|
||
module Bug1531 | ||
|
||
-- | This function is exported. | ||
exportedFunction :: a | ||
|
||
-- | This function isn't, but should still be included due to the presence | ||
-- of the ignore-exports pragma. | ||
internalFunction :: a |
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{-# OPTIONS_HADDOCK ignore-exports #-} | ||
|
||
module Bug1531 (exportedFunction) where | ||
|
||
-- | This function is exported. | ||
exportedFunction :: a | ||
exportedFunction = undefined | ||
|
||
-- | This function isn't, but should still be included due to the presence | ||
-- of the ignore-exports pragma. | ||
internalFunction :: a | ||
internalFunction = undefined |
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