From a75cab2092d47a7a46f493646b574b47957277c9 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 18 Jan 2019 02:31:00 -0400 Subject: Avoid exposing the constructor of OuterMetaTypesWitness, to avoid the kind of mistake that led to the withOS bug. --- debian/changelog | 2 ++ src/Propellor/EnsureProperty.hs | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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 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 -- cgit v1.2.3