Skip to content

Commit

Permalink
Fix Hlint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
fendor committed Aug 30, 2021
1 parent e8c16c1 commit 37c2f65
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
12 changes: 11 additions & 1 deletion ghcide/.hlint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,16 @@
- Development.IDE.Core.Rules
- Development.IDE.Core.Tracing
- Development.IDE.GHC.Compat
- Development.IDE.GHC.Compat.Core
- Development.IDE.GHC.Compat.Env
- Development.IDE.GHC.Compat.Iface
- Development.IDE.GHC.Compat.Logger
- Development.IDE.GHC.Compat.Outputable
- Development.IDE.GHC.Compat.Parser
- Development.IDE.GHC.Compat.Plugins
- Development.IDE.GHC.Compat.Units
- Development.IDE.GHC.Compat.Util
- Development.IDE.GHC.CPP
- Development.IDE.GHC.ExactPrint
- Development.IDE.GHC.Orphans
- Development.IDE.GHC.Util
Expand All @@ -112,7 +122,7 @@
- flags:
- default: false
- {name: [-Wno-missing-signatures, -Wno-orphans, -Wno-overlapping-patterns, -Wno-incomplete-patterns, -Wno-missing-fields, -Wno-unused-matches]}
- {name: [-Wno-dodgy-imports,-Wno-incomplete-uni-patterns], within: [Main, Development.IDE.GHC.Compat, Development.Benchmark.Rules]}
- {name: [-Wno-dodgy-imports,-Wno-incomplete-uni-patterns], within: [Main, Development.IDE.GHC.Compat, Development.IDE.GHC.Compat.Core, Development.Benchmark.Rules]}
- {name: [-Wno-deprecations, -Wno-unticked-promoted-constructors], within: [Main, Experiments]}
# - modules:
# - {name: [Data.Set, Data.HashSet], as: Set} # if you import Data.Set qualified, it must be as 'Set'
Expand Down
3 changes: 0 additions & 3 deletions ghcide/src/Development/IDE/GHC/CPP.hs
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@
-- SPDX-License-Identifier: Apache-2.0

{-# LANGUAGE CPP #-}
{-# LANGUAGE MultiWayIf #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE NondecreasingIndentation #-}
{-# OPTIONS_GHC -Wno-incomplete-uni-patterns #-}

-----------------------------------------------------------------------------
--
Expand Down
1 change: 1 addition & 0 deletions ghcide/src/Development/IDE/GHC/Compat/Core.hs
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ module Development.IDE.GHC.Compat.Core (
#if MIN_VERSION_ghc(8,8,0)
eqTyCon,
#endif
eqTyCon_RDR,
isTupleTyCon,
-- * Class
Class(..),
Expand Down

0 comments on commit 37c2f65

Please sign in to comment.