importify icon indicating copy to clipboard operation
importify copied to clipboard

[IMRF-92] Top level TemplateHaskell usages considered unused

Open chshersh opened this issue 8 years ago • 0 comments

See next example:

{-# LANGUAGE TemplateHaskell #-}

import Control.Lens (makeLenses)

data Foo = Foo { _foo :: Int }

makeLenses ''Foo

In this case makeLenses is considered unused and removed by importify. This happens because of this bug in haskell-name library: https://github.com/haskell-suite/haskell-names/issues/98

chshersh avatar Aug 11 '17 14:08 chshersh