ghc-9.12.1-release #174
Annotations
1 error and 6 warnings
ghc-lib
HLint failed with status: 1. Warning (1), Suggestion (4)
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
ghc-lib:
CI.hs#L352
Warning in buildDists in module Main: Redundant bracket ▫︎ Found: "(ghcBootThGHCInternalDirExists)" ▫︎ Perhaps: "ghcBootThGHCInternalDirExists"
|
ghc-lib:
CI.hs#L353
Suggestion in buildDists in module Main: Redundant $ ▫︎ Found: "system_\n $ \"bash -c \\\"mkDir -p ghc/libraries/ghc-boot-th-internal/GHC\\\"\"" ▫︎ Perhaps: "system_\n \"bash -c \\\"mkDir -p ghc/libraries/ghc-boot-th-internal/GHC\\\"\""
|
ghc-lib:
CI.hs#L354
Suggestion in buildDists in module Main: Redundant $ ▫︎ Found: "system_\n $ \"bash -c \\\"mv ghc/libraries/ghc-boot-th/GHC/Internal ghc/libraries/ghc-boot-th-internal/GHC\\\"\"" ▫︎ Perhaps: "system_\n \"bash -c \\\"mv ghc/libraries/ghc-boot-th/GHC/Internal ghc/libraries/ghc-boot-th-internal/GHC\\\"\""
|
ghc-lib:
ghc-lib-gen/src/Ghclibgen.hs#L1407
Suggestion in generateGhcLibCabal in module Ghclibgen: Redundant bracket ▫︎ Found: "if (ghcSeries ghcFlavor >= GHC_9_10) then\n join\n [[\" if impl(ghc >= 9.10.1) && impl(ghc < 9.12.1)\"],\n [\" reexported-modules:\"],\n indent3\n (Data.List.NonEmpty.toList\n (withCommas\n (Data.List.NonEmpty.fromList\n [\"GHC.Internal.ForeignSrcLang\", \"GHC.Internal.LanguageExtensions\",\n \"GHC.Internal.Lexeme\", \"GHC.Internal.TH.Syntax\",\n \"GHC.Internal.TH.Ppr\", \"GHC.Internal.TH.PprLib\",\n \"GHC.Internal.TH.Lib.Map\"])))]\nelse\n []" ▫︎ Perhaps: "if ghcSeries ghcFlavor >= GHC_9_10 then\n join\n [[\" if impl(ghc >= 9.10.1) && impl(ghc < 9.12.1)\"],\n [\" reexported-modules:\"],\n indent3\n (Data.List.NonEmpty.toList\n (withCommas\n (Data.List.NonEmpty.fromList\n [\"GHC.Internal.ForeignSrcLang\", \"GHC.Internal.LanguageExtensions\",\n \"GHC.Internal.Lexeme\", \"GHC.Internal.TH.Syntax\",\n \"GHC.Internal.TH.Ppr\", \"GHC.Internal.TH.PprLib\",\n \"GHC.Internal.TH.Lib.Map\"])))]\nelse\n []"
|
ghc-lib:
ghc-lib-gen/src/Ghclibgen.hs#L1536
Suggestion in generateGhcLibParserCabal in module Ghclibgen: Redundant bracket ▫︎ Found: "if (ghcSeries ghcFlavor >= GHC_9_10) then\n join\n [[\" if impl(ghc >= 9.8.1) && impl(ghc < 9.12.1)\"],\n [\" hs-source-dirs:\"], [\" libraries/ghc-internal/src\"],\n [\" libraries/ghc-boot-th-internal\"],\n [\" exposed-modules:\"],\n indent3\n [\"GHC.Internal.ForeignSrcLang\", \"GHC.Internal.LanguageExtensions\",\n \"GHC.Internal.Lexeme\", \"GHC.Internal.TH.Syntax\",\n \"GHC.Internal.TH.Ppr\", \"GHC.Internal.TH.PprLib\",\n \"GHC.Internal.TH.Lib.Map\"]]\nelse\n []" ▫︎ Perhaps: "if ghcSeries ghcFlavor >= GHC_9_10 then\n join\n [[\" if impl(ghc >= 9.8.1) && impl(ghc < 9.12.1)\"],\n [\" hs-source-dirs:\"], [\" libraries/ghc-internal/src\"],\n [\" libraries/ghc-boot-th-internal\"],\n [\" exposed-modules:\"],\n indent3\n [\"GHC.Internal.ForeignSrcLang\", \"GHC.Internal.LanguageExtensions\",\n \"GHC.Internal.Lexeme\", \"GHC.Internal.TH.Syntax\",\n \"GHC.Internal.TH.Ppr\", \"GHC.Internal.TH.PprLib\",\n \"GHC.Internal.TH.Lib.Map\"]]\nelse\n []"
|
Loading