This repository was archived by the owner on Apr 1, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -73,8 +73,11 @@ common dependencies
7373common executable-flags
7474 ghc-options : -threaded -rtsopts "-with-rtsopts=-N -A4m -n2m"
7575
76+ common ghc-warnings
77+ ghc-options : -Wall -Wmissing-export-lists -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints -Wno-name-shadowing
78+
7679library
77- import : haskell, dependencies
80+ import : haskell, dependencies, ghc-warnings
7881 hs-source-dirs : src
7982 exposed-modules :
8083 -- Analyses & term annotations
@@ -321,7 +324,6 @@ library
321324 , tree-sitter-typescript ^>= 0.1.0.0
322325 , tree-sitter-tsx ^>= 0.1.0.0
323326 , tree-sitter-java ^>= 0.1.0.0
324- ghc-options : -Wall -Wmissing-export-lists -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints -fno-warn-name-shadowing
325327 if flag(release)
326328 cpp-options : -DCOMPUTE_GIT_SHA
327329 else
@@ -337,10 +339,9 @@ executable semantic
337339 , semantic
338340
339341test-suite test
340- import : haskell, dependencies, executable-flags
342+ import : haskell, dependencies, executable-flags, ghc-warnings
341343 type : exitcode-stdio-1.0
342344 hs-source-dirs : test
343- ghc-options : -Wunused-imports
344345 main-is : Spec.hs
345346 other-modules : Analysis.Go.Spec
346347 , Analysis.PHP.Spec
You can’t perform that action at this time.
0 commit comments