File tree Expand file tree Collapse file tree
lib/Language/Haskell/Stylish Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2626
2727- 0.14.6.0 (2024-01-19)
2828 * #471 Support GHC 9.8 (by Michael Peyton Jones)
29- * #440 Fix dissappearing `DEPRECATED` pragma on module (by Lev Dvorkin)
29+ * #440 Fix disappearing `DEPRECATED` pragma on module (by Lev Dvorkin)
3030 * #464 Fix compilation issue with GHC 9.4
3131
3232- 0.14.5.0 (2023-06-23)
5757- 0.14.0.0 (2022-03-16)
5858 * Port to GHC 9.2 AST (by jaspervdj)
5959 * Case insensitive import sort (by vlatkoB)
60- * Fix issue with dissappearing GADT kind signatures (by Łukasz Gołębiewski)
60+ * Fix issue with disappearing GADT kind signatures (by Łukasz Gołębiewski)
6161
6262- 0.13.0.0 (2021-09-15)
6363 * Don't remove ticks on promoted data types (by Jim McStanton)
Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ moduleImportGroups =
8484 groupByLine (fromMaybe err . GHC. srcSpanToRealSrcSpan . GHC. getLocA) .
8585 GHC. hsmodImports . GHC. unLoc
8686 where
87- err = error " moduleImportGroups: import without soure span"
87+ err = error " moduleImportGroups: import without source span"
8888
8989-- The same logic as 'Language.Haskell.Stylish.Module.moduleImportGroups'.
9090groupByLine :: (a -> RealSrcSpan ) -> [a ] -> [NonEmpty a ]
Original file line number Diff line number Diff line change @@ -51,8 +51,8 @@ tests = testGroup "Language.Haskell.Stylish.Printer.ModuleHeader"
5151 , testCase " Group doc with 2 spaces" ex15
5252 , testCase " Group doc with 2 spaces, open_bracket = same_line" ex15a
5353 , testCase " Does not sort" ex16
54- , testCase " Repects separate_lists" ex17
55- , testCase " Repects separate_lists, open_bracket = same_line" ex17a
54+ , testCase " Respects separate_lists" ex17
55+ , testCase " Respects separate_lists, open_bracket = same_line" ex17a
5656 , testCase " Indents absent export list with always break_where" ex18
5757 , testCase " Respects bundled patterns" ex19
5858 , testCase " Respects bundled patterns, open_bracket = same_line" ex19a
You can’t perform that action at this time.
0 commit comments