Changes between Version 3 and Version 4 of ExtendedPluginsProposal


Ignore:
Timestamp:
Feb 5, 2018 2:21:44 AM (19 months ago)
Author:
lazac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ExtendedPluginsProposal

    v3 v4  
    2121    -- ^ Modify the module when it is parsed. This is called by
    2222    -- HscMain when the parsing is successful.
    23   , needsRenamedSyntax :: [CommandLineOption] -> ModSummary -> Hsc Bool
    24     -- ^ Tell the compilation pipeline if this plugin needs to the
    25     -- renamed version of the syntax tree. If True is returned, the
    26     -- TcGblEnv is guaranteed to contain the renamed sources.
     23  , renamedResultAction :: Maybe ([CommandLineOption] -> ModSummary
     24                                    -> RenamedSource -> Hsc ())
     25    -- ^ Installs a read-only pass that receives the renamed syntax tree as an
     26    -- argument when type checking is successful.
    2727  , typeCheckResultAction :: [CommandLineOption] -> ModSummary -> TcGblEnv
    2828                               -> Hsc TcGblEnv