Skip to content

Commit

Permalink
Disable ambiguous field warnings in specific modules.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanknowles authored and erikd committed Mar 16, 2023
1 parent b2c8224 commit a35288c
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 0 deletions.
Expand Up @@ -15,6 +15,9 @@
{-# OPTIONS_GHC -fno-warn-orphans #-}
{- HLINT ignore "Use camelCase" -}

-- TODO: https://input-output.atlassian.net/browse/ADP-2841
{-# OPTIONS_GHC -fno-warn-ambiguous-fields #-}

module Cardano.CoinSelection.BalanceSpec
( spec
, MockAssessTokenBundleSize
Expand Down
3 changes: 3 additions & 0 deletions lib/wallet/api/http/Cardano/Wallet/Api/Http/Shelley/Server.hs
Expand Up @@ -20,6 +20,9 @@

{-# HLINT ignore "Use record patterns" #-}

-- TODO: https://input-output.atlassian.net/browse/ADP-2841
{-# OPTIONS_GHC -fno-warn-ambiguous-fields #-}

-- |
-- Copyright: © 2018-2020 IOHK
-- License: Apache-2.0
Expand Down
3 changes: 3 additions & 0 deletions lib/wallet/src/Cardano/Wallet/DB/Pure/Implementation.hs
Expand Up @@ -17,6 +17,9 @@
{-# LANGUAGE TupleSections #-}
{-# LANGUAGE UndecidableInstances #-}

-- TODO: https://input-output.atlassian.net/browse/ADP-2841
{-# OPTIONS_GHC -fno-warn-ambiguous-fields #-}

-- |
-- Copyright: © 2018-2020 IOHK
-- License: Apache-2.0
Expand Down
3 changes: 3 additions & 0 deletions lib/wallet/src/Cardano/Wallet/Write/Tx/Balance.hs
Expand Up @@ -11,6 +11,9 @@

{- HLINT ignore "Use ||" -}

-- TODO: https://input-output.atlassian.net/browse/ADP-2841
{-# OPTIONS_GHC -fno-warn-ambiguous-fields #-}

module Cardano.Wallet.Write.Tx.Balance where

import Prelude
Expand Down
3 changes: 3 additions & 0 deletions lib/wallet/test/unit/Cardano/Pool/DB/Arbitrary.hs
Expand Up @@ -8,6 +8,9 @@

{-# OPTIONS_GHC -fno-warn-orphans #-}

-- TODO: https://input-output.atlassian.net/browse/ADP-2841
{-# OPTIONS_GHC -fno-warn-ambiguous-fields #-}

module Cardano.Pool.DB.Arbitrary
( MultiPoolCertificateSequence (..)
, getMultiPoolCertificateSequence
Expand Down
3 changes: 3 additions & 0 deletions lib/wallet/test/unit/Cardano/Wallet/DB/Properties.hs
Expand Up @@ -16,6 +16,9 @@

{-# OPTIONS_GHC -fno-warn-unused-imports #-}

-- TODO: https://input-output.atlassian.net/browse/ADP-2841
{-# OPTIONS_GHC -fno-warn-ambiguous-fields #-}

module Cardano.Wallet.DB.Properties
( properties
) where
Expand Down
Expand Up @@ -24,6 +24,9 @@

{-# OPTIONS_GHC -fno-warn-orphans #-}

-- TODO: https://input-output.atlassian.net/browse/ADP-2841
{-# OPTIONS_GHC -fno-warn-ambiguous-fields #-}

module Cardano.Wallet.Shelley.TransactionSpec (spec) where

import Prelude
Expand Down

0 comments on commit a35288c

Please sign in to comment.