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
For example, applying "Redundant $" clears the first line of the file, so #!/usr/bin/env cabal is removed.
Before:
#!/usr/bin/env cabal
{- cabal:
build-depends: base
-}
main :: IO ()
main = print $ "test"
After:
{- cabal:
build-depends: base
-}
main :: IO ()
main = print "test"
This can be reproduced on refactor --version v0.13.0.0 with ghc 9.4.4 by running hlint Test.hs --serialise > hlint-refactor refactor Test.hs --refact-file hlint-refactor
with hlint-refactor containing
For example, applying "Redundant $" clears the first line of the file, so
#!/usr/bin/env cabal
is removed.Before:
After:
This can be reproduced on
refactor --version
v0.13.0.0 with ghc 9.4.4 by runninghlint Test.hs --serialise > hlint-refactor
refactor Test.hs --refact-file hlint-refactor
with
hlint-refactor
containingLooks related to this issue
The text was updated successfully, but these errors were encountered: