Commit 3d88e899 authored by Edward Z. Yang's avatar Edward Z. Yang

s/FrontendMerge/FrontendInterface/g

Signed-off-by: default avatarEdward Z. Yang <ezyang@cs.stanford.edu>
parent 2d1a563b
...@@ -609,7 +609,7 @@ genericHscFrontend mod_summary = ...@@ -609,7 +609,7 @@ genericHscFrontend mod_summary =
genericHscFrontend' :: ModSummary -> Hsc FrontendResult genericHscFrontend' :: ModSummary -> Hsc FrontendResult
genericHscFrontend' mod_summary genericHscFrontend' mod_summary
| ms_hsc_src mod_summary == HsBootMerge | ms_hsc_src mod_summary == HsBootMerge
= FrontendMerge `fmap` hscMergeFrontEnd mod_summary = FrontendInterface `fmap` hscMergeFrontEnd mod_summary
| otherwise | otherwise
= FrontendTypecheck `fmap` hscFileFrontEnd mod_summary = FrontendTypecheck `fmap` hscFileFrontEnd mod_summary
...@@ -662,7 +662,7 @@ hscIncrementalCompile always_do_basic_recompilation_check m_tc_result ...@@ -662,7 +662,7 @@ hscIncrementalCompile always_do_basic_recompilation_check m_tc_result
ms_hsc_src mod_summary == HsSrcFile ms_hsc_src mod_summary == HsSrcFile
then finish hsc_env mod_summary tc_result mb_old_hash then finish hsc_env mod_summary tc_result mb_old_hash
else finishTypecheckOnly hsc_env mod_summary tc_result mb_old_hash else finishTypecheckOnly hsc_env mod_summary tc_result mb_old_hash
FrontendMerge raw_iface -> FrontendInterface raw_iface ->
finishMerge hsc_env mod_summary raw_iface mb_old_hash finishMerge hsc_env mod_summary raw_iface mb_old_hash
liftIO $ hscMaybeWriteIface dflags (hm_iface hmi) no_change mod_summary liftIO $ hscMaybeWriteIface dflags (hm_iface hmi) no_change mod_summary
return (status, hmi) return (status, hmi)
......
...@@ -341,7 +341,7 @@ data DsMetaVal ...@@ -341,7 +341,7 @@ data DsMetaVal
-- to have a TcGblEnv which is only defined here. -- to have a TcGblEnv which is only defined here.
data FrontendResult data FrontendResult
= FrontendTypecheck TcGblEnv = FrontendTypecheck TcGblEnv
| FrontendMerge ModIface | FrontendInterface ModIface
-- | 'TcGblEnv' describes the top-level of the module at the -- | 'TcGblEnv' describes the top-level of the module at the
-- point at which the typechecker is finished work. -- point at which the typechecker is finished work.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment