Open
Description
Your environment
Which OS do you use? NixOS
Which version of GHC do you use and how did you install it? GHC-9.10 using haskell.nix
How is your project built (alternative: link to the project)? cabal-install
Which LSP client (editor/plugin) do you use? emacs+lsp-mode
Which version of HLS do you use and how did you install it? 2.11.0.0, built from source from 4c7e56a
Have you configured HLS in any way (especially: a hie.yaml
file)? no
Steps to reproduce
{-# LANGUAGE DeriveAnyClass #-}
module Repro where
foo = 123
Expected behaviour
The warning should be associated to the module header
Actual behaviour
The warning is associated to the LANGUAGE pragma