Closed alanz closed 7 years ago
Trying to rename something in a file with
{-# ANN module ("HLint: ignore Eta reduce" :: String) #-}
results in
<- {"fail":{"msg":"rename: \"hsVisibleDsRdr nm:no match for: (L {src/Language/Haskell/LSP/Core.hs:50:1-65} (HsAnnotation \"{-# ANN\" (ModuleAnnProvenance) (L {src/Language/Haskell/LSP/Core.hs:50:16-61} (HsPar (L {src/Language/Haskell/LSP/Core.hs:50:17-60} (ExprWithTySig (L {src/Language/Haskell/LSP/Core.hs:50:17-42} (HsLit (HsString \"\\\"HLint: ignore Eta reduce\\\"\" {FastString: \"HLint: ignore Eta reduce\"}))) (HsIB (PlaceHolder) (HsWC (PlaceHolder) (Nothing) (L {src/Language/Haskell/LSP/Core.hs:50:55-60} (HsAppsTy [ (L {src/Language/Haskell/LSP/Core.hs:50:55-60} (HsAppPrefix (L {src/Language/Haskell/LSP/Core.hs:50:55-60} (HsTyVar (L {src/Language/Haskell/LSP/Core.hs:50:55-60} (Unqual {OccName: String}))))))]))))))))))\"","code":"PluginError","info":null}}
Trying to rename something in a file with
results in