ghc-8.2.0.20170404: The GHC API

Safe HaskellNone
LanguageHaskell2010

CoreLint (signature[?])

Contents

Synopsis

Documentation

lintAnnots :: SDoc -> (ModGuts -> CoreM ModGuts) -> ModGuts -> CoreM ModGuts Source #

This checks whether a pass correctly looks through debug annotations (SourceNote). This works a bit different from other consistency checks: We check this by running the given task twice, noting all differences between the results.

Debug output