ormolu 0.8.0.1 → 0.8.0.2
raw patch · 3 files changed
+8/−4 lines, 3 filesdep ~containersdep ~optparse-applicative
Dependency ranges changed: containers, optparse-applicative
Files
- CHANGELOG.md +6/−1
- ormolu.cabal +1/−1
- src/Ormolu/Utils/IO.hs +1/−2
CHANGELOG.md view
@@ -1,3 +1,8 @@+## Ormolu 0.8.0.2++* Fixed a performance regression introduced in 0.8.0.0. [Issue+ 1176](https://github.com/tweag/ormolu/issues/1176).+ ## Ormolu 0.8.0.1 * Correctly format edge cases where fully collapsing string gaps changes the@@ -9,7 +14,7 @@ 1166](https://github.com/tweag/ormolu/issues/1166). * Make multiline function signatures in RequiredTypeArguments consistent with- types [PR 1170](https://github.com/tweag/ormolu/pull/1170)+ types [PR 1170](https://github.com/tweag/ormolu/pull/1170). * Correctly format single-line `MultiWayIf`s. [Issue 1171](https://github.com/tweag/ormolu/issues/1171).
ormolu.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.4 name: ormolu-version: 0.8.0.1+version: 0.8.0.2 license: BSD-3-Clause license-file: LICENSE.md maintainer: Mark Karpov <mark.karpov@tweag.io>
src/Ormolu/Utils/IO.hs view
@@ -10,7 +10,6 @@ where import Control.Exception (catch, throwIO)-import Control.Monad (void) import Control.Monad.IO.Class import Data.IORef import Data.Map.Lazy (Map)@@ -67,5 +66,5 @@ Just v -> pure v Nothing -> do v <- action- void $ atomicModifyIORef cacheVar (pure . M.insert k v)+ atomicModifyIORef cacheVar ((,()) . M.insert k v) pure v