Skip to content

HLint doesn't report "Unused LANGUAGE pragma" #2042

Closed
@georgefst

Description

@georgefst

File contains just:

{-# LANGUAGE BangPatterns #-}

HLS reports no warnings. HLint 3.2.7 on the command line says:

haskell/Main.hs:1:1-29: Warning: Unused LANGUAGE pragma
Found:
  {-# LANGUAGE BangPatterns #-}
Perhaps you should remove it.

Odd. Is HLS intentionally disabling these hints for some reason?

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: hls-hlint-plugintype: bugSomething isn't right: doesn't work as intended, documentation is missing/outdated, etc..

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions