Skip to content

Scaffolding for persisting resolution of logic names #1191

Scaffolding for persisting resolution of logic names

Scaffolding for persisting resolution of logic names #1191

Triggered via pull request November 25, 2024 11:25
Status Failure
Total duration 32s
Artifacts

hlint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 11 warnings
hlint
HLint failed with status: 1. Warning (7), Suggestion (4)
hlint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, haskell/actions/hlint-setup@v2, haskell/actions/hlint-run@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
hlint: liquidhaskell-boot/src/Language/Haskell/Liquid/Parse.hs#L771
Suggestion in bRProp in module Language.Haskell.Liquid.Parse: Redundant bracket ▫︎ Found: "(ExprV LocSymbol)\n-> Ref τ (RTypeV LocSymbol c BTyVar (UReftV LocSymbol (ReftV LocSymbol)))" ▫︎ Perhaps: "ExprV LocSymbol\n-> Ref τ (RTypeV LocSymbol c BTyVar (UReftV LocSymbol (ReftV LocSymbol)))"
hlint: liquidhaskell-boot/src/Language/Haskell/Liquid/Parse.hs#L974
Suggestion in ppPspec in module Language.Haskell.Liquid.Parse: Use <$> ▫︎ Found: "fmap parsedToBareType $ mapDataDeclV val d" ▫︎ Perhaps: "(parsedToBareType <$> mapDataDeclV val d)"
hlint: liquidhaskell-boot/src/Language/Haskell/Liquid/Parse.hs#L976
Suggestion in ppPspec in module Language.Haskell.Liquid.Parse: Use <$> ▫︎ Found: "fmap parsedToBareType $ mapDataDeclV val d" ▫︎ Perhaps: "parsedToBareType <$> mapDataDeclV val d"
hlint: liquidhaskell-boot/src/Language/Haskell/Liquid/Types/Bounds.hs#L5
Warning in module Language.Haskell.Liquid.Types.Bounds: Unused LANGUAGE pragma ▫︎ Found: "{-# LANGUAGE DeriveFoldable #-}" ▫︎ Note: Extension DeriveFoldable is implied by DeriveTraversable
hlint: liquidhaskell-boot/src/Language/Haskell/Liquid/Types/Bounds.hs#L6
Warning in module Language.Haskell.Liquid.Types.Bounds: Unused LANGUAGE pragma ▫︎ Found: "{-# LANGUAGE DeriveFunctor #-}" ▫︎ Note: Extension DeriveFunctor is implied by DeriveTraversable
hlint: liquidhaskell-boot/src/Language/Haskell/Liquid/Types/DataDecl.hs#L10
Warning in module Language.Haskell.Liquid.Types.DataDecl: Unused LANGUAGE pragma ▫︎ Found: "{-# LANGUAGE DeriveFunctor #-}" ▫︎ Note: Extension DeriveFunctor is implied by DeriveTraversable
hlint: liquidhaskell-boot/src/Language/Haskell/Liquid/Types/DataDecl.hs#L11
Warning in module Language.Haskell.Liquid.Types.DataDecl: Unused LANGUAGE pragma ▫︎ Found: "{-# LANGUAGE DeriveFoldable #-}" ▫︎ Note: Extension DeriveFoldable is implied by DeriveTraversable
hlint: liquidhaskell-boot/src/Language/Haskell/Liquid/Types/RType.hs#L286
Warning in emapPVarVM in module Language.Haskell.Liquid.Types.RType: Use tuple-section ▫︎ Found: "((,) (s : ss))" ▫︎ Perhaps: "(s : ss,)" ▫︎ Note: may require `{-# LANGUAGE TupleSections #-}` adding to the top of the file
hlint: liquidhaskell-boot/src/Language/Haskell/Liquid/Types/RType.hs#L361
Suggestion in mapPredicateV in module Language.Haskell.Liquid.Types.RType: Use const ▫︎ Found: "\\ _ -> ()" ▫︎ Perhaps: "const ()"
hlint: liquidhaskell-boot/src/Language/Haskell/Liquid/Types/Types.hs#L3
Warning in module Language.Haskell.Liquid.Types.Types: Unused LANGUAGE pragma ▫︎ Found: "{-# LANGUAGE DeriveFunctor #-}" ▫︎ Note: Extension DeriveFunctor is implied by DeriveTraversable