Skip to content

Commit

Permalink
Take care of comilation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
lehins committed Oct 26, 2021
1 parent cebce4c commit 9b283cc
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
3 changes: 3 additions & 0 deletions cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,9 @@ package cardano-ledger-test
package cardano-protocol-tpraos
ghc-options: -Werror

package compact-map
ghc-options: -Werror

package non-integral
ghc-options: -Werror

Expand Down
6 changes: 3 additions & 3 deletions libs/compact-map/compact-map.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@ test-suite tests
type: exitcode-stdio-1.0
default-language: Haskell2010
build-depends: base
, containers
-- , containers
, tasty
, tasty-expected-failure
-- , tasty-expected-failure
, tasty-quickcheck
, tasty-hunit
-- , tasty-hunit
, compact-map
, QuickCheck
ghc-options: -threaded
3 changes: 0 additions & 3 deletions libs/compact-map/src/Data/Compact/KeyMap.hs
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,6 @@ import Prettyprinter
import qualified Prettyprinter.Internal as Pretty
import System.Random (RandomGen, genWord64, mkStdGen)

-- import Debug.Trace

-- type PArray = PA.Array
type PArray = Small.SmallArray

-- | Show 'n' as a binary number with most significant bits on the left.
Expand Down
1 change: 1 addition & 0 deletions libs/compact-map/test/Test/Compact/KeyMap.hs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{-# OPTIONS_GHC -Wno-orphans #-}
module Test.Compact.KeyMap where

import Data.Compact.KeyMap as KeyMap
Expand Down

0 comments on commit 9b283cc

Please sign in to comment.