You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, using hls-hlint-plugin an user has detected that apply "eta reduce" removes the identation of a where block, making the code throw parser errors
PS D:\dev\ws\haskell\cabal-test> cat .\src\HlintTests.hs
module HlintTests where
f :: String -> String
f x = show x
where y :: String
y = "foo"
PS D:\dev\ws\haskell\cabal-test> hlint .\src\HlintTests.hs --refactor
module HlintTests where
f :: String -> String
f = show
where
y = "foo" y :: String
PS D:\dev\ws\haskell\cabal-test> hlint --version
HLint v3.2.1, (C) Neil Mitchell 2006-2020
PS D:\dev\ws\haskell\cabal-test> refactor --version
v0.8.2.1
Thanks in advance.
The text was updated successfully, but these errors were encountered:
Thanks for reporting the bug! It's fixed in #96. If you'd like a release now please let me know; otherwise I'll make a release after closing #91, #93 and #95, hopefully in the next few days.
Hi, using hls-hlint-plugin an user has detected that apply "eta reduce" removes the identation of a where block, making the code throw parser errors
Thanks in advance.
The text was updated successfully, but these errors were encountered: