File tree Expand file tree Collapse file tree 3 files changed +2
-5
lines changed
session-loader/Development/IDE Expand file tree Collapse file tree 3 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -924,7 +924,6 @@ newComponentCache recorder exts cradlePath _cfp hsc_env old_cis new_cis dir = do
924
924
925
925
#if MIN_VERSION_ghc(9,6,1)
926
926
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?
928
927
closure_err_to_multi_err err =
929
928
ideErrorWithSource
930
929
(Just " cradle" ) (Just DiagnosticSeverity_Warning ) _cfp
Original file line number Diff line number Diff line change @@ -70,8 +70,6 @@ hsc_typecheck keep_rn mod_summary mb_rdr_module = do
70
70
ioMsgMaybe $ hoistTcRnMessage $
71
71
tcRnMergeSignatures hsc_env hpm tc_result0 iface
72
72
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.
75
73
rn_info <- extract_renamed_stuff mod_summary tc_result
76
74
return (tc_result, rn_info)
77
75
Original file line number Diff line number Diff line change @@ -89,9 +89,9 @@ data OptHaddockParse = HaddockParse | NoHaddockParse
89
89
deriving (Eq ,Ord ,Show ,Enum )
90
90
91
91
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?
93
93
-- ^ 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?
95
95
-- ^ Errors emitted by the preprocessor.
96
96
, preprocSource :: GHC. ParsedSource
97
97
-- ^ New parse tree emitted by the preprocessor.
You can’t perform that action at this time.
0 commit comments