@@ -47,7 +47,7 @@ common warnings
4747 -fno-ignore-asserts
4848
4949library
50- default-language : Haskell2010
50+ default-language : GHC2021
5151 build-depends :
5252 , aeson
5353 , array
@@ -123,24 +123,11 @@ library
123123 build-depends : unix
124124
125125 default-extensions :
126- BangPatterns
127126 DataKinds
128- DeriveFoldable
129- DeriveFunctor
130- DeriveGeneric
131- DeriveTraversable
132- FlexibleContexts
133- GeneralizedNewtypeDeriving
134- KindSignatures
127+ ExplicitNamespaces
135128 LambdaCase
136- NamedFieldPuns
137129 OverloadedStrings
138130 RecordWildCards
139- ScopedTypeVariables
140- StandaloneDeriving
141- TupleSections
142- TypeApplications
143- TypeOperators
144131 ViewPatterns
145132
146133 hs-source-dirs : src session-loader
@@ -249,7 +236,7 @@ flag test-exe
249236
250237executable ghcide-test-preprocessor
251238 import : warnings
252- default-language : Haskell2010
239+ default-language : GHC2021
253240 hs-source-dirs : test/preprocessor
254241 ghc-options : -Wno-name-shadowing
255242 main-is : Main.hs
@@ -264,7 +251,7 @@ flag executable
264251
265252executable ghcide
266253 import : warnings
267- default-language : Haskell2010
254+ default-language : GHC2021
268255 hs-source-dirs : exe
269256 ghc-options : -threaded -rtsopts "-with-rtsopts=-I0 -A128M -T" -Wno-name-shadowing
270257
@@ -291,19 +278,9 @@ executable ghcide
291278
292279 autogen-modules : Paths_ghcide
293280 default-extensions :
294- BangPatterns
295- DeriveFunctor
296- DeriveGeneric
297- FlexibleContexts
298- GeneralizedNewtypeDeriving
299281 LambdaCase
300- NamedFieldPuns
301282 OverloadedStrings
302283 RecordWildCards
303- ScopedTypeVariables
304- StandaloneDeriving
305- TupleSections
306- TypeApplications
307284 ViewPatterns
308285
309286 if !flag(executable)
@@ -319,7 +296,7 @@ executable ghcide
319296test-suite ghcide-tests
320297 import : warnings
321298 type : exitcode-stdio-1.0
322- default-language : Haskell2010
299+ default-language : GHC2021
323300 build-tool-depends :
324301 , ghcide :ghcide
325302 , ghcide :ghcide-test-preprocessor
@@ -420,17 +397,7 @@ test-suite ghcide-tests
420397
421398 -- Tests that have been pulled out of the main file
422399 default-extensions :
423- BangPatterns
424- DeriveFunctor
425- DeriveGeneric
426- FlexibleContexts
427- GeneralizedNewtypeDeriving
428400 LambdaCase
429- NamedFieldPuns
430401 OverloadedStrings
431402 RecordWildCards
432- ScopedTypeVariables
433- StandaloneDeriving
434- TupleSections
435- TypeApplications
436403 ViewPatterns
0 commit comments