Skip to content

Commit ae50843

Browse files
committed
Dispatch TODOs, amend remaining TODOs as future work
1 parent c4d5edd commit ae50843

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

ghcide/session-loader/Development/IDE/Session.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -924,7 +924,6 @@ newComponentCache recorder exts cradlePath _cfp hsc_env old_cis new_cis dir = do
924924

925925
#if MIN_VERSION_ghc(9,6,1)
926926
let closure_errs = maybeToList $ checkHomeUnitsClosed' (hsc_unit_env hscEnv') (hsc_all_home_unit_ids hscEnv')
927-
-- TODO: Is this the right thing to do here, to produce an error for each DriverMessage generated?
928927
closure_err_to_multi_err err =
929928
ideErrorWithSource
930929
(Just "cradle") (Just DiagnosticSeverity_Warning) _cfp

ghcide/src/Development/IDE/GHC/Compat/Driver.hs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,6 @@ hsc_typecheck keep_rn mod_summary mb_rdr_module = do
7070
ioMsgMaybe $ hoistTcRnMessage $
7171
tcRnMergeSignatures hsc_env hpm tc_result0 iface
7272
else return tc_result0
73-
-- TODO are we extracting anything when we merely instantiate a signature?
74-
-- If not, try to move this into the "else" case above.
7573
rn_info <- extract_renamed_stuff mod_summary tc_result
7674
return (tc_result, rn_info)
7775

ghcide/src/Development/IDE/Types/Options.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,9 @@ data OptHaddockParse = HaddockParse | NoHaddockParse
8989
deriving (Eq,Ord,Show,Enum)
9090

9191
data IdePreprocessedSource = IdePreprocessedSource
92-
{ preprocWarnings :: [(GHC.SrcSpan, String)] -- TODO: Make these warnings structured as well
92+
{ preprocWarnings :: [(GHC.SrcSpan, String)] -- TODO: Future work could we make these warnings structured as well?
9393
-- ^ Warnings emitted by the preprocessor.
94-
, preprocErrors :: [(GHC.SrcSpan, String)] -- TODO: Make these errors structured as well
94+
, preprocErrors :: [(GHC.SrcSpan, String)] -- TODO: Future work could we make these errors structured as well?
9595
-- ^ Errors emitted by the preprocessor.
9696
, preprocSource :: GHC.ParsedSource
9797
-- ^ New parse tree emitted by the preprocessor.

0 commit comments

Comments
 (0)