Skip to content
Snippets Groups Projects
Commit 24d373a6 authored by Matthew Craven's avatar Matthew Craven Committed by Marge Bot
Browse files

Add interface-stability test for ghc-prim

parent 915a6781
No related branches found
No related tags found
No related merge requests found
......@@ -6,10 +6,19 @@ utility to dump all exported declarations of all exposed modules for the
following packages:
* `base`
* `ghc-experimental`
* `template-haskell`
* `ghc-prim`
These are compared against the expected exports in the test's corresponding
`.stdout` file.
Stability expectations vary between these packages: Changes to the
interface of `base` normally need a [CLC proposal](https://github.com/haskell/core-libraries-committee).
The interfaces for the other packages listed are tracked primarily to
prevent _accidental_ changes to them when making changes in
`ghc-internal`, from which they re-export many things.
## Updating expected output
......
......@@ -10,3 +10,4 @@ def check_package(pkg_name):
check_package('base')
check_package('ghc-experimental')
check_package('template-haskell')
check_package('ghc-prim')
This diff is collapsed.
This diff is collapsed.
......@@ -71,8 +71,7 @@ ignoredModules =
]
where
unstableModules =
[ "GHC.Prim"
, "GHC.Conc.POSIX"
[ "GHC.Conc.POSIX"
, "GHC.Conc.IO"
]
platformDependentModules =
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment