@@ -47,7 +47,7 @@ common warnings
47
47
-fno-ignore-asserts
48
48
49
49
library
50
- default-language : Haskell2010
50
+ default-language : GHC2021
51
51
build-depends :
52
52
, aeson
53
53
, array
@@ -123,24 +123,11 @@ library
123
123
build-depends : unix
124
124
125
125
default-extensions :
126
- BangPatterns
127
126
DataKinds
128
- DeriveFoldable
129
- DeriveFunctor
130
- DeriveGeneric
131
- DeriveTraversable
132
- FlexibleContexts
133
- GeneralizedNewtypeDeriving
134
- KindSignatures
127
+ ExplicitNamespaces
135
128
LambdaCase
136
- NamedFieldPuns
137
129
OverloadedStrings
138
130
RecordWildCards
139
- ScopedTypeVariables
140
- StandaloneDeriving
141
- TupleSections
142
- TypeApplications
143
- TypeOperators
144
131
ViewPatterns
145
132
146
133
hs-source-dirs : src session-loader
@@ -249,7 +236,7 @@ flag test-exe
249
236
250
237
executable ghcide-test-preprocessor
251
238
import : warnings
252
- default-language : Haskell2010
239
+ default-language : GHC2021
253
240
hs-source-dirs : test/preprocessor
254
241
ghc-options : -Wno-name-shadowing
255
242
main-is : Main.hs
@@ -264,7 +251,7 @@ flag executable
264
251
265
252
executable ghcide
266
253
import : warnings
267
- default-language : Haskell2010
254
+ default-language : GHC2021
268
255
hs-source-dirs : exe
269
256
ghc-options : -threaded -rtsopts "-with-rtsopts=-I0 -A128M -T" -Wno-name-shadowing
270
257
@@ -291,19 +278,9 @@ executable ghcide
291
278
292
279
autogen-modules : Paths_ghcide
293
280
default-extensions :
294
- BangPatterns
295
- DeriveFunctor
296
- DeriveGeneric
297
- FlexibleContexts
298
- GeneralizedNewtypeDeriving
299
281
LambdaCase
300
- NamedFieldPuns
301
282
OverloadedStrings
302
283
RecordWildCards
303
- ScopedTypeVariables
304
- StandaloneDeriving
305
- TupleSections
306
- TypeApplications
307
284
ViewPatterns
308
285
309
286
if !flag(executable)
@@ -319,7 +296,7 @@ executable ghcide
319
296
test-suite ghcide-tests
320
297
import : warnings
321
298
type : exitcode-stdio-1.0
322
- default-language : Haskell2010
299
+ default-language : GHC2021
323
300
build-tool-depends :
324
301
, ghcide :ghcide
325
302
, ghcide :ghcide-test-preprocessor
@@ -420,17 +397,7 @@ test-suite ghcide-tests
420
397
421
398
-- Tests that have been pulled out of the main file
422
399
default-extensions :
423
- BangPatterns
424
- DeriveFunctor
425
- DeriveGeneric
426
- FlexibleContexts
427
- GeneralizedNewtypeDeriving
428
400
LambdaCase
429
- NamedFieldPuns
430
401
OverloadedStrings
431
402
RecordWildCards
432
- ScopedTypeVariables
433
- StandaloneDeriving
434
- TupleSections
435
- TypeApplications
436
403
ViewPatterns
0 commit comments