stylish-haskell 0.6.3.0 → 0.6.4.0
raw patch · 4 files changed
+11/−2 lines, 4 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGELOG +4/−0
- lib/Language/Haskell/Stylish/Parse.hs +0/−1
- stylish-haskell.cabal +1/−1
- tests/Language/Haskell/Stylish/Parse/Tests.hs +6/−0
CHANGELOG view
@@ -1,5 +1,9 @@ # CHANGELOG +- 0.6.4.0+ * Remove `XmlSyntax` from whitelisted language extensions, since it was+ causing parsing errors+ - 0.6.3.0 * Bump `optparse-applicative` to 0.13.0.0 * Export Import options & add a default
lib/Language/Haskell/Stylish/Parse.hs view
@@ -29,7 +29,6 @@ , H.PatternGuards , H.StandaloneDeriving , H.UnicodeSyntax- , H.XmlSyntax ]
stylish-haskell.cabal view
@@ -1,5 +1,5 @@ Name: stylish-haskell-Version: 0.6.3.0+Version: 0.6.4.0 Synopsis: Haskell code prettifier Homepage: https://github.com/jaspervdj/stylish-haskell License: BSD3
tests/Language/Haskell/Stylish/Parse/Tests.hs view
@@ -26,6 +26,7 @@ , testCase "KindSignatures extension" testKindSignatures , testCase "StandalonDeriving extension" testStandaloneDeriving , testCase "UnicodeSyntax extension" testUnicodeSyntax+ , testCase "XmlSyntax regression" testXmlSyntaxRegression ] --------------------------------------------------------------------------------@@ -112,6 +113,11 @@ [ "module Main where" , "monadic ∷ (Monad m) ⇒ m a → m a" , "monadic = id"+ ]++testXmlSyntaxRegression :: Assertion+testXmlSyntaxRegression = assert $ isRight $ parseModule [] Nothing $ unlines+ [ "smaller a b = a <b" ] --------------------------------------------------------------------------------