diff options
| author | Joey Hess <joeyh@joeyh.name> | 2017-03-18 20:13:46 -0400 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2017-03-18 20:13:46 -0400 |
| commit | 18344c44c4e91a9dfd8ce6aebc3821c460cdfec9 (patch) | |
| tree | e124b2238cc7b64e0a18aa15e102ba35144bed92 | |
| parent | 4ceba4a8c007c9a5c4692c5425114139b47aecdf (diff) | |
Fix build with pre-AMP ghc.
| -rw-r--r-- | src/Propellor/EnsureProperty.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Propellor/EnsureProperty.hs b/src/Propellor/EnsureProperty.hs index badc7293..ad74bfa8 100644 --- a/src/Propellor/EnsureProperty.hs +++ b/src/Propellor/EnsureProperty.hs @@ -46,7 +46,7 @@ ensureProperty => OuterMetaTypesWitness outer -> Property (MetaTypes inner) -> Propellor Result -ensureProperty _ = maybe (pure NoChange) catchPropellor . getSatisfy +ensureProperty _ = maybe (return NoChange) catchPropellor . getSatisfy -- The name of this was chosen to make type errors a bit more understandable. type family Cannot_ensureProperty_WithInfo (l :: [a]) :: Bool |
