haddock icon indicating copy to clipboard operation
haddock copied to clipboard

hlint CI chokes on `MIN_VERSION_ghc(9,5,0)` (?)

Open andreasabel opened this issue 2 years ago • 2 comments
trafficstars

https://github.com/haskell/haddock/blob/a75c08f885207fafbd5dec5bc061cf2f81a7f268/haddock-api/src/Haddock/InterfaceFile.hs#L126 https://github.com/haskell/haddock/actions/runs/4457586699/jobs/7828749016#step:4:14

hlint: #error Unsupported GHC version
  in haddock-api/src/Haddock/InterfaceFile.hs  at line 132 col 1
  CallStack (from HasCallStack):
    error, called at ./Language/Preprocessor/Cpphs/CppIfdef.hs:113:21 in cpphs-1.20.9.1:Language.Preprocessor.Cpphs.CppIfdef
  hlint completed with status code 1

First failing hlint CI run on main: commit e8fe591fecf626fe4540ed666d147c61728c890f

  • #1518

Is this an upstream issue? (Latest hlint, 3.5, is used.)

andreasabel avatar Mar 30 '23 08:03 andreasabel

This appears to be related to https://github.com/ndmitchell/hlint/issues/1442

Kleidukos avatar Mar 30 '23 08:03 Kleidukos

Ping @philderbeast .

andreasabel avatar Mar 30 '23 17:03 andreasabel