summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess2019-01-18 02:31:00 -0400
committerJoey Hess2019-01-18 02:31:00 -0400
commita75cab2092d47a7a46f493646b574b47957277c9 (patch)
tree87afc8d4a628708ad021d5d4ac9c84fdab215c89
parentf3b72464d48de4f0875648f17e5b6aaa1befcd90 (diff)
Avoid exposing the constructor of OuterMetaTypesWitness, to avoid the kind of mistake that led to the withOS bug.
-rw-r--r--debian/changelog2
-rw-r--r--src/Propellor/EnsureProperty.hs2
2 files changed, 3 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 7c4d2ef2..8ad70497 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -16,6 +16,8 @@ propellor (5.6.0) UNRELEASED; urgency=medium
* When bootstrapping on Debian, libghc-stm-dev may not be available,
as it's become part of ghc, so check before trying to install it.
* Fix build with ghc 8.6.3.
+ * Avoid exposing the constructor of OuterMetaTypesWitness, to avoid
+ the kind of mistake that led to the withOS bug.
-- Joey Hess <id@joeyh.name> Tue, 23 Oct 2018 11:37:16 -0400
diff --git a/src/Propellor/EnsureProperty.hs b/src/Propellor/EnsureProperty.hs
index 6c720e2b..ab624706 100644
--- a/src/Propellor/EnsureProperty.hs
+++ b/src/Propellor/EnsureProperty.hs
@@ -7,7 +7,7 @@
module Propellor.EnsureProperty
( ensureProperty
, property'
- , OuterMetaTypesWitness(..)
+ , OuterMetaTypesWitness
, Cannot_ensureProperty_WithInfo
) where