Skip to content

Commit a7cb24e

Browse files
hasufellfendor
authored andcommitted
Fix cabal check on record dot plugin
1 parent af8e288 commit a7cb24e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugins/hls-overloaded-record-dot-plugin/hls-overloaded-record-dot-plugin.cabal

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ common warnings
2222
ghc-options: -Wall
2323

2424
library
25+
import: warnings
2526
if impl(ghc < 9.2)
2627
buildable: False
2728
else
2829
buildable: True
29-
import: warnings
3030
exposed-modules: Ide.Plugin.OverloadedRecordDot
3131
build-depends:
3232
, base >=4.16 && <5
@@ -46,11 +46,11 @@ library
4646
default-language: GHC2021
4747

4848
test-suite tests
49+
import: warnings
4950
if impl(ghc < 9.2)
5051
buildable: False
5152
else
5253
buildable: True
53-
import: warnings
5454
default-language: GHC2021
5555
type: exitcode-stdio-1.0
5656
hs-source-dirs: test

0 commit comments

Comments
 (0)