Skip to content

Commit 6f4c1e4

Browse files
committed
Remove cpp to compat package to make pre-commit happy
1 parent 1f154a5 commit 6f4c1e4

File tree

2 files changed

+2
-1
lines changed
  • ghcide/src/Development/IDE/GHC/Compat
  • plugins/hls-class-plugin/src/Ide/Plugin/Class

2 files changed

+2
-1
lines changed

ghcide/src/Development/IDE/GHC/Compat/Core.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -496,6 +496,7 @@ module Development.IDE.GHC.Compat.Core (
496496
# if !MIN_VERSION_ghc(9,5,0)
497497
field_label,
498498
#endif
499+
groupOrigin,
499500
) where
500501

501502
import qualified GHC

plugins/hls-class-plugin/src/Ide/Plugin/Class/CodeLens.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ codeLens state plId CodeLensParams{..} = pluginResponse $ do
101101
-- that are nonsense for displaying code lenses.
102102
--
103103
-- See https://github.com/haskell/haskell-language-server/issues/3319
104-
| not $ isGenerated (matchOrigin fun_matches)
104+
| not $ isGenerated (groupOrigin fun_matches)
105105
-> Just $ L l fun_id
106106
_ -> Nothing
107107
-- Existed signatures' name

0 commit comments

Comments
 (0)