Skip to content

Commit

Permalink
disable role annotations warning
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-martin committed Mar 1, 2024
1 parent 8d27be8 commit 4ffda57
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions graphula.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ library
ghc-options: -Wno-missing-safe-haskell-mode -Wno-prepositive-qualified-module
if impl(ghc < 8.6)
ghc-options: -Wno-redundant-constraints
if impl(ghc >= 9.8)
ghc-options: -Wno-missing-role-annotations

test-suite readme
type: exitcode-stdio-1.0
Expand Down Expand Up @@ -96,6 +98,8 @@ test-suite readme
ghc-options: -Wno-missing-safe-haskell-mode -Wno-prepositive-qualified-module
if impl(ghc < 8.6)
ghc-options: -Wno-redundant-constraints
if impl(ghc >= 9.8)
ghc-options: -Wno-missing-role-annotations
if impl(ghc >= 8.8)
ghc-options: -Wno-missing-deriving-strategies
if flag(persistent-template)
Expand Down
3 changes: 3 additions & 0 deletions package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ when:
- condition: impl(ghc < 8.6)
ghc-options:
- -Wno-redundant-constraints
- condition: impl(ghc >= 9.8)
ghc-options:
- -Wno-missing-role-annotations

dependencies:
- base < 5
Expand Down

0 comments on commit 4ffda57

Please sign in to comment.