File tree 4 files changed +2
-4
lines changed
ghcide/src/Development/IDE
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
166
166
diags = map errorPipeline warnings
167
167
deferedError = any fst diags
168
168
case etcm of
169
- Left errs -> return (( map snd diags) ++ errs, Nothing )
169
+ Left errs -> return (map snd diags ++ errs, Nothing )
170
170
Right tcm -> return (map snd diags, Just $ tcm{tmrDeferedError = deferedError})
171
171
where
172
172
demoteIfDefer = if defer then demoteTypeErrorsToWarnings else id
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ showAstDataHtml a0 = html $
51
51
#if MIN_VERSION_ghc(9,2,1)
52
52
| cts == empty = foo
53
53
#endif
54
- | otherwise = foo $$ (caret $ ul cts)
54
+ = foo $$ (caret $ ul cts)
55
55
body cts = tag " body" $ cts $$ tag " script" (text js)
56
56
header = tag " head" $ tag " style" $ text css
57
57
html = tag " html"
Original file line number Diff line number Diff line change 5
5
{-# LANGUAGE GADTs #-}
6
6
{-# LANGUAGE RankNTypes #-}
7
7
{-# LANGUAGE TypeFamilies #-}
8
- {-# LANGUAGE TypeSynonymInstances #-}
9
8
10
9
-- | This module hosts various abstractions and utility functions to work with ghc-exactprint.
11
10
module Development.IDE.GHC.ExactPrint
Original file line number Diff line number Diff line change 3
3
{-# LANGUAGE OverloadedStrings #-}
4
4
{-# LANGUAGE RankNTypes #-}
5
5
{-# LANGUAGE CPP #-}
6
- {-# LANGUAGE TypeSynonymInstances #-}
7
6
{-# LANGUAGE FlexibleInstances #-}
8
7
9
8
module Development.IDE.Plugin.CodeAction.ExactPrint (
You can’t perform that action at this time.
0 commit comments