From b3d9db9fe8f53489eb8e3907e43bb155d39f8817 Mon Sep 17 00:00:00 2001 From: Marco Perone Date: Tue, 11 Jul 2023 09:55:15 +0200 Subject: [PATCH] no do error on unticked promoted constructors --- examples/Crem/Example/Cart/Shipping.hs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/Crem/Example/Cart/Shipping.hs b/examples/Crem/Example/Cart/Shipping.hs index 2dfd0af..85260cd 100644 --- a/examples/Crem/Example/Cart/Shipping.hs +++ b/examples/Crem/Example/Cart/Shipping.hs @@ -7,6 +7,8 @@ {-# OPTIONS_GHC -Wno-missing-deriving-strategies #-} -- https://downloads.haskell.org/ghc/latest/docs/users_guide/using-warnings.html#ghc-flag--Wredundant-constraints {-# OPTIONS_GHC -Wno-redundant-constraints #-} +-- https://downloads.haskell.org/ghc/latest/docs/users_guide/using-warnings.html#ghc-flag--Wunticked-promoted-constructors +{-# OPTIONS_GHC -Wno-unticked-promoted-constructors #-} -- https://downloads.haskell.org/ghc/latest/docs/users_guide/using-warnings.html#ghc-flag--Wunused-type-patterns {-# OPTIONS_GHC -Wno-unused-type-patterns #-}