On Sun, Sep 24, 2017 at 1:44 AM, Moritz Angermann < moritz.angerm...@gmail.com> wrote:
> can we detect annotations like `{-# ANN module "HLint: ignore Reduce > duplication" #-}` easily? > Right now this will result (without -fexternal-interpreter or a stage2 > compiler) in > > Ignoring ANN annotation, because this is a stage-1 compiler without > -fexternal-interpreter or doesn't support GHCi > > However, I do not see why this should require the external interpreter at > all. This looks to me > more like an informational comment? > As I understand it, ANNotations are intended for use with ghc plugins; hlint's use of them is not *quite* an abuse, since it is relying on haskell-src-exts handling of them rather than ghc's. -- brandon s allbery kf8nh sine nomine associates allber...@gmail.com ballb...@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
_______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs