Skip to content

Commit fd9faec

Browse files
Hlint nubOrd. Update ignore annotation to point to correct function.
This block of code that uses nub used to be part of main. But it got split off into a new function called runIde, and the hlint annotation was not updated to match.
1 parent b31e69a commit fd9faec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ghcide/exe/Main.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ runIde dir Arguments{..} hiedb hiechan = do
267267

268268
unless (null failed) (exitWith $ ExitFailure (length failed))
269269

270-
{-# ANN main ("HLint: ignore Use nubOrd" :: String) #-}
270+
{-# ANN runIde ("HLint: ignore Use nubOrd" :: String) #-}
271271

272272
expandFiles :: [FilePath] -> IO [FilePath]
273273
expandFiles = concatMapM $ \x -> do

0 commit comments

Comments
 (0)