Skip to content

Commit

Permalink
Disable ambiguous-fields warning by module
Browse files Browse the repository at this point in the history
  • Loading branch information
pcapriotti committed Oct 9, 2023
1 parent e5c8baa commit d92d037
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 2 deletions.
1 change: 0 additions & 1 deletion integration/integration.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ common common-all
default-language: GHC2021
ghc-options:
-Wall -Wpartial-fields -fwarn-tabs -Wno-incomplete-uni-patterns
-Wno-ambiguous-fields

default-extensions:
NoImplicitPrelude
Expand Down
1 change: 1 addition & 0 deletions integration/test/Notifications.hs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{-# OPTIONS -Wno-ambiguous-fields #-}
module Notifications where

import API.Gundeck
Expand Down
2 changes: 1 addition & 1 deletion integration/test/Test/Client.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{-# OPTIONS_GHC -Wno-incomplete-uni-patterns #-}
{-# OPTIONS_GHC -Wno-ambiguous-fields -Wno-incomplete-uni-patterns #-}

module Test.Client where

Expand Down
1 change: 1 addition & 0 deletions integration/test/Test/Notifications.hs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{-# OPTIONS -Wno-ambiguous-fields #-}
module Test.Notifications where

import API.Common
Expand Down
1 change: 1 addition & 0 deletions integration/test/Test/Presence.hs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{-# OPTIONS -Wno-ambiguous-fields #-}
module Test.Presence where

import API.Common
Expand Down

0 comments on commit d92d037

Please sign in to comment.