diff options
Diffstat (limited to 'compiler/main/Plugins.hs')
-rw-r--r-- | compiler/main/Plugins.hs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/compiler/main/Plugins.hs b/compiler/main/Plugins.hs index 34f3298b0d..0ad46bdb99 100644 --- a/compiler/main/Plugins.hs +++ b/compiler/main/Plugins.hs @@ -59,13 +59,13 @@ data Plugin = Plugin { -- ^ Modify the module when it is parsed. This is called by -- HscMain when the parsing is successful. , renamedResultAction :: Maybe ([CommandLineOption] -> ModSummary - -> RenamedSource -> Hsc ()) + -> RenamedSource -> TcM ()) -- ^ Installs a read-only pass that receives the renamed syntax tree as an -- argument when type checking is successful. , typeCheckResultAction :: [CommandLineOption] -> ModSummary -> TcGblEnv - -> Hsc TcGblEnv - -- ^ Modify the module when it is type checked. This is called by - -- HscMain when the type checking is successful. + -> TcM TcGblEnv + -- ^ Modify the module when it is type checked. This is called add the + -- very end of typechecking. , spliceRunAction :: [CommandLineOption] -> LHsExpr GhcTc -> TcM (LHsExpr GhcTc) -- ^ Modify the TH splice or quasiqoute before it is run. |