Skip to content

Commit e651d41

Browse files
author
Jaro Reinders
committed
Post-rebase fixes
1 parent 5177e65 commit e651d41

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

ghcide/src/Development/IDE/Core/Compile.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ typecheckModule (IdeDefer defer) hsc tc_helpers pm = do
190190
etcm <-
191191
let
192192
-- TODO: maybe setting ms_hspp_opts is unnecessary?
193-
mod_summary' = modSummary { ms_hspp_opts = hsc_dflags session}
193+
mod_summary' = modSummary { ms_hspp_opts = hsc_dflags hscEnv}
194194
in
195195
catchSrcErrors (hsc_dflags hscEnv) sourceTypecheck $ do
196196
tcRnModule hscEnv tc_helpers $ demoteIfDefer pm{pm_mod_summary = mod_summary'}

plugins/hls-refactor-plugin/src/Development/IDE/Plugin/CodeAction.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2007,7 +2007,6 @@ smallerRangesForBindingExport lies b =
20072007
| T.unpack (printOutputable thing) == b' = []
20082008
| otherwise =
20092009
[ locA l' | L l' x <- inners, T.unpack (printOutputable x) == b']
2010-
#endif
20112010
ranges' _ = []
20122011

20132012
rangesForBinding' :: String -> LIE GhcPs -> [SrcSpan]

test/functional/Config.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ type instance RuleResult GetTestDiagnostics = ()
110110

111111
expectDiagnosticsFail
112112
:: HasCallStack
113-
=> ExpectBroken 'Ideal [(FilePath, [(DiagnosticSeverity, Cursor, T.Text)])]
114-
-> ExpectBroken 'Current [(FilePath, [(DiagnosticSeverity, Cursor, T.Text)])]
113+
=> ExpectBroken 'Ideal [(FilePath, [(DiagnosticSeverity, Cursor, T.Text, Maybe T.Text)])]
114+
-> ExpectBroken 'Current [(FilePath, [(DiagnosticSeverity, Cursor, T.Text, Maybe T.Text)])]
115115
-> Session ()
116116
expectDiagnosticsFail _ = expectDiagnostics . unCurrent

0 commit comments

Comments
 (0)