Ignoring ANN Module "HLint: ..."

Moritz Angermann moritz.angermann at gmail.com
Sun Sep 24 05:44:39 UTC 2017


Hi *,

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?

Cheers,
 Moritz


More information about the ghc-devs mailing list