File tree Expand file tree Collapse file tree 4 files changed +2
-4
lines changed
ghcide/src/Development/IDE Expand file tree Collapse file tree 4 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ typecheckModule (IdeDefer defer) hsc keep_lbls pm = do
166166 diags = map errorPipeline warnings
167167 deferedError = any fst diags
168168 case etcm of
169- Left errs -> return (( map snd diags) ++ errs, Nothing )
169+ Left errs -> return (map snd diags ++ errs, Nothing )
170170 Right tcm -> return (map snd diags, Just $ tcm{tmrDeferedError = deferedError})
171171 where
172172 demoteIfDefer = if defer then demoteTypeErrorsToWarnings else id
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ showAstDataHtml a0 = html $
5151#if MIN_VERSION_ghc(9,2,1)
5252 | cts == empty = foo
5353#endif
54- | otherwise = foo $$ (caret $ ul cts)
54+ = foo $$ (caret $ ul cts)
5555 body cts = tag " body" $ cts $$ tag " script" (text js)
5656 header = tag " head" $ tag " style" $ text css
5757 html = tag " html"
Original file line number Diff line number Diff line change 55{-# LANGUAGE GADTs #-}
66{-# LANGUAGE RankNTypes #-}
77{-# LANGUAGE TypeFamilies #-}
8- {-# LANGUAGE TypeSynonymInstances #-}
98
109-- | This module hosts various abstractions and utility functions to work with ghc-exactprint.
1110module Development.IDE.GHC.ExactPrint
Original file line number Diff line number Diff line change 33{-# LANGUAGE OverloadedStrings #-}
44{-# LANGUAGE RankNTypes #-}
55{-# LANGUAGE CPP #-}
6- {-# LANGUAGE TypeSynonymInstances #-}
76{-# LANGUAGE FlexibleInstances #-}
87
98module Development.IDE.Plugin.CodeAction.ExactPrint (
You can’t perform that action at this time.
0 commit comments