@@ -47,7 +47,7 @@ common test-defaults
47
47
-rtsopts
48
48
-with-rtsopts=-N
49
49
50
- if impl(ghc >= 9.8 )
50
+ if impl(ghc >= 9.8 )
51
51
-- We allow using partial functions in tests
52
52
ghc-options : -Wno-x-partial
53
53
@@ -153,7 +153,7 @@ test-suite hls-cabal-fmt-plugin-tests
153
153
haskell-language-server :hls-cabal-fmt-plugin,
154
154
hls-test-utils == 2.8.0.0 ,
155
155
156
- if flag(isolateCabalfmtTests )
156
+ if flag(isolatecabalfmttests )
157
157
build-tool-depends : cabal-fmt :cabal-fmt ^>= 0.1.6
158
158
cpp-options : -Dhls_isolate_cabalfmt_tests
159
159
@@ -209,7 +209,7 @@ test-suite hls-cabal-gild-plugin-tests
209
209
haskell-language-server :hls-cabal-gild-plugin,
210
210
hls-test-utils == 2.8.0.0 ,
211
211
212
- if flag(isolateCabalGildTests )
212
+ if flag(isolatecabalgildtests )
213
213
build-tool-depends : cabal-gild :cabal-gild ^>= 1.1
214
214
cpp-options : -Dhls_isolate_cabalgild_tests
215
215
@@ -371,14 +371,14 @@ flag callHierarchy
371
371
manual : True
372
372
373
373
common callHierarchy
374
- if flag(callHierarchy )
374
+ if flag(callhierarchy )
375
375
build-depends : haskell-language-server :hls-call-hierarchy-plugin
376
376
cpp-options : -Dhls_callHierarchy
377
377
378
378
library hls-call-hierarchy-plugin
379
379
import : defaults, pedantic, warnings
380
380
381
- if !flag(callHierarchy )
381
+ if !flag(callhierarchy )
382
382
buildable : False
383
383
exposed-modules : Ide.Plugin.CallHierarchy
384
384
other-modules :
@@ -405,7 +405,7 @@ library hls-call-hierarchy-plugin
405
405
test-suite hls-call-hierarchy-plugin-tests
406
406
import : defaults, pedantic, test-defaults, warnings
407
407
408
- if !flag(callHierarchy )
408
+ if !flag(callhierarchy )
409
409
buildable : False
410
410
type : exitcode-stdio-1.0
411
411
hs-source-dirs : plugins/hls-call-hierarchy-plugin/test
@@ -511,7 +511,7 @@ test-suite hls-eval-plugin-tests
511
511
-- import lens plugin
512
512
-----------------------------
513
513
common importLens
514
- if flag(importLens )
514
+ if flag(importlens )
515
515
build-depends : haskell-language-server :hls-explicit-imports-plugin
516
516
cpp-options : -Dhls_importLens
517
517
@@ -778,14 +778,14 @@ flag stan
778
778
manual : True
779
779
780
780
common stan
781
- if flag(stan)&& (impl(ghc > 8.8.1 )&& impl(ghc <= 9.2.3 )|| impl(ghc >= 9.4.0 )&& impl(ghc < 9.10.0 ))
781
+ if flag(stan) && (impl(ghc > 8.8.1 ) && impl(ghc <= 9.2.3 ) || impl(ghc >= 9.4.0 ) && impl(ghc < 9.10.0 ))
782
782
build-depends : haskell-language-server :hls-stan-plugin
783
783
cpp-options : -Dhls_stan
784
784
785
785
library hls-stan-plugin
786
786
import : defaults, pedantic, warnings
787
787
788
- if flag(stan)&& (impl(ghc > 8.8.1 )&& impl(ghc <= 9.2.3 )|| impl(ghc >= 9.4.0 )&& impl(ghc < 9.10.0 ))
788
+ if flag(stan) && (impl(ghc > 8.8.1 ) && impl(ghc <= 9.2.3 ) || impl(ghc >= 9.4.0 ) && impl(ghc < 9.10.0 ))
789
789
buildable : True
790
790
else
791
791
buildable : False
@@ -815,7 +815,7 @@ library hls-stan-plugin
815
815
test-suite hls-stan-plugin-tests
816
816
import : defaults, pedantic, test-defaults, warnings
817
817
818
- if flag(stan)&& (impl(ghc > 8.8.1 )&& impl(ghc <= 9.2.3 )|| impl(ghc >= 9.4.0 )&& impl(ghc < 9.10.0 ))
818
+ if flag(stan) && (impl(ghc > 8.8.1 ) && impl(ghc <= 9.2.3 ) || impl(ghc >= 9.4.0 ) && impl(ghc < 9.10.0 ))
819
819
buildable : True
820
820
else
821
821
buildable : False
@@ -845,7 +845,7 @@ flag moduleName
845
845
manual : True
846
846
847
847
common moduleName
848
- if flag(moduleName )
848
+ if flag(modulename )
849
849
build-depends : haskell-language-server :hls-module-name-plugin
850
850
cpp-options : -Dhls_moduleName
851
851
@@ -1000,14 +1000,14 @@ flag alternateNumberFormat
1000
1000
manual : True
1001
1001
1002
1002
common alternateNumberFormat
1003
- if flag(alternateNumberFormat )
1003
+ if flag(alternatenumberformat )
1004
1004
build-depends : haskell-language-server :hls-alternate-number-format-plugin
1005
1005
cpp-options : -Dhls_alternateNumberFormat
1006
1006
1007
1007
library hls-alternate-number-format-plugin
1008
1008
import : defaults, pedantic, warnings
1009
1009
1010
- if !flag(alternateNumberFormat )
1010
+ if !flag(alternatenumberformat )
1011
1011
buildable : False
1012
1012
exposed-modules :
1013
1013
Ide.Plugin.AlternateNumberFormat
@@ -1038,7 +1038,7 @@ library hls-alternate-number-format-plugin
1038
1038
test-suite hls-alternate-number-format-plugin-tests
1039
1039
import : defaults, pedantic, test-defaults, warnings
1040
1040
1041
- if !flag(alternateNumberFormat )
1041
+ if !flag(alternatenumberformat )
1042
1042
buildable : False
1043
1043
type : exitcode-stdio-1.0
1044
1044
hs-source-dirs : plugins/hls-alternate-number-format-plugin/test
@@ -1068,14 +1068,14 @@ flag qualifyImportedNames
1068
1068
manual : True
1069
1069
1070
1070
common qualifyImportedNames
1071
- if flag(qualifyImportedNames )
1071
+ if flag(qualifyimportednames )
1072
1072
build-depends : haskell-language-server :hls-qualify-imported-names-plugin
1073
1073
cpp-options : -Dhls_qualifyImportedNames
1074
1074
1075
1075
library hls-qualify-imported-names-plugin
1076
1076
import : defaults, pedantic, warnings
1077
1077
1078
- if !flag(qualifyImportedNames )
1078
+ if !flag(qualifyimportednames )
1079
1079
buildable : False
1080
1080
exposed-modules : Ide.Plugin.QualifyImportedNames
1081
1081
hs-source-dirs : plugins/hls-qualify-imported-names-plugin/src
@@ -1096,7 +1096,7 @@ library hls-qualify-imported-names-plugin
1096
1096
test-suite hls-qualify-imported-names-plugin-tests
1097
1097
import : defaults, pedantic, test-defaults, warnings
1098
1098
1099
- if !flag(qualifyImportedNames )
1099
+ if !flag(qualifyimportednames )
1100
1100
buildable : False
1101
1101
type : exitcode-stdio-1.0
1102
1102
hs-source-dirs : plugins/hls-qualify-imported-names-plugin/test
@@ -1117,14 +1117,14 @@ flag codeRange
1117
1117
manual : True
1118
1118
1119
1119
common codeRange
1120
- if flag(codeRange )
1120
+ if flag(coderange )
1121
1121
build-depends : haskell-language-server :hls-code-range-plugin
1122
1122
cpp-options : -Dhls_codeRange
1123
1123
1124
1124
library hls-code-range-plugin
1125
1125
import : defaults, pedantic, warnings
1126
1126
1127
- if !flag(codeRange )
1127
+ if !flag(coderange )
1128
1128
buildable : False
1129
1129
exposed-modules :
1130
1130
Ide.Plugin.CodeRange
@@ -1152,7 +1152,7 @@ library hls-code-range-plugin
1152
1152
test-suite hls-code-range-plugin-tests
1153
1153
import : defaults, pedantic, test-defaults, warnings
1154
1154
1155
- if !flag(codeRange )
1155
+ if !flag(coderange )
1156
1156
buildable : False
1157
1157
type : exitcode-stdio-1.0
1158
1158
hs-source-dirs : plugins/hls-code-range-plugin/test
@@ -1182,14 +1182,14 @@ flag changeTypeSignature
1182
1182
manual : True
1183
1183
1184
1184
common changeTypeSignature
1185
- if flag(changeTypeSignature )
1185
+ if flag(changetypesignature )
1186
1186
build-depends : haskell-language-server :hls-change-type-signature-plugin
1187
1187
cpp-options : -Dhls_changeTypeSignature
1188
1188
1189
1189
library hls-change-type-signature-plugin
1190
1190
import : defaults, pedantic, warnings
1191
1191
1192
- if !flag(changeTypeSignature )
1192
+ if !flag(changetypesignature )
1193
1193
buildable : False
1194
1194
exposed-modules : Ide.Plugin.ChangeTypeSignature
1195
1195
hs-source-dirs : plugins/hls-change-type-signature-plugin/src
@@ -1213,7 +1213,7 @@ library hls-change-type-signature-plugin
1213
1213
test-suite hls-change-type-signature-plugin-tests
1214
1214
import : defaults, pedantic, test-defaults, warnings
1215
1215
1216
- if !flag(changeTypeSignature )
1216
+ if !flag(changetypesignature )
1217
1217
buildable : False
1218
1218
type : exitcode-stdio-1.0
1219
1219
hs-source-dirs : plugins/hls-change-type-signature-plugin/test
@@ -1293,14 +1293,14 @@ flag explicitFixity
1293
1293
manual : True
1294
1294
1295
1295
common explicitFixity
1296
- if flag(explicitFixity )
1296
+ if flag(explicitfixity )
1297
1297
build-depends : haskell-language-server :hls-explicit-fixity-plugin
1298
1298
cpp-options : -DexplicitFixity
1299
1299
1300
1300
library hls-explicit-fixity-plugin
1301
1301
import : defaults, pedantic, warnings
1302
1302
1303
- if !flag(explicitFixity )
1303
+ if !flag(explicitfixity )
1304
1304
buildable : False
1305
1305
exposed-modules : Ide.Plugin.ExplicitFixity
1306
1306
hs-source-dirs : plugins/hls-explicit-fixity-plugin/src
@@ -1320,7 +1320,7 @@ library hls-explicit-fixity-plugin
1320
1320
test-suite hls-explicit-fixity-plugin-tests
1321
1321
import : defaults, pedantic, test-defaults, warnings
1322
1322
1323
- if !flag(explicitFixity )
1323
+ if !flag(explicitfixity )
1324
1324
buildable : False
1325
1325
type : exitcode-stdio-1.0
1326
1326
hs-source-dirs : plugins/hls-explicit-fixity-plugin/test
@@ -1341,14 +1341,14 @@ flag explicitFields
1341
1341
manual : True
1342
1342
1343
1343
common explicitFields
1344
- if flag(explicitFields )
1344
+ if flag(explicitfields )
1345
1345
build-depends : haskell-language-server :hls-explicit-record-fields-plugin
1346
1346
cpp-options : -DexplicitFields
1347
1347
1348
1348
library hls-explicit-record-fields-plugin
1349
1349
import : defaults, pedantic, warnings
1350
1350
1351
- if !flag(explicitFields )
1351
+ if !flag(explicitfields )
1352
1352
buildable : False
1353
1353
exposed-modules : Ide.Plugin.ExplicitFields
1354
1354
build-depends :
@@ -1372,7 +1372,7 @@ library hls-explicit-record-fields-plugin
1372
1372
test-suite hls-explicit-record-fields-plugin-tests
1373
1373
import : defaults, pedantic, test-defaults, warnings
1374
1374
1375
- if !flag(explicitFields )
1375
+ if !flag(explicitfields )
1376
1376
buildable : False
1377
1377
type : exitcode-stdio-1.0
1378
1378
hs-source-dirs : plugins/hls-explicit-record-fields-plugin/test
@@ -1393,14 +1393,14 @@ flag overloadedRecordDot
1393
1393
manual : True
1394
1394
1395
1395
common overloadedRecordDot
1396
- if flag(overloadedRecordDot )
1396
+ if flag(overloadedrecorddot )
1397
1397
build-depends : haskell-language-server :hls-overloaded-record-dot-plugin
1398
1398
cpp-options : -Dhls_overloaded_record_dot
1399
1399
1400
1400
library hls-overloaded-record-dot-plugin
1401
1401
import : defaults, pedantic, warnings
1402
1402
1403
- if !flag(overloadedRecordDot )
1403
+ if !flag(overloadedrecorddot )
1404
1404
buildable : False
1405
1405
exposed-modules : Ide.Plugin.OverloadedRecordDot
1406
1406
build-depends :
@@ -1422,7 +1422,7 @@ library hls-overloaded-record-dot-plugin
1422
1422
test-suite hls-overloaded-record-dot-plugin-tests
1423
1423
import : defaults, pedantic, test-defaults, warnings
1424
1424
1425
- if !flag(overloadedRecordDot )
1425
+ if !flag(overloadedrecorddot )
1426
1426
buildable : False
1427
1427
type : exitcode-stdio-1.0
1428
1428
hs-source-dirs : plugins/hls-overloaded-record-dot-plugin/test
@@ -1595,14 +1595,14 @@ flag stylishHaskell
1595
1595
manual : True
1596
1596
1597
1597
common stylishHaskell
1598
- if flag(stylishHaskell )
1598
+ if flag(stylishhaskell )
1599
1599
build-depends : haskell-language-server :hls-stylish-haskell-plugin
1600
1600
cpp-options : -Dhls_stylishHaskell
1601
1601
1602
1602
library hls-stylish-haskell-plugin
1603
1603
import : defaults, pedantic, warnings
1604
1604
1605
- if !flag(stylishHaskell )
1605
+ if !flag(stylishhaskell )
1606
1606
buildable : False
1607
1607
exposed-modules : Ide.Plugin.StylishHaskell
1608
1608
hs-source-dirs : plugins/hls-stylish-haskell-plugin/src
@@ -1621,7 +1621,7 @@ library hls-stylish-haskell-plugin
1621
1621
test-suite hls-stylish-haskell-plugin-tests
1622
1622
import : defaults, pedantic, test-defaults, warnings
1623
1623
1624
- if !flag(stylishHaskell )
1624
+ if !flag(stylishhaskell )
1625
1625
buildable : False
1626
1626
type : exitcode-stdio-1.0
1627
1627
hs-source-dirs : plugins/hls-stylish-haskell-plugin/test
@@ -1749,14 +1749,14 @@ flag semanticTokens
1749
1749
manual : True
1750
1750
1751
1751
common semanticTokens
1752
- if flag(semanticTokens )
1752
+ if flag(semantictokens )
1753
1753
build-depends : haskell-language-server :hls-semantic-tokens-plugin
1754
1754
cpp-options : -Dhls_semanticTokens
1755
1755
1756
1756
library hls-semantic-tokens-plugin
1757
1757
import : defaults, pedantic, warnings
1758
1758
1759
- if !flag(semanticTokens )
1759
+ if !flag(semantictokens )
1760
1760
buildable : False
1761
1761
exposed-modules :
1762
1762
Ide.Plugin.SemanticTokens
@@ -1799,7 +1799,7 @@ library hls-semantic-tokens-plugin
1799
1799
test-suite hls-semantic-tokens-plugin-tests
1800
1800
import : defaults, pedantic, test-defaults, warnings
1801
1801
1802
- if !flag(semanticTokens )
1802
+ if !flag(semantictokens )
1803
1803
buildable : False
1804
1804
type : exitcode-stdio-1.0
1805
1805
hs-source-dirs : plugins/hls-semantic-tokens-plugin/test
@@ -1888,10 +1888,10 @@ test-suite hls-notes-plugin-tests
1888
1888
----------------------------
1889
1889
library
1890
1890
import :
1891
+ -- plugins
1891
1892
defaults
1892
1893
, warnings
1893
1894
, pedantic
1894
- -- plugins
1895
1895
, cabal
1896
1896
, callHierarchy
1897
1897
, cabalfmt
@@ -1971,7 +1971,7 @@ executable haskell-language-server
1971
1971
if flag(pedantic)
1972
1972
ghc-options : -Werror
1973
1973
1974
- if !os(windows)&& flag(dynamic)
1974
+ if !os(windows) && flag(dynamic)
1975
1975
-- We want to link against the dyn rts just like official GHC binaries do;
1976
1976
-- the linked rts determines how external libs are loaded dynamically by TH.
1977
1977
-- The standard way of doing this is via the --enable-dynamic-executables Cabal option
@@ -2196,7 +2196,7 @@ test-suite ghcide-tests
2196
2196
text-rope,
2197
2197
unordered-containers,
2198
2198
2199
- if impl(ghc < 9.3 )
2199
+ if impl(ghc < 9.3 )
2200
2200
build-depends : ghc-typelits-knownnat
2201
2201
hs-source-dirs : ghcide/test/exe
2202
2202
ghc-options :
0 commit comments