Skip to content

Commit 11b5c2e

Browse files
Eliminate unused LANGUAGE pragmas.
1 parent b64caa7 commit 11b5c2e

File tree

21 files changed

+2
-44
lines changed

21 files changed

+2
-44
lines changed

hie-compat/src-ghc86/Compat/HieDebug.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{-
22
Functions to validate and check .hie file ASTs generated by GHC.
33
-}
4-
{-# LANGUAGE StandaloneDeriving #-}
54
{-# LANGUAGE OverloadedStrings #-}
65
{-# LANGUAGE FlexibleContexts #-}
76
module Compat.HieDebug where

hie-compat/src-ghc86/Compat/HieTypes.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ For more information see https://gitlab.haskell.org/ghc/ghc/wikis/hie-files
55
-}
66
{-# LANGUAGE DeriveTraversable #-}
77
{-# LANGUAGE DeriveDataTypeable #-}
8-
{-# LANGUAGE TypeSynonymInstances #-}
98
{-# LANGUAGE FlexibleInstances #-}
109
{-# LANGUAGE ScopedTypeVariables #-}
1110
{-# OPTIONS_GHC -Wno-orphans #-}

hls-plugin-api/src/Ide/Types.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{-# LANGUAGE GADTs #-}
2-
{-# LANGUAGE OverloadedStrings #-}
32
{-# LANGUAGE ScopedTypeVariables #-}
43

54
module Ide.Types

plugins/default/src/Ide/Plugin/Floskell.hs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
{-# LANGUAGE RecordWildCards #-}
21
{-# LANGUAGE OverloadedStrings #-}
32
{-# LANGUAGE ScopedTypeVariables #-}
4-
{-# LANGUAGE TypeApplications #-}
5-
{-# LANGUAGE ViewPatterns #-}
63

74
module Ide.Plugin.Floskell
85
(

plugins/default/src/Ide/Plugin/Fourmolu.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1+
{-# LANGUAGE DisambiguateRecordFields #-}
12
{-# LANGUAGE LambdaCase #-}
23
{-# LANGUAGE OverloadedStrings #-}
34
{-# LANGUAGE PackageImports #-}
4-
{-# LANGUAGE RecordWildCards #-}
55
{-# LANGUAGE TypeApplications #-}
66

77
module Ide.Plugin.Fourmolu (

plugins/default/src/Ide/Plugin/Ormolu.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{-# LANGUAGE OverloadedStrings #-}
22
{-# LANGUAGE PackageImports #-}
3-
{-# LANGUAGE RecordWildCards #-}
43
{-# LANGUAGE ScopedTypeVariables #-}
54
{-# LANGUAGE TypeApplications #-}
65

plugins/hls-eval-plugin/src/Ide/Plugin/Eval/CodeLens.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
{-# LANGUAGE ExtendedDefaultRules #-}
55
{-# LANGUAGE FlexibleContexts #-}
66
{-# LANGUAGE FlexibleInstances #-}
7-
{-# LANGUAGE ImplicitParams #-}
87
{-# LANGUAGE NamedFieldPuns #-}
98
{-# LANGUAGE OverloadedStrings #-}
109
{-# LANGUAGE RankNTypes #-}

plugins/hls-eval-plugin/src/Ide/Plugin/Eval/Util.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
{-# LANGUAGE ImplicitParams #-}
21
{-# LANGUAGE ScopedTypeVariables #-}
32
{-# LANGUAGE NoMonomorphismRestriction #-}
43
{-# OPTIONS_GHC -Wno-orphans #-}

plugins/hls-explicit-imports-plugin/src/Ide/Plugin/ExplicitImports.hs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,11 @@
33
{-# LANGUAGE DeriveGeneric #-}
44
{-# LANGUAGE DerivingStrategies #-}
55
{-# LANGUAGE DuplicateRecordFields #-}
6-
{-# LANGUAGE LambdaCase #-}
76
{-# LANGUAGE NamedFieldPuns #-}
87
{-# LANGUAGE OverloadedStrings #-}
98
{-# LANGUAGE RecordWildCards #-}
109
{-# LANGUAGE ScopedTypeVariables #-}
1110
{-# LANGUAGE TypeFamilies #-}
12-
{-# LANGUAGE ViewPatterns #-}
1311

1412
#include "ghc-api-version.h"
1513

plugins/hls-hlint-plugin/src/Ide/Plugin/Hlint.hs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,7 @@
66
{-# LANGUAGE FlexibleContexts #-}
77
{-# LANGUAGE FlexibleInstances #-}
88
{-# LANGUAGE OverloadedStrings #-}
9-
{-# LANGUAGE PackageImports #-}
10-
{-# LANGUAGE RecordWildCards #-}
11-
{-# LANGUAGE TupleSections #-}
129
{-# LANGUAGE TypeFamilies #-}
13-
{-# LANGUAGE ViewPatterns #-}
1410

1511
module Ide.Plugin.Hlint
1612
(

0 commit comments

Comments
 (0)